mirror of https://code.forgejo.org/forgejo/runner
Merge pull request 'Update Tests to Latest Release' (#404) from Merith-TK/runner:bug-tests-fail into main
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/404 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>pull/407/head
commit
5fef70c653
|
@ -51,7 +51,7 @@ services:
|
|||
- 8080:3000
|
||||
|
||||
runner-register:
|
||||
image: code.forgejo.org/forgejo/runner:3.4.1
|
||||
image: code.forgejo.org/forgejo/runner:5.0.4
|
||||
links:
|
||||
- docker-in-docker
|
||||
- forgejo
|
||||
|
@ -68,6 +68,7 @@ services:
|
|||
done ;
|
||||
sed -i -e "s|\"labels\": null|\"labels\": [\"docker:docker://code.forgejo.org/oci/node:20-bookworm\", \"ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04\"]|" .runner ;
|
||||
forgejo-runner generate-config > config.yml ;
|
||||
sed -i -e "s| level: info| level: debug|" config.yml ;
|
||||
sed -i -e "s|network: .*|network: host|" config.yml ;
|
||||
sed -i -e "s|^ envs:$$| envs:\n DOCKER_HOST: tcp://docker:2376\n DOCKER_TLS_VERIFY: 1\n DOCKER_CERT_PATH: /certs/client|" config.yml ;
|
||||
sed -i -e "s|^ options:| options: -v /certs/client:/certs/client|" config.yml ;
|
||||
|
@ -76,7 +77,7 @@ services:
|
|||
'
|
||||
|
||||
runner-daemon:
|
||||
image: code.forgejo.org/forgejo/runner:3.4.1
|
||||
image: code.forgejo.org/forgejo/runner:5.0.4
|
||||
links:
|
||||
- docker-in-docker
|
||||
- forgejo
|
||||
|
|
Loading…
Reference in New Issue