End to End All K8s #380
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 All K8s | |
on: | |
pull_request: | |
types: [labeled, opened, synchronize, reopened] | |
schedule: | |
- cron: "0 0 * * 6" | |
permissions: {} | |
jobs: | |
e2e: | |
name: E2E All K8s | |
if: contains(github.event.pull_request.labels.*.name, 'e2e-all-k8s') | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
globalnet: ['', 'globalnet'] | |
# All non-EOL K8s versions not tested in E2E-full | |
# https://submariner.io/development/building-testing/ci-maintenance/ | |
k8s_version: ['1.27', '1.28'] | |
lighthouse: ['', 'lighthouse'] | |
ovn: ['', 'ovn'] | |
exclude: | |
- ovn: 'ovn' | |
lighthouse: 'lighthouse' | |
- ovn: 'ovn' | |
globalnet: 'globalnet' | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Run E2E deployment and tests | |
uses: submariner-io/shipyard/gh-actions/e2e@devel | |
with: | |
k8s_version: ${{ matrix.k8s_version }} | |
using: ${{ matrix.globalnet }} ${{ matrix.lighthouse }} ${{ matrix.ovn }} | |
- name: Post mortem | |
if: failure() | |
uses: submariner-io/shipyard/gh-actions/post-mortem@devel |