Skip to content

performance test: creating multiple clusters at once #188

performance test: creating multiple clusters at once

performance test: creating multiple clusters at once #188

Workflow file for this run

name: Test - E2E - EnvTest with Cluster # e2e tests running against a k8s cluster
on:
pull_request:
branches: [ main ]
types: [opened,reopened,synchronize,closed]
permissions:
contents: read
pull-requests: write
id-token: write
jobs:
minikube-default:
name: Run e2e tests against Minikube
if: ${{ github.event_name == 'pull_request' && github.event.action != 'closed' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Flux CLI # used in the make command
uses: fluxcd/flux2/action@main
- name: Run e2e tests against current cluster
run: |
make test-e2e-with-cluster-local
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
minikube-tainted:
name: Run e2e tests against Minikube (TAINTED)
if: ${{ github.event_name == 'pull_request' && github.event.action != 'closed' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
- name: Run e2e tests against current tainted cluster
run: |
make test-e2e-with-tainted-cluster-local
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
performance-tests-on-minikube:
name: Run e2e tests against Minikube
if: ${{ github.event_name == 'pull_request' && github.event.action != 'closed' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download Helm Values Artifact
uses: actions/download-artifact@v3
with:
name: helm-values
- name: Start Minikube
run: make start-test-minikube
- name: Install Uffizzi Cluster Operator
id: prev
run: |
helm dep update ./chart
helm upgrade --install --wait pr-${{ github.event.pull_request.number }} \
./chart -f helm-values.yaml
- name: Run e2e tests against current cluster
run: |
make test-e2e-perf-with-cluster
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3