[release-v2.8] OOB Charts release for rancher-webhook 0.4.0, rancher-external-ip-webhook and system-upgrade-controller 103.0.0+up0.6.0 #6105
Workflow file for this run
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: CI-pullrequest | |
on: | |
pull_request_target: | |
branches: | |
- dev-v* | |
- release-v* | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout base branch | |
uses: actions/checkout@v3 | |
- name: Checkout PR | |
run: gh pr checkout ${{ github.event.pull_request.number }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Checkout into branch | |
run: git checkout -b staging-pr-workflow | |
- name: Pull scripts | |
run: sudo make pull-scripts | |
- name: Check release.yaml | |
run: make check-release-yaml | |
- name: Validate | |
run: sudo make validate | |
- name: Run Hull tests | |
run: cd tests && go test -v ./... | |
check-images: | |
name: Check Container Images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout base branch | |
uses: actions/checkout@v3 | |
- name: Checkout PR | |
run: gh pr checkout ${{ github.event.pull_request.number }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check container images | |
run: make check-images | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
check-rc: | |
name: Check RC Images and Charts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout base branch | |
uses: actions/checkout@v3 | |
- name: Checkout PR | |
run: gh pr checkout ${{ github.event.pull_request.number }} | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check RC images and charts | |
run: make check-rc | |
if: startsWith(github.ref, 'refs/heads/release-v') |