Add the trusted delivery agent image (#15)
seat-back-trivia/pipeline/head This commit looks good
seat-back-trivia/pipeline/head This commit looks good
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
88ae7f9158
commit
bb5b9f3026
@@ -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
|
||||
Reference in New Issue
Block a user