fix(ci): qualify on the pinned Python and retain immutable release bundles
Device Core qualification / qualify (push) Successful in 5m51s

This commit is contained in:
DCCONSTRUCTIONS
2026-09-29 18:04:12 +03:00
parent 784a371e3e
commit 415d5e73d7
7 changed files with 456 additions and 4 deletions
+13
View File
@@ -5,6 +5,9 @@ on:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
qualify:
runs-on: nodedc-node22-build
@@ -13,6 +16,8 @@ jobs:
- name: Check the exact pushed commit
env:
SOURCE_COMMIT: ${{ gitea.sha }}
SOURCE_RUN_ID: ${{ gitea.run_id }}
SOURCE_RUN_NUMBER: ${{ gitea.run_number }}
run: |
set -eu
python3 -c 'import os,re; assert re.fullmatch("[0-9a-f]{40}", os.environ["SOURCE_COMMIT"]), "full commit SHA required"'
@@ -26,5 +31,13 @@ jobs:
git -C "$source_root" checkout --quiet --detach FETCH_HEAD
python3 "$source_root/infra/ci/qualify.py" fetch-dependencies --commit "$SOURCE_COMMIT"
python3 "$source_root/infra/ci/qualify.py" check --commit "$SOURCE_COMMIT" --report "$job_root/qualification.json"
python3 "$source_root/infra/ci/package_release.py" --report "$job_root/qualification.json" --run-id "$SOURCE_RUN_ID" --run-number "$SOURCE_RUN_NUMBER" --output-dir "$GITHUB_WORKSPACE/release"
- name: Retain the qualified release in this Gitea run
uses: https://github.com/actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5
with:
name: device-core-release
path: release
if-no-files-found: error
retention-days: 30
# Production activation is separate: this job has no production access.
# Do not label a successful qualification as a successful deployment.