Fix test-runner volume mount for DinD workspace
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 5s
CI/CD / test-frontend (pull_request) Successful in 6s
CI/CD / test-go-pg (pull_request) Successful in 2m48s
CI/CD / test-sqlite (pull_request) Successful in 2m50s
CI/CD / test-runners (pull_request) Failing after 16s
CI/CD / build-and-deploy (pull_request) Has been skipped
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 5s
CI/CD / test-frontend (pull_request) Successful in 6s
CI/CD / test-go-pg (pull_request) Successful in 2m48s
CI/CD / test-sqlite (pull_request) Successful in 2m50s
CI/CD / test-runners (pull_request) Failing after 16s
CI/CD / build-and-deploy (pull_request) Has been skipped
In Gitea runner pods, the repo checkout lives in a Docker volume, not a host path. The `.:/work` mount in docker-compose.ci.yml resolved to the Docker daemon's CWD (empty), causing "No such file or directory". Resolve the actual Docker volume backing the CI workspace at runtime and pass it via CI_WORKSPACE_VOLUME env var. Falls back to `.` for local (non-DinD) usage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ services:
|
||||
condition: service_healthy
|
||||
working_dir: /work
|
||||
volumes:
|
||||
- .:/work
|
||||
- ${CI_WORKSPACE_VOLUME:-.}:/work
|
||||
environment:
|
||||
SERVER_URL: http://armature:80
|
||||
ADMIN_USER: admin
|
||||
|
||||
Reference in New Issue
Block a user