Sync R2 smoke test with staged release publishing

This commit is contained in:
Zsolt Dollenstein
2026-07-31 18:13:57 +01:00
parent 82b0199191
commit 323e5d3a3e
3 changed files with 210 additions and 64 deletions
+6 -1
View File
@@ -12,6 +12,9 @@ on:
prerelease:
required: true
type: boolean
stage:
required: true
type: string
permissions: {}
@@ -43,12 +46,14 @@ jobs:
RELEASE_TAG: ${{ inputs.tag }}
RELEASE_MAKE_LATEST: ${{ inputs.make_latest }}
RELEASE_PRERELEASE: ${{ inputs.prerelease }}
RELEASE_STAGE: ${{ inputs.stage }}
run: |
set -euo pipefail
python3 .github/scripts/publish_r2_release.py \
--tag "${RELEASE_TAG}" \
--make-latest "${RELEASE_MAKE_LATEST}" \
--prerelease "${RELEASE_PRERELEASE}"
--prerelease "${RELEASE_PRERELEASE}" \
--stage "${RELEASE_STAGE}"
- name: Check disk after publication
if: always()
+16 -3
View File
@@ -8,12 +8,25 @@ on:
permissions: {}
jobs:
smoke-latest:
smoke-assets:
permissions:
contents: read
uses: ./.github/workflows/r2-release.yml
secrets: inherit
with:
tag: rust-v0.145.0
make_latest: true
tag: rust-v0.146.0-alpha.10.1
make_latest: false
prerelease: false
stage: assets
smoke-finalize:
needs: smoke-assets
permissions:
contents: read
uses: ./.github/workflows/r2-release.yml
secrets: inherit
with:
tag: rust-v0.146.0-alpha.10.1
make_latest: false
prerelease: false
stage: finalize