From 415cce9752848f94b8baae9722cf8dadde796ec4 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 9 Nov 2023 15:46:38 +0200 Subject: [PATCH] Normalise commands Signed-off-by: Stefan Prodan --- .github/workflows/test.yaml | 2 +- README.md | 12 ++++++------ timoni/bundles/flux-helm-benchmark.cue | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b8937d5..a270185 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,7 +29,7 @@ jobs: - name: Run kustomize benchmark run: KS=500 timoni bundle apply -f timoni/bundles/flux-kustomize-benchmark.cue --runtime-from-env --timeout=10m - name: Run helm benchmark - run: HRS=500 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m + run: HR=500 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m - name: Debug failure if: failure() run: | diff --git a/README.md b/README.md index d6e33ff..8bfc235 100644 --- a/README.md +++ b/README.md @@ -73,13 +73,13 @@ make timoni-push ### Flux Kustomization Benchmark -Run benchmark for OCI artifact pull and Flux Kustomization install: +Run the benchmark for OCI artifact pull and Flux Kustomization install: ```shell KS=100 timoni bundle apply -f timoni/bundles/flux-kustomize-benchmark.cue --runtime-from-env --timeout=10m ``` -Run benchmark for Flux Kustomization upgrade: +Run the benchmark for Flux Kustomization upgrade: ```shell KS=100 MCPU=2 timoni bundle apply -f timoni/bundles/flux-kustomize-benchmark.cue --runtime-from-env --timeout=10m @@ -93,16 +93,16 @@ timoni bundle delete flux-kustomize-benchmark ### Flux HelmRelease Benchmark -Run benchmark for Helm chart pull and Helm Release install: +Run the benchmark for Helm chart pull and Flux HelmRelease install: ```shell -HRS=100 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m +HR=100 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m ``` -Run benchmark for Helm Release upgrade: +Run the benchmark for Flux HelmRelease upgrade: ```shell -HRS=100 MCPU=2 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m +HR=100 MCPU=2 timoni bundle apply -f timoni/bundles/flux-helm-benchmark.cue --runtime-from-env --timeout=10m ``` Teardown: diff --git a/timoni/bundles/flux-helm-benchmark.cue b/timoni/bundles/flux-helm-benchmark.cue index d54be12..c90b525 100644 --- a/timoni/bundles/flux-helm-benchmark.cue +++ b/timoni/bundles/flux-helm-benchmark.cue @@ -11,7 +11,7 @@ bundle: { version: "6.5.3" interval: 60 } - releases: 100 @timoni(runtime:number:HRS) + releases: 100 @timoni(runtime:number:HR) replicas: 0 requests: { cpu: 1 @timoni(runtime:number:MCPU)