Skip to content

Adding check RC step to pull request workflow running on release branches #5628

Adding check RC step to pull request workflow running on release branches

Adding check RC step to pull request workflow running on release branches #5628

Workflow file for this run

name: CI-pullrequest
on:
pull_request:
branches:
- dev-v*
- release-v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout into branch
run: git checkout -b staging-pr-workflow
- name: Pull scripts
run: sudo make pull-scripts
- name: Pull in all relevant branches
run: git fetch origin release-v2.6
- name: Validate
run: sudo make validate
- name: Run Hull tests
run: cd tests && go test -v ./...
- name: Check container images
run: make check-images
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Check RC images and charts
run: make check-rc
if: startsWith(github.ref, 'refs/heads/upstream/release-v')