mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
Use the new ability of the shared E2E GHA to configure the Kubernetes version. Add jobs that cover the latest available patch versions (limited by kind images) from the three most recent minor versions. Only run one E2E job with all-default configuration per K8s version, for some coverage with minimal overhead. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
37 lines
989 B
YAML
37 lines
989 B
YAML
---
|
|
name: End to End Tests
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
e2e:
|
|
name: E2E
|
|
timeout-minutes: 30
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
cable_driver: ['libreswan', 'wireguard']
|
|
globalnet: ['', 'globalnet']
|
|
k8s_version: ['1.17.17']
|
|
lighthouse: ['', 'lighthouse']
|
|
include:
|
|
# Recentness of K8s versions are limited by kindest/node image releases
|
|
- k8s_version: 1.18.15
|
|
- k8s_version: 1.19.7
|
|
- k8s_version: 1.20.2
|
|
steps:
|
|
- name: Check out the repository
|
|
uses: actions/checkout@v2
|
|
|
|
- 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
|