Update Tests to use Latest Release

Newer Versions imposed breaking changes to the tests, fixed and updated
pull/404/head
Merith-TK 2024-12-28 17:53:23 +00:00
parent 1c87699e98
commit db9c31289a
1 changed files with 3 additions and 2 deletions

View File

@ -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