Make public Actions jobs reach Gitea and ship a reproducible runner config
Hop-State: A_06FN8CS9DAAY6Y1H4EXBHQR Hop-Proposal: R_06FN8CQ66FNTSWJM719J62R Hop-Task: T_06FN8CFTH482VPYR9WSGDZG Hop-Attempt: AT_06FN8CFTH7YYHAXDYGDXVRR
This commit is contained in:
+3
-2
@@ -52,11 +52,11 @@ services:
|
||||
gitea:
|
||||
condition: service_started
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: http://gitea:3000
|
||||
GITEA_INSTANCE_URL: ${GITEA_ROOT_URL:-http://localhost:3000/}
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_RUNNER_REGISTRATION_TOKEN:-}
|
||||
GITEA_RUNNER_NAME: ${GITEA_RUNNER_NAME:-cyphers-public}
|
||||
GITEA_RUNNER_LABELS: ${GITEA_RUNNER_LABELS:-ubuntu-latest:docker://gitea/runner-images:ubuntu-latest,ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04}
|
||||
CONFIG_FILE: /data/config.yaml
|
||||
CONFIG_FILE: /config.yaml
|
||||
cpus: "2.0"
|
||||
mem_limit: 4g
|
||||
pids_limit: 1024
|
||||
@@ -65,6 +65,7 @@ services:
|
||||
privileged: true
|
||||
volumes:
|
||||
- actions-runner-data:/data
|
||||
- ./deploy/gitea/actions-runner-config.yaml:/config.yaml:ro
|
||||
networks: [hopweb]
|
||||
|
||||
control-plane:
|
||||
|
||||
Reference in New Issue
Block a user