Skip to content

Advancing 0.18.0-rc1 release to status: admiral #1232

Advancing 0.18.0-rc1 release to status: admiral

Advancing 0.18.0-rc1 release to status: admiral #1232

Workflow file for this run

---
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@a5ac7e51b41094c92402da3b24376905380afc29
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@a5ac7e51b41094c92402da3b24376905380afc29
with:
fetch-depth: 0
- name: Set up QEMU (to support building on non-native architectures)
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3
- 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