Flake Finder #2927
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: Flake Finder | |
on: | |
schedule: | |
- cron: "0 0,1 * * *" | |
permissions: {} | |
jobs: | |
e2e: | |
name: E2E | |
if: github.repository_owner == 'submariner-io' | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
cable_driver: ['libreswan', 'wireguard'] | |
globalnet: ['', 'globalnet'] | |
# Run most tests against the latest K8s version | |
k8s_version: ['1.28'] | |
lighthouse: ['', 'lighthouse'] | |
include: | |
# Bottom of supported K8s version range | |
- k8s_version: '1.26' | |
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.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }} | |
- name: Post mortem | |
if: failure() | |
uses: submariner-io/shipyard/gh-actions/post-mortem@devel | |
upgrade-e2e: | |
name: Latest Release to Latest Version | |
if: github.repository_owner == 'submariner-io' | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Install an old cluster, upgrade it and check it | |
uses: submariner-io/shipyard/gh-actions/upgrade-e2e@devel | |
- name: Post mortem | |
if: failure() | |
uses: submariner-io/shipyard/gh-actions/post-mortem@devel |