Advancing 0.16.7 release to status: admiral #1227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Validation | |
on: | |
pull_request: | |
# Unlabeled is needed when `dependent` label is removed, to re-validate the release. | |
types: [unlabeled, opened, synchronize, reopened] | |
permissions: {} | |
jobs: | |
yamls: | |
name: Release YAMLs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
with: | |
fetch-depth: 0 | |
- name: Validate release YAMLs | |
run: make validate | |
# This job runs the script in "dryrun" mode, not doing any changes to the repo. | |
# This should make sure the script at least works as intended (given a valid yaml). | |
release: | |
name: Dry-run the Release | |
needs: yamls | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU (to support building on non-native architectures) | |
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 | |
- name: Create the release in dry-run mode | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} | |
run: make do-release DRY_RUN=true |