Compare commits

..

2 Commits

Author SHA1 Message Date
8236341a47 Merge remote-tracking branch 'origin/master' into publish/greeter-0.1.1
Some checks failed
validate-pr / validate (pull_request) Failing after 2m3s
2026-05-18 19:34:40 +00:00
031d943979 runner: drop volume name prefix, whitelist in valid_volumes 2026-05-18 19:34:37 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -28,12 +28,17 @@ services:
volumes: volumes:
cargoxx-cache-store: cargoxx-cache-store:
# Explicit name disables compose's project-prefix so spawned job
# containers (which don't know about compose) can reference the
# same volume by the same name.
name: cargoxx-cache-store
driver: local driver: local
driver_opts: driver_opts:
type: none type: none
o: bind o: bind
device: "${PWD}/cache/store" device: "${PWD}/cache/store"
cargoxx-cache-keys: cargoxx-cache-keys:
name: cargoxx-cache-keys
driver: local driver: local
driver_opts: driver_opts:
type: none type: none

View File

@@ -25,7 +25,12 @@ container:
options: "-v cargoxx-cache-store:/srv/cargoxx-cache/store options: "-v cargoxx-cache-store:/srv/cargoxx-cache/store
-v cargoxx-cache-keys:/srv/cargoxx-cache/keys:ro" -v cargoxx-cache-keys:/srv/cargoxx-cache/keys:ro"
workdir_parent: /workspace workdir_parent: /workspace
valid_volumes: [] # Whitelist regex of bind sources act_runner is allowed to forward to
# spawned job containers. Must include the cache + key volumes named
# in `options` above (otherwise act_runner silently strips them).
valid_volumes:
- "^cargoxx-cache-store$"
- "^cargoxx-cache-keys$"
docker_host: "unix:///var/run/docker.sock" docker_host: "unix:///var/run/docker.sock"
force_pull: false force_pull: false