fix(release): keep large snapshots attached and low impact
Managed validation / ${{ inputs.profile || 'full' }} (pull_request) Failing after 1m35s
GeoIntel release gates / Compile, test, contracts and builds (pull_request) Failing after 1m43s
GeoIntel release gates / Python and npm vulnerability policy (pull_request) Failing after 32s
GeoIntel release gates / Production AI image, SBOM and container scan (pull_request) Failing after 31s
GeoIntel release gates / Deploy exact gated revision to Unraid (pull_request) Skipped
Managed validation / ${{ inputs.profile || 'full' }} (pull_request) Failing after 1m35s
GeoIntel release gates / Compile, test, contracts and builds (pull_request) Failing after 1m43s
GeoIntel release gates / Python and npm vulnerability policy (pull_request) Failing after 32s
GeoIntel release gates / Production AI image, SBOM and container scan (pull_request) Failing after 31s
GeoIntel release gates / Deploy exact gated revision to Unraid (pull_request) Skipped
This commit is contained in:
@@ -53,6 +53,20 @@ def test_release_creates_verified_backup_before_candidate_migrations() -> None:
|
||||
assert "preflight_backup_capacity" in script
|
||||
assert "select_verified_link_dest" in script
|
||||
assert "release_backup_snapshot.py" in script
|
||||
assert "run_low_impact()" in script
|
||||
assert "ionice -c 2 -n 7" in script
|
||||
assert "nice -n 10" in script
|
||||
assert "run_low_impact bash scripts/backup_release_state.sh" in script
|
||||
assert "run_low_impact bash scripts/verify_release_backup.sh" in script
|
||||
|
||||
|
||||
def test_gitea_deploy_waits_for_the_mandatory_large_snapshot() -> None:
|
||||
workflow = (ROOT / ".gitea" / "workflows" / "release-gates.yml").read_text(encoding="utf-8")
|
||||
|
||||
assert "cancel-in-progress: false" in workflow
|
||||
deploy_job = workflow.split("\n deploy:\n", maxsplit=1)[1]
|
||||
assert "timeout-minutes: 720" in deploy_job
|
||||
assert "docker exec gitea-deploy-control" in deploy_job
|
||||
|
||||
|
||||
def test_release_starts_only_the_locally_attested_ai_image() -> None:
|
||||
|
||||
Reference in New Issue
Block a user