gitea-runner: set default_image in container config to use pantheon-ci for all jobs
This commit is contained in:
@@ -26,7 +26,7 @@ spec:
|
|||||||
--instance "$GITEA_INSTANCE_URL" \
|
--instance "$GITEA_INSTANCE_URL" \
|
||||||
--token "$GITEA_RUNNER_REGISTRATION_TOKEN" \
|
--token "$GITEA_RUNNER_REGISTRATION_TOKEN" \
|
||||||
--name legion \
|
--name legion \
|
||||||
--labels "self-hosted:docker://registry.neuralplatform.ai/pantheon-ci:latest,linux:docker://registry.neuralplatform.ai/pantheon-ci:latest,x64:docker://registry.neuralplatform.ai/pantheon-ci:latest,legion:docker://registry.neuralplatform.ai/pantheon-ci:latest" \
|
--labels "self-hosted,linux,x64,legion" \
|
||||||
--no-interactive
|
--no-interactive
|
||||||
cat > /data/config.yaml << 'EOF'
|
cat > /data/config.yaml << 'EOF'
|
||||||
runner:
|
runner:
|
||||||
@@ -36,6 +36,8 @@ spec:
|
|||||||
network: host
|
network: host
|
||||||
docker_host: "unix:///var/run/docker.sock"
|
docker_host: "unix:///var/run/docker.sock"
|
||||||
force_pull: false
|
force_pull: false
|
||||||
|
valid_volumes: []
|
||||||
|
default_image: "registry.neuralplatform.ai/pantheon-ci:latest"
|
||||||
EOF
|
EOF
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user