Build e2e chart locally #2117
Workflow file for this run
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
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: e2e tests | |
run: LOCAL_BUILD=true make e2e-tests | |
- name: Upload chart | |
uses: actions/upload-artifact@v4 | |
with: | |
name: chart | |
path: build/*.tgz | |
overwrite: true | |
- name: Archive artifacts | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ci-artifacts | |
path: _artifacts | |
if-no-files-found: ignore | |
overwrite: true |