From e0c75d7db2ac787df26a88c97429bf371ae4a4d2 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Thu, 25 Mar 2021 13:10:40 -0400 Subject: [PATCH] Test K8s versions 1.18, 1.19, and 1.20 in E2E 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 --- .github/workflows/e2e.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index bcd5fd7..b705eac 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,7 +14,13 @@ jobs: 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 @@ -22,6 +28,7 @@ jobs: - 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