From 677809506af4287419f33e67451c7993aef49baa Mon Sep 17 00:00:00 2001 From: cyph3rasi Date: Sat, 11 Jul 2026 19:41:06 -0700 Subject: [PATCH] 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 --- .../prompts/P_06FN8CFTH56RFDPWX2BF1CR.json | 17 ++++++++++++++ compose.yaml | 5 ++-- deploy/gitea/actions-runner-config.yaml | 23 +++++++++++++++++++ 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 .hop/records/prompts/P_06FN8CFTH56RFDPWX2BF1CR.json create mode 100644 deploy/gitea/actions-runner-config.yaml diff --git a/.hop/records/prompts/P_06FN8CFTH56RFDPWX2BF1CR.json b/.hop/records/prompts/P_06FN8CFTH56RFDPWX2BF1CR.json new file mode 100644 index 0000000..509c923 --- /dev/null +++ b/.hop/records/prompts/P_06FN8CFTH56RFDPWX2BF1CR.json @@ -0,0 +1,17 @@ +{ + "id": "P_06FN8CFTH56RFDPWX2BF1CR", + "task_id": "T_06FN8CFTH482VPYR9WSGDZG", + "attempt_id": "AT_06FN8CFTH7YYHAXDYGDXVRR", + "state_id": "P_06FN8CFTH56RFDPWX2BF1CR", + "prompt": "lets just leave it named as actions, and i think we need to let anyone use it if we are going to try and attract users.", + "agent_name": "codex", + "status": "proposed", + "response_summary": "Make public Actions jobs reach Gitea and ship a reproducible runner config", + "created_at": "2026-07-12T02:39:49.385799Z", + "metadata": { + "source_tree": "5e19c30066f6b48ff43edab7e72a484ea917014c", + "git_commit": "84f7f03514ee406e08962238c882d590f7baa32f", + "attempt_head": "C_06FN8CNP39P783WFPEY0AWR", + "attempt_head_kind": "checkpoint" + } +} diff --git a/compose.yaml b/compose.yaml index b222da9..41bc63a 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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: diff --git a/deploy/gitea/actions-runner-config.yaml b/deploy/gitea/actions-runner-config.yaml new file mode 100644 index 0000000..b242ff0 --- /dev/null +++ b/deploy/gitea/actions-runner-config.yaml @@ -0,0 +1,23 @@ +log: + level: info + +runner: + file: /data/.runner + capacity: 1 + timeout: 1h + shutdown_timeout: 1m + fetch_timeout: 5s + fetch_interval: 2s + fetch_interval_max: 5s + labels: + - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" + - "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04" + - "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04" + +cache: + enabled: true + +container: + privileged: false + valid_volumes: [] + force_pull: false