Skip to content

Commit a12e61c

Browse files
pmaxhoganclaude
andauthored
ci: make the e2e artifacts dir writable by the container user (#264)
Release attempt 3 progressed to the suite actually running (gate jobs materialized, visual passed) but all 9 scenarios failed at 0s with `artifacts dir: Permission denied`: the runner-owned bind-mounted dir is not writable by the container's non-root user on a Linux host. chmod 777 on the throwaway runner dir fixes it. Third and final shakeout fix for e2e.yml's first real CI executions; the v2.9.0 tag will be re-pointed after merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015jEKvjBzVjaWLq6o5zg2PV Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 57a8e6b commit a12e61c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ jobs:
5757

5858
- name: Run the app-level e2e suite
5959
run: |
60-
mkdir -p e2e-artifacts
60+
# World-writable on purpose: the runner user (uid 1001) creates the
61+
# dir but the container's non-root `driven` user writes into it via
62+
# the bind mount - without this every scenario dies at artifacts-dir
63+
# creation with EACCES on Linux hosts (Docker Desktop's VirtioFS is
64+
# permissive about bind-mount ownership, which is why local runs
65+
# never hit it).
66+
mkdir -p e2e-artifacts && chmod 777 e2e-artifacts
6167
docker run --rm \
6268
--tmpfs /e2e-small-dest:rw,size=1m \
6369
-v "$PWD/e2e-artifacts:/tmp/driven-e2e-artifacts" \

0 commit comments

Comments
 (0)