Disable http2 from the readyness listener #1751
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: OLM | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: | |
- main | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
- "v[0-9]+.[0-9]+" | |
defaults: | |
run: | |
shell: bash | |
working-directory: metallboperator | |
jobs: | |
main: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
go: [ '1.20' ] | |
name: Go ${{ matrix.go }} | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout Metal LB Operator | |
uses: actions/checkout@v2 | |
with: | |
path: metallboperator | |
fetch-depth: 0 # Fetch all history for all tags and branches | |
- uses: actions/setup-go@v2 | |
id: go | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Verify modules | |
run: go mod verify | |
- name: Verify format | |
run: | | |
make fmt | |
git diff --exit-code | |
- name: Verify release bundle manifests | |
run: | | |
make bundle-release | |
git diff --exit-code -I'^ createdAt: ' bundle | |
- name: Create and set up K8s Kind Cluster | |
run: | | |
./hack/kind-cluster-with-registry.sh | |
make deploy-olm | |
- name: Build bundle image | |
run: | | |
make build-and-push-bundle-images REPO=localhost:5000 | |
- name: Deploy Metal LB Operator with OLM | |
run: | | |
make deploy-with-olm REPO=localhost:5000 | |
- name: E2E Tests | |
run: | | |
export KUBECONFIG=${HOME}/.kube/config | |
make test-validation | |
make test-e2e | |
- name: Archive E2E Tests logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test_e2e_logs | |
path: /tmp/test_e2e_logs/ | |
- name: Export kind logs | |
if: ${{ failure() }} | |
run: | | |
kind export logs /tmp/kind_logs | |
- name: Archive kind logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: kind_logs | |
path: /tmp/kind_logs |