[fabrica] Release: the pin gate's own tests run before the pin step; python3 in the ci shell for the slow-client probes

This commit is contained in:
2026-11-22 19:04:56 +01:00
parent 7f733102bf
commit 142f0bedf7
3 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -33,8 +33,10 @@ steps:
needs: [check, test]
run: node apps/web/scripts/shots.mjs
artifacts: ["target/aula/aula-*.png", "target/aula/aula.json"]
- id: pin-test
run: node --test scripts/release-pin.test.mjs
- id: pin
needs: [version]
needs: [version, pin-test]
run: node scripts/release-pin.mjs ${{ version }} ${{ tag }} ${{ commit }}
artifacts: ["target/nix/ianitor-nix.json"]
- id: approve
+2 -1
View File
@@ -26,7 +26,8 @@ node scripts/check-version.mjs X.Y.Z # Cargo.toml and both package.json carry
scripts/conformance.sh # layer 2: h2spec + testssl.sh, Ianitor vs Caddy (nix develop .#ci)
tests/fuzz/run.sh 60 # layer 3: cargo-fuzz, 60 s a target; crashes become regressions
scripts/bench.sh <label> # layer 5: load and soak vs Caddy -> bench/results
scripts/nix-pin.sh # reproducible build check; writes .fabrica/nix/pin.json before a tag
scripts/nix-pin.sh # rebuild check of the outputs; writes .fabrica/nix/pin.json before a tag
node --test scripts/release-pin.test.mjs # the release's pin gate (a pin must be of the tagged code)
nix build .#ianitor
nix flake check # includes NixOS VM tests (Linux + KVM)
+2
View File
@@ -49,6 +49,8 @@
oha
nodejs_22
pnpm_11
# the slow-client probes (tests/support/probes)
python3
];
};
});