2022-01-04 00:10:36 +00:00
|
|
|
name: CI-pullrequest
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2022-08-29 18:57:07 +00:00
|
|
|
- dev-v*
|
|
|
|
- release-v*
|
2022-01-04 00:10:36 +00:00
|
|
|
|
|
|
|
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
|
2023-05-15 14:20:38 +00:00
|
|
|
|
|
|
|
- name: Run Hull tests
|
2023-08-17 20:41:28 +00:00
|
|
|
run: cd tests && go test -v ./...
|
|
|
|
|
|
|
|
- name: Check container images
|
|
|
|
run: make check-images
|
|
|
|
env:
|
|
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
2023-08-31 16:04:53 +00:00
|
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
|
|
|
|
- name: Check RC images and charts
|
|
|
|
run: make check-rc
|
2023-09-21 18:16:34 +00:00
|
|
|
if: startsWith(github.ref, 'refs/heads/release-v')
|