ci(security): fail the lane when evidence generation fails
ci/woodpecker/push/woodpecker Pipeline was successful
Linux strict security lane (G-C) / strict isolation escape matrix (push) Canceled after 0s
CI / fmt + clippy + test (Linux x86_64) (push) Canceled after 0s
CI / schema instance validation + consumers (push) Canceled after 0s
CI / runtime contract (macos-latest) (push) Canceled after 0s
CI / runtime contract (windows-latest) (push) Canceled after 0s
CI / release evidence manifest (push) Canceled after 0s
CI / release candidate artifact (macos-latest) (push) Canceled after 0s
CI / release candidate artifact (ubuntu-latest) (push) Canceled after 0s

A green lane without a strict-evidence.json must not count as a gate. The EXIT
trap now turns a generator failure into a lane failure. The self-hosted
workflow exports the archive path in the run step (env written by GITHUB_ENV is
not guaranteed in the env expression context), records the pinned image digest
as an input, and verifies schema/outcome/tested_sha/non-root before uploading.
Also define SOURCE_SHA before the VM overlay commands.
This commit is contained in:
cflmy committed 2026-11-21 17:41:23 +08:00
1 parent f01e8a9bb0
commit 512b9f5f1d
3 files changed
+35 -5

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ URL. Download one dated release, verify it against Ubuntu's published
`SHA256SUMS`, record the digest, and keep that file immutable:
```bash
export SOURCE_SHA="$(git rev-parse HEAD)" # reviewed commit, clean tree
mkdir -p .tools/vm && cd .tools/vm
# Replace with the reviewed dated release URL, never .../current/...
curl -L -o ubuntu-base.img \