Skip to content

Commit

Permalink
Run benchmark matrix in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Nov 10, 2023
1 parent 66fcb89 commit 7b761a3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ permissions:
contents: read

jobs:
e2e:
bench:
strategy:
matrix:
RESOURCES: [ 100, 300, 500 ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -27,9 +30,9 @@ jobs:
- name: Install Flux
run: make flux-up
- name: Run kustomize benchmark
run: KS=500 timoni bundle apply -f timoni/bundles/flux-kustomize-benchmark.cue --runtime-from-env --timeout=10m
run: KS=${{ matrix.RESOURCES }} timoni bundle apply -f timoni/bundles/flux-benchmark.cue --runtime-from-env --timeout=30m
- name: Run helm benchmark
run: HR=500 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m
run: HR=${{ matrix.RESOURCES }} timoni bundle apply -f timoni/bundles/flux-benchmark.cue --runtime-from-env --timeout=30m
- name: Debug failure
if: failure()
run: |
Expand Down

0 comments on commit 7b761a3

Please sign in to comment.