fix(ci): publish REST-accessible immutable Gitea v4 artifacts
Device Core qualification / qualify (push) Successful in 6m18s
Device Core qualification / qualify (push) Successful in 6m18s
This commit is contained in:
@@ -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/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
|
||||
uses: https://github.com/ChristopherHX/gitea-upload-artifact@81f940d004763f986ba3582c007fd842dd5cb0d7
|
||||
with:
|
||||
name: device-core-release
|
||||
path: release
|
||||
|
||||
@@ -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
|
||||
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
|
||||
`actions/upload-artifact` v3 implementation pinned to commit
|
||||
`ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5` to retain the bundle in **our Gitea**.
|
||||
Gitea-compatible `ChristopherHX/gitea-upload-artifact` v4 implementation
|
||||
pinned to commit `81f940d004763f986ba3582c007fd842dd5cb0d7` to retain the bundle in **our Gitea**.
|
||||
The upload uses the job's short-lived artifact credential, not a production
|
||||
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;
|
||||
@@ -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
|
||||
files, host roots, install commands or database operations. This new artifact
|
||||
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
|
||||
retained by the canonical NAS journal/archive. Expiry is not a successful
|
||||
deployment and must never be silently ignored by the controller.
|
||||
|
||||
Reference in New Issue
Block a user