fix(ci): publish REST-accessible immutable Gitea v4 artifacts
Device Core qualification / qualify (push) Successful in 6m18s

This commit is contained in:
DCCONSTRUCTIONS
2026-09-29 18:16:44 +03:00
parent 415d5e73d7
commit 55ab76bfc5
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
python3 "$source_root/infra/ci/qualify.py" check --commit "$SOURCE_COMMIT" --report "$job_root/qualification.json" 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" 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 - name: Retain the qualified release in this Gitea run
uses: https://github.com/actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
with: with:
name: device-core-release name: device-core-release
path: release path: release
+8 -2
View File
@@ -47,8 +47,8 @@ entry, branch policy, release contract and acceptance tests.
Runner label: `nodedc-node22-build`; Node 22.21.0, npm 10.9.4, Python >=3.9 and Runner label: `nodedc-node22-build`; Node 22.21.0, npm 10.9.4, Python >=3.9 and
Git must be available in the reviewed build image. The workflow fetches the Git must be available in the reviewed build image. The workflow fetches the
exact pushed SHA from our Gitea. After qualification it uses the upstream exact pushed SHA from our Gitea. After qualification it uses the upstream
`actions/upload-artifact` v3 implementation pinned to commit Gitea-compatible `ChristopherHX/gitea-upload-artifact` v4 implementation
`ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5` to retain the bundle in **our Gitea**. pinned to commit `81f940d004763f986ba3582c007fd842dd5cb0d7` to retain the bundle in **our Gitea**.
The upload uses the job's short-lived artifact credential, not a production The upload uses the job's short-lived artifact credential, not a production
credential. The workflow's repository token has read-only content access. credential. The workflow's repository token has read-only content access.
`infra/ci/sources.lock.json` pins Design Guideline, Platform and Launcher to full commits; `infra/ci/sources.lock.json` pins Design Guideline, Platform and Launcher to full commits;
@@ -83,6 +83,12 @@ and `release.json` receipt. The archive declares `device-core-release.v1` with
the exact source SHA, run id/number and file digests. It cannot choose Compose the exact source SHA, run id/number and file digests. It cannot choose Compose
files, host roots, install commands or database operations. This new artifact files, host roots, install commands or database operations. This new artifact
type still needs the reviewed Platform runner extension before installation. type still needs the reviewed Platform runner extension before installation.
Run 3 (commit `415d5e73d7ca0cc283deb9b79a9f5f99fec54ed7`) passed all
qualification steps on Synology. Its legacy v3 upload succeeded but is not
returned by the Gitea REST artifact API. Therefore the publication step now
uses the Gitea-compatible v4 uploader; successful REST retrieval and digest
verification are separate acceptance gates.
Bundles remain in Gitea for 30 days; installed releases will additionally be Bundles remain in Gitea for 30 days; installed releases will additionally be
retained by the canonical NAS journal/archive. Expiry is not a successful retained by the canonical NAS journal/archive. Expiry is not a successful
deployment and must never be silently ignored by the controller. deployment and must never be silently ignored by the controller.