Skip to content

Commit

Permalink
chore: move benchmark-test job in build_and_test.yaml (envoyproxy#3692)
Browse files Browse the repository at this point in the history
* add benchmark-test job in build_and_test.yaml

Signed-off-by: shawnh2 <[email protected]>

* fix lint

Signed-off-by: shawnh2 <[email protected]>

* reduce benchmark test duration to boost ci

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
  • Loading branch information
shawnh2 authored Jul 1, 2024
1 parent c2983b5 commit 828edfb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 56 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/benchmark.yaml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,29 @@ jobs:
IMAGE_PULL_POLICY: IfNotPresent
run: make e2e

benchmark-test:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./tools/github-actions/setup-deps

# Benchmark
- name: Run Benchmark tests
env:
KIND_NODE_TAG: v1.28.9
IMAGE_PULL_POLICY: IfNotPresent
# Args for benchmark test
BENCHMARK_RPS: 10000
BENCHMARK_CONNECTIONS: 100
BENCHMARK_DURATION: 30
BENCHMARK_CPU_LIMITS: 1000
BENCHMARK_MEMORY_LIMITS: 2000
run: make benchmark

- name: Read Benchmark report
run: cat test/benchmark/benchmark_report.md

publish:
runs-on: ubuntu-latest
needs: [conformance-test, e2e-test]
Expand Down

0 comments on commit 828edfb

Please sign in to comment.