ci: run the Lint and Build fast path without network
When the pins match the ci image every tool is baked in, so a runtime download is a bake-in defect; failing the job makes it visible. Assisted-by: Claude Code
This commit is contained in:
1 parent
1afce962a0
commit
f7fde63f7d
5 files changed
+27
-13
No files matched your search
@@ -57,6 +57,11 @@ issue.
|
||||
`.pre-commit-config.yaml` takes the slow path, which installs the pinned tools and collections.
|
||||
*Why:* a pull request is tested on its own pins, and an unchanged one starts in seconds.
|
||||
*Held:* control: the "Check the baked tooling against the pins" step.
|
||||
- **On the fast path the tool steps run in a network namespace without network** (`unshare -rn`
|
||||
through `$OFFLINE`), except "Test the repository scripts", whose fake registry needs loopback;
|
||||
the slow path keeps network. *Why:* a runtime download is a bake-in defect and must fail the
|
||||
job, not silently slow it. *Held:* control: the `$OFFLINE` prefix set by the "Check the baked
|
||||
tooling against the pins" step.
|
||||
- **Triggers:** both run on pull requests to `main` and on manual dispatch; Build also runs on
|
||||
`v*` tags, where it checks the tag against `galaxy.yml`. *Why:* the tag is what consumers
|
||||
install. *Held:* review.
|
||||
|
||||
Reference in new issue
Block a user