-
Notifications
You must be signed in to change notification settings - Fork 17
49 lines (47 loc) · 1.41 KB
/
e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: e2e tests
on:
pull_request:
concurrency:
group: e2e-tests=full-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs:
e2e-tests:
continue-on-error: true
strategy:
fail-fast: false
matrix:
kubernetes: ["v1.25.16", "v1.26.15", "v1.27.13", "v1.28.9"]
replicas: ["1"]
rancherVersion : ["2.8.5"]
runs-on: ubuntu-latest
name: k8s ${{ matrix.kubernetes }} - Rancher ${{ matrix.rancherVersion }} - ${{ matrix.replicas }} replicas
env:
OPERATOR_REPLICAS: ${{ matrix.replicas }}
RANCHER_VERSION: ${{ matrix.rancherVersion }}
KUBE_VERSION: ${{ matrix.kubernetes }}
NGINX_VERSION: controller-v1.9.1
CERT_MANAGER_VERSION: v1.13.1
SYSTEM_UPGRADE_CONTROLLER_VERSION: v0.13.4
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup full cluster
run: LOCAL_BUILD=true make setup-full-cluster
- name: Upload chart
uses: actions/upload-artifact@v4
with:
name: chart
path: build/*.tgz
overwrite: true
- name: e2e tests
run: make e2e-tests
- name: Archive artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: ci-artifacts
path: _artifacts
if-no-files-found: ignore
overwrite: true