Skip to content

Automated backport of #3620: Add force-udp-encaps coverage in tests #8566

Automated backport of #3620: Add force-udp-encaps coverage in tests

Automated backport of #3620: Add force-udp-encaps coverage in tests #8566

Workflow file for this run

---
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- 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: ['', 'wireguard', 'vxlan']
extra-toggles: ['', 'ovn']
globalnet: ['', 'globalnet']
# Run most tests against the latest K8s version
k8s_version: ['k8s-latest']
exclude:
- cable-driver: wireguard
extra-toggles: ovn
include:
- extra-toggles: dual-stack
- extra-toggles: dual-stack, globalnet
- extra-toggles: ipv6-stack
- extra-toggles: nftables
- extra-toggles: nftables, ovn
- extra-toggles: nftables, globalnet
- extra-toggles: dual-stack, ovn, force-udp-encaps
- extra-toggles: dual-stack, ovn
# Oldest Kubernetes version thought to work with SubM.
# If this breaks, we may advance the oldest-working K8s version instead of fixing it. See:
# https://submariner.io/development/building-testing/ci-maintenance/
- k8s_version: 'k8s-oldest-working'
# Test top and bottom of supported K8s version range
- k8s_version: 'k8s-oldest-supported'
steps:
- name: Check out the repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/[email protected]
with:
using: ${{ matrix.globalnet }} ${{ matrix.cable-driver }} ${{ matrix.extra-toggles }}
- name: Post mortem
if: failure()
uses: submariner-io/shipyard/gh-actions/[email protected]