Undo event filtering #24
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: benchmark | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
bench: | |
strategy: | |
matrix: | |
RESOURCES: [ 100, 500, 1000 ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install tools | |
run: make tools | |
- name: Create cluster | |
run: make up | |
- name: Push modules | |
run: make timoni-push | |
- name: Install Flux | |
run: make flux-up | |
- name: Run kustomize install benchmark | |
run: KS=${{ matrix.RESOURCES }} timoni bundle apply -f timoni/bundles/flux-benchmark.cue --runtime-from-env --timeout=30m | |
- name: Run kustomize upgrade benchmark | |
run: KS=${{ matrix.RESOURCES }} MCPU=2 timoni bundle apply -f timoni/bundles/flux-benchmark.cue --runtime-from-env --timeout=30m | |
- name: Run helm install benchmark | |
run: HR=${{ matrix.RESOURCES }} timoni bundle apply -f timoni/bundles/flux-benchmark.cue --runtime-from-env --timeout=30m | |
- name: Run helm upgrade benchmark | |
run: HR=${{ matrix.RESOURCES }} MCPU=2 timoni bundle apply -f timoni/bundles/flux-benchmark.cue --runtime-from-env --timeout=30m | |
- name: Debug failure | |
if: failure() | |
run: | | |
kubectl -n flux-system get pods | |
flux get all --all-namespaces |