mirror of
https://github.com/monoscope-tech/monoscope.git
synced 2026-11-16 10:18:01 +00:00
ci: run local CI from a snapshot, so editing ci.sh mid-run is safe (#497)
bash reads a script incrementally by file offset. The container ran ci.sh straight off the bind mount, so editing scripts/ci/ci.sh while a run was in flight made the running shell resume at a stale offset and die with scripts/ci/ci.sh: line 605: syntax error near unexpected token `;;' The check itself had already passed and been attested; only the wrapper died, which is precisely the "bookkeeping must not fail a green check" failure this repo has hit twice now. And a `make ci` lasts tens of minutes, so editing the script meanwhile is a normal thing to do, not a mistake. Copy it into the container and exec the copy.
This commit is contained in:
parent
6203b5f010
commit
70ed1780a8
2 changed files with 11 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue