-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stress-ng benchmark job in workflow
Signed-off-by: nikimanoledaki <niki.manoledaki@grafana.com>
- Loading branch information
1 parent
c165d4f
commit 0a849a4
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |