Runner: host-directory job workspace (bind_workdir) so the e2e compose stack can bind-mount the checkout
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
@@ -19,8 +19,11 @@ cache:
|
||||
dir: /data/cache
|
||||
|
||||
container:
|
||||
# The job workspace is a Docker volume; the Docker proxy maps workspace paths for sibling
|
||||
# containers, so `docker compose` in the e2e job can bind-mount tests/e2e and deploy/postgres/initdb.
|
||||
# The job workspace is a host directory under workdir_parent, mounted into the job container at that
|
||||
# same absolute path. compose.yaml mounts the same host folder into the runner at the same path, so a
|
||||
# bind source a job names (deploy/ci/ci-secrets/..., tests/e2e) is a real path for docker-1's daemon.
|
||||
bind_workdir: true
|
||||
workdir_parent: home/spencerm/gitea/runner/work # no leading slash; the runner adds it
|
||||
privileged: false
|
||||
valid_volumes: []
|
||||
# The proxy removes what a job started (the CI compose stack included) when the job ends.
|
||||
|
||||
Reference in New Issue
Block a user