Add the trusted delivery agent image (#15)
seat-back-trivia/pipeline/head This commit looks good

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cedric Pollefeys
2026-11-02 13:58:57 -05:00
co-authored by Claude Opus 5.5
parent 88ae7f9158
commit bb5b9f3026
2 changed files with 42 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
# Inbound Jenkins agent for the delivery stages. The Docker socket makes this
# container equivalent to host root, so only reviewed main-branch stages use its
# credentials. DOCKER_GID and JENKINS_SECRET come from an untracked .env file.
name: jenkins-agent
services:
agent:
build: .
restart: unless-stopped
environment:
- JENKINS_URL=http://jenkins:8080
- JENKINS_AGENT_NAME=delivery-agent
- JENKINS_SECRET=${JENKINS_SECRET}
- JENKINS_WEB_SOCKET=true
- JAVA_OPTS=-Xmx96m
group_add:
- "${DOCKER_GID}"
volumes:
- agent-data:/home/jenkins/agent
- trivy-cache:/home/jenkins/.cache/trivy
- /var/run/docker.sock:/var/run/docker.sock
networks:
- gitea-net
logging:
options:
max-size: 10m
max-file: "3"
volumes:
agent-data:
trivy-cache:
networks:
gitea-net:
external: true
name: gitea_gitea-net