bump forgejo-runner

This commit is contained in:
Finn 2024-03-24 11:34:51 -07:00
parent ffafbcb331
commit ab93bb3c2c

View file

@ -7,7 +7,7 @@ Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
TimeoutStopSec=70
ExecStartPre=/bin/rm -f %t/forgejo-runner.service.pid %t/forgejo-runner.service.ctr-id
ExecStartPre=-/usr/bin/podman pull code.forgejo.org/forgejo/runner:3.3.0
ExecStartPre=-/usr/bin/podman pull code.forgejo.org/forgejo/runner:3.4.1
ExecStart=/usr/bin/podman run \
--cidfile=%t/%n.ctr-id \
--cgroups=no-conmon \
@ -22,7 +22,7 @@ ExecStart=/usr/bin/podman run \
-v /run/podman/podman.sock:/run/podman/podman.sock \
-v /etc/forgejo-runner:/etc/forgejo-runner:ro \
-v /opt/shared-with-host:/opt/shared-with-host \
-v /var/forgejo-runner:/data code.forgejo.org/forgejo/runner:3.3.0 forgejo-runner daemon \
-v /var/forgejo-runner:/data code.forgejo.org/forgejo/runner:3.4.1 forgejo-runner daemon \
-c /etc/forgejo-runner/config.yaml
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/forgejo-runner.service.ctr-id -t 10
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/forgejo-runner.service.ctr-id