Automated backport of #2743: Use leader election in globalnet controller #4885
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: End to End | |
on: | |
pull_request: | |
types: [labeled, opened, synchronize, reopened] | |
permissions: {} | |
jobs: | |
images: | |
name: Images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Build the images if necessary | |
uses: submariner-io/shipyard/gh-actions/[email protected] | |
# Both E2E jobs have the same name; the default job is un-suffixed, the full jobs are suffixed with their matrix combination | |
e2e-default: | |
name: E2E | |
needs: images | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Run E2E deployment and tests | |
uses: submariner-io/shipyard/gh-actions/[email protected] | |
- name: Post mortem | |
if: failure() | |
uses: submariner-io/shipyard/gh-actions/[email protected] | |
e2e-full: | |
name: E2E | |
needs: images | |
if: contains(github.event.pull_request.labels.*.name, 'ready-to-test') | |
timeout-minutes: 45 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
cable-driver: ['libreswan', 'wireguard', 'vxlan'] | |
extra-toggles: ['', 'globalnet', 'ovn'] | |
exclude: | |
- cable-driver: wireguard | |
extra-toggles: ovn | |
include: | |
- extra-toggles: dual-stack | |
- extra-toggles: dual-stack, globalnet | |
- extra-toggles: globalnet, ovn | |
- extra-toggles: external-net | |
- extra-toggles: external-net, globalnet | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Run E2E deployment and tests | |
uses: submariner-io/shipyard/gh-actions/[email protected] | |
with: | |
using: ${{ matrix.cable-driver }} ${{ matrix.extra-toggles }} | |
- name: Post mortem | |
if: failure() | |
uses: submariner-io/shipyard/gh-actions/[email protected] |