Runner: host-directory job workspace (bind_workdir) so the e2e compose stack can bind-mount the checkout
ci / frontend (push) Successful in 10m10s
ci / server (push) Successful in 12m54s
ci / e2e (push) Failing after 43s
ci / image (push) Failing after 2m57s

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
2026-10-16 10:29:47 -06:00
co-authored by Claude Fable 5.1
parent 0df0ea62e9
commit c5b0c11c0c
3 changed files with 18 additions and 9 deletions
+6 -3
View File
@@ -1,7 +1,8 @@
# Gitea Actions runner for docker-1. One act_runner container with the host Docker socket.
# Jobs run in docker.gitea.com/runner-images:ubuntu-latest containers started through the socket;
# the runner's Docker proxy lets a job's `docker compose` bind-mount the workspace by its own path,
# which is what the e2e job needs for deploy/compose.ci.yaml.
# Jobs run in docker.gitea.com/runner-images:ubuntu-latest containers started through the socket.
# The job workspace is a host directory (container.bind_workdir) mounted into the runner and into
# the job container at the same absolute path, so a job's `docker compose` can bind-mount files of
# the checkout (the CI secrets, deploy/postgres/initdb, tests/e2e) and the host daemon finds them.
#
# Install on docker-1 (see README.md): copy this folder to ~/gitea/runner, register once, then up -d.
# cd ~/gitea/runner
@@ -27,6 +28,8 @@ services:
GITEA_RUNNER_NAME: docker-1
volumes:
- ./data:/data # .runner (the registration), config.yaml, cache, job logs
# Job workspaces. The host path and the container path must be the same (see data/config.yaml).
- /home/spencerm/gitea/runner/work:/home/spencerm/gitea/runner/work
- /var/run/docker.sock:/var/run/docker.sock # job containers and the Docker proxy
restart: unless-stopped
logging: