Commit 871209f
committed
ci(scaffold-e2e): build the scaffolded app's own Dockerfile (examples/docker was removed)
The "Docker build and run" step `cp`'d Dockerfile / docker-compose.yml /
.dockerignore from `examples/docker/`, which was deleted in 6c28bac without
updating this workflow — so the job failed at
`cp: cannot stat '.../examples/docker/Dockerfile'` on every PR touching
`packages/create-objectstack/**` (a pre-existing break, not from #3056).
The blank template already ships its own Dockerfile (multi-stage: `npm ci` +
`os build`, runtime `FROM ghcr.io/objectstack-ai/objectstack`), so build the
generated project as-is with `--pull=false` against the base image built in the
prior step. This fixes the failure and strictly improves coverage — the e2e now
exercises the exact Docker path a real `npm create objectstack` user ships,
instead of a separate example copy. Also drops the now-dead `examples/docker/**`
path trigger.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GjAgyTXaxSMVDWtGYxAXL71 parent c715854 commit 871209f
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
120 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
0 commit comments