Skip to content

Build e2e chart locally #2110

Build e2e chart locally

Build e2e chart locally #2110

Workflow file for this run

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.1
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