mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Add waits for post-release steps for improved visibility (#26958)
This commit is contained in:
parent
a21a1cad1f
commit
48b5eddd79
35
.github/workflows/release.yml
vendored
35
.github/workflows/release.yml
vendored
@ -10,16 +10,6 @@ on:
|
|||||||
options:
|
options:
|
||||||
- rc
|
- rc
|
||||||
- final
|
- final
|
||||||
matrix-react-sdk:
|
|
||||||
description: React SDK version to use (current|X.Y.Z)
|
|
||||||
required: false
|
|
||||||
default: current
|
|
||||||
type: string
|
|
||||||
matrix-js-sdk:
|
|
||||||
description: JS SDK version to use (current|X.Y.Z)
|
|
||||||
required: false
|
|
||||||
default: current
|
|
||||||
type: string
|
|
||||||
concurrency: ${{ github.workflow }}
|
concurrency: ${{ github.workflow }}
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@ -34,6 +24,25 @@ jobs:
|
|||||||
gpg-fingerprint: ${{ vars.GPG_FINGERPRINT }}
|
gpg-fingerprint: ${{ vars.GPG_FINGERPRINT }}
|
||||||
asset-path: dist/*.tar.gz
|
asset-path: dist/*.tar.gz
|
||||||
expected-asset-count: 3
|
expected-asset-count: 3
|
||||||
dependencies: |
|
|
||||||
matrix-react-sdk=${{ inputs.matrix-react-sdk }}
|
check:
|
||||||
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|
name: Post release checks
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Wait for dockerhub
|
||||||
|
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
check-name: "Docker Buildx (vanilla)"
|
||||||
|
allowed-conclusions: success
|
||||||
|
|
||||||
|
- name: Wait for debian package
|
||||||
|
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
check-name: Build package
|
||||||
|
allowed-conclusions: success
|
||||||
|
44
.github/workflows/release_prepare.yml
vendored
44
.github/workflows/release_prepare.yml
vendored
@ -78,3 +78,47 @@ jobs:
|
|||||||
|
|
||||||
- name: Push staging
|
- name: Push staging
|
||||||
run: for REPO in $REPOS; do [ -d "$REPO" ] && git -C "$REPO" push origin staging; done
|
run: for REPO in $REPOS; do [ -d "$REPO" ] && git -C "$REPO" push origin staging; done
|
||||||
|
|
||||||
|
- name: Wait for matrix-js-sdk draft
|
||||||
|
if: inputs.matrix-js-sdk
|
||||||
|
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
|
||||||
|
with:
|
||||||
|
ref: staging
|
||||||
|
repo: matrix-org/matrix-js-sdk
|
||||||
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
check-name: draft
|
||||||
|
allowed-conclusions: success
|
||||||
|
|
||||||
|
- name: Wait for matrix-react-sdk draft
|
||||||
|
if: inputs.matrix-react-sdk
|
||||||
|
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
|
||||||
|
with:
|
||||||
|
ref: staging
|
||||||
|
repo: matrix-org/matrix-react-sdk
|
||||||
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
check-name: draft
|
||||||
|
allowed-conclusions: success
|
||||||
|
|
||||||
|
- name: Wait for element-web draft
|
||||||
|
if: inputs.element-web
|
||||||
|
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
|
||||||
|
with:
|
||||||
|
ref: staging
|
||||||
|
repo: element-hq/element-web
|
||||||
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
check-name: draft
|
||||||
|
allowed-conclusions: success
|
||||||
|
|
||||||
|
- name: Wait for element-desktop draft
|
||||||
|
if: inputs.element-desktop
|
||||||
|
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
|
||||||
|
with:
|
||||||
|
ref: staging
|
||||||
|
repo: element-hq/element-desktop
|
||||||
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
wait-interval: 10
|
||||||
|
check-name: draft
|
||||||
|
allowed-conclusions: success
|
||||||
|
Loading…
Reference in New Issue
Block a user