JuliaGPU / JuliaGPU/buildkite

Podman support

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
24
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Tested with the Intel runner, `podman` seems to work fine with the following service:

```
[Unit]
Description=Buildkite agent %i
After=podman.service network-online.target
Requires=podman.service home.mount
Wants=network-online.target
PartOf=podman.service

StartLimitIntervalSec=0

[Service]
Type=simple
WorkingDirectory=/etc/buildkite/agents/%i
TimeoutStartSec=30min
ExecStartPre=/usr/bin/flock /tmp/buildkite.lock /usr/bin/git fetch
ExecStartPre=/usr/bin/flock /tmp/buildkite.lock /usr/bin/git reset --hard origin/main
ExecStartPre=/usr/bin/podman compose build
ExecStart=/usr/bin/podman compose up --force-recreate --exit-code-from buildkite

Restart=always
RestartSec=1s

StandardOutput=null

[Install]
WantedBy=multi-user.target
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.