ci: align release tooling with the upstream deterministic pipeline
- add tools/release/package.py: sorted, commit-timestamped, uid/gid-normalised deterministic archive; refuses dirty trees, source-SHA mismatch and stale versions; emits SOURCE_SHA, FILES.sha256 and RELEASE_INFO.json with binaries, protocol revisions, core baseline and manifest digest - add tools/release/smoke.py: verifies checksum/manifest/source/version then cold-installs the archive through a real core CLI into an isolated MARQDO_TOOL_HOME and exercises help/compile/query/check/remove, writing smoke evidence - add tools/ci/test_release_metadata.py: single CI gate for version/fact consistency across Cargo files, tool.json, spec, CHANGELOG, release notes, README and CI configuration - Woodpecker and GitHub pipelines now run the metadata gate and use the Python packager/smoke test in the tag-only release lane; shell release scripts are thin wrappers; docs/ci.md and docs/releasing.md document gates and non-gates
This commit is contained in:
1 parent
85458c1d93
commit
835f61dc01
13 files changed
+663
-122
No files matched your search
@@ -23,6 +23,7 @@ cd "$ROOT"
|
||||
|
||||
lane_test() {
|
||||
echo "== lane: test =="
|
||||
python3 tools/ci/test_release_metadata.py
|
||||
"$CARGO" fmt --all -- --check
|
||||
"$CARGO" clippy --all-targets --locked -- -D warnings
|
||||
"$CARGO" test --workspace --locked
|
||||
|
||||
Reference in new issue
Block a user