forked from argoproj/argo-rollouts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run e2e tests on multiple kubernetes versions (argoproj#2380)
closes argoproj#2171 Use k3s release channel per kubernetes minor version (see https://get.k3s.io/ `INSTALL_K3S_CHANNEL_URL` & `INSTALL_K3S_CHANNEL`) Signed-off-by: Thomas Riccardi <[email protected]> Signed-off-by: Thomas Riccardi <[email protected]>
- Loading branch information
1 parent
2845399
commit 55c25a8
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,12 @@ jobs: | |
name: Event File | ||
path: ${{ github.event_path }} | ||
test-e2e: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
kubernetes-minor-version: | ||
- 1.23 | ||
- 1.24 | ||
name: Run end-to-end tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -43,6 +49,8 @@ jobs: | |
go-version: 1.19 | ||
- uses: actions/[email protected] | ||
- name: Setup k3s | ||
env: | ||
INSTALL_K3S_CHANNEL: v${{ matrix.kubernetes-minor-version }} | ||
run: | | ||
curl -sfL https://get.k3s.io | sh - | ||
sudo mkdir ~/.kube | ||
|
@@ -77,12 +85,12 @@ jobs: | |
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: E2E Test Results | ||
name: E2E Test Results (k8s ${{ matrix.kubernetes-minor-version }}) | ||
path: | | ||
junit.xml | ||
- name: Upload e2e-controller logs | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: e2e-controller-k8s.log | ||
name: e2e-controller-k8s-${{ matrix.kubernetes-minor-version }}.log | ||
path: /tmp/e2e-controller.log | ||
if: ${{ failure() }} |