From d4969b59a9dcb60f489454aa62a2c81d57763237 Mon Sep 17 00:00:00 2001 From: nikimanoledaki Date: Fri, 11 Oct 2024 11:28:35 +0200 Subject: [PATCH] Add stress-ng benchmark job in workflow Signed-off-by: nikimanoledaki --- .github/workflows/workflow.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..cb37c67 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,15 @@ +on: {} + +jobs: + stress-ng-test: + runs-on: ubuntu-22.04 + steps: + - run: | + # the action to take here depends on the Functional Unit of the CNCF project. wait for amount of time, for resources + kubectl apply -f https://raw.githubusercontent.com/falcosecurity/cncf-green-review-testing/main/kustomize/falco-driver/ebpf/stress-ng.yaml + # the one above is a workflow with a single benchmark job, but if your workflow needs multiple benchmark job, it is enough to define additional steps: + # e.g. for redis-test: kubectl apply -f https://github.com/falcosecurity/cncf-green-review-testing/blob/main/kustomize/falco-driver/ebpf/redis.yaml + # for event-generator-test -> kubectl apply -f https://github.com/falcosecurity/cncf-green-review-testing/blob/main/kustomize/falco-driver/ebpf/falco-event-generator.yaml + wait 15m + - run: | + kubectl delete -f https://raw.githubusercontent.com/falcosecurity/cncf-green-review-testing/main/kustomize/falco-driver/ebpf/stress-ng.yaml # other Falco tests: