Skip to content

Commit

Permalink
Run benchmarks 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 8, 2023
1 parent 287c940 commit ef7fc90
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 9 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: benchmark

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

permissions:
contents: read

jobs:
e2e:
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 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
- name: Debug failure
if: failure()
run: |
kubectl -n flux-system get pods
flux get all --all-namespaces
9 changes: 0 additions & 9 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# Kubernetes
brew "kubectl"
brew "kind"

# Kubernetes tools
brew "yq"
brew "jq"
brew "cue"
brew "helm"

# OCI tools
brew "crane"
brew "cosign"

# Flux
tap "fluxcd/tap"
brew "fluxcd/tap/flux"
Expand Down

0 comments on commit ef7fc90

Please sign in to comment.