chore: renovate custom dagger runner image

Allow renovate to also update the dagger images used for the custom
runner.

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V 2024-11-21 14:26:39 +01:00 committed by Francesco Canovai
parent 2d5f38130b
commit d503689767

View File

@ -133,15 +133,16 @@ tasks:
deps: deps:
- generate-certs - generate-certs
- start-build-network - start-build-network
env: vars:
# TODO: renovate # renovate: datasource=github-tags depName=dagger/dagger versioning=semver
DAGGER_ENGINE_IMAGE: registry.dagger.io/engine:v0.13.6 DAGGER_VERSION: 0.13.6
DAGGER_ENGINE_IMAGE: registry.dagger.io/engine:v{{ .DAGGER_VERSION }}
cmds: cmds:
- > - >
docker run -d -v /var/lib/dagger --name "${DAGGER_ENGINE_CONTAINER_NAME}" docker run -d -v /var/lib/dagger --name "${DAGGER_ENGINE_CONTAINER_NAME}"
--network=${REGISTRY_NETWORK} --network=${REGISTRY_NETWORK}
-v $(pwd)/certs/ca.pem:/usr/local/share/ca-certificates/ca.crt -v $(pwd)/certs/ca.pem:/usr/local/share/ca-certificates/ca.crt
--privileged ${DAGGER_ENGINE_IMAGE} --privileged {{ .DAGGER_ENGINE_IMAGE }}
status: status:
- \[ "$(docker inspect -f {{`'{{.State.Running}}'`}} "${DAGGER_ENGINE_CONTAINER_NAME}" 2> /dev/null )" == 'true' \] - \[ "$(docker inspect -f {{`'{{.State.Running}}'`}} "${DAGGER_ENGINE_CONTAINER_NAME}" 2> /dev/null )" == 'true' \]