Heimdall Gitea / Detect CI scope (push) Successful in 11s
Heimdall Gitea / Build and tests (push) Successful in 18m40s
Heimdall Gitea / Build and scan server image (push) Successful in 8m5s
Heimdall Gitea / Build and scan agent image (push) Successful in 12m52s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 28m19s
Heimdall Gitea / Publish versioned installer release (push) Successful in 4m43s
Heimdall Gitea / CI policy (push) Successful in 13s
Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2.5 KiB
2.5 KiB
name, description
| name | description |
|---|---|
| installer-checksum-acceptance | Build and verify the versioned Central installer checksum asset and both server bootstrap verification paths. |
Central installer checksum acceptance
Use this workflow when changing install/install-server.sh, install/install-server.ps1, scripts/ci/package.sh, or the release asset set in scripts/ci/release-gitea.py.
Release contract
package.shcreatesheimdall-installers-<version>.zip.sha256beside the ZIP. Its single standardsha256sumline names the ZIP asset exactly, with no workspace-relative path.release-gitea.pyrequires and publishes both files before making a release visible. The sidecar is part of the exact expected asset set for already-published releases.- The raw Linux and Windows bootstraps prefer a valid
sha256:<64 hex>digest from the matching release API asset. If the digest is absent or null, they find the correspondingly named checksum asset, require an HTTPS download URL and exactly one checksum line naming the ZIP, download the ZIP, and compare its SHA-256 before extraction or execution. - A malformed, non-null API digest fails closed. Do not fall back from an invalid digest or calculate the expected checksum from the ZIP that is being verified.
Acceptance
- Run
python3 scripts/ci/accept-release-offline.pyin a clean dedicated checkout. Its TLS loopback Gitea double and fake Docker CLI must prove release asset publication, the API digest-present path, the Forgejo-compatibledigest: nullsidecar path, rejection of a mismatched sidecar, and fail-closed behavior for a malformed non-null API digest. Assert the expected installer asset names and the sidecar content against the produced ZIP. - Run
python3 -m unittest scripts.ci.test_ci(or the repository's equivalent CI policy test command) and verify release asset fixtures include the sidecar. - Run
bash -n install/install-server.sh; ifpwshis available, parseinstall/install-server.ps1without invoking Windows-only installation actions. - For any disposable Compose validation required by the behavior change, follow
skills/compose-disposable-recipe/SKILL.md: use source-built unique tags and isolated credentials/ports/volumes, install cleanup before build/start, and verify project resources and exact image tags are absent afterward. - Record local and CI evidence in the Gitea issue and PR. Do not claim a production Gitea release,
/releases/latest, Docker Hub, runner, or deployed installer was validated by the offline API double.