Skip to content

Commit

Permalink
ci: check for benchmark regressions on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed Jan 22, 2025
1 parent 2f52abb commit 78c1715
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitlab/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,19 @@ benchmarks-pr-comment:
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA # The commit revision the project is built for.
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: dd-trace-py

check-big-regressions:
stage: benchmarks
needs: [ microbenchmarks, benchmark-serverless ]
when: on_success
tags: ["arch:amd64"]
image: $MICROBENCHMARKS_CI_IMAGE
script:
- cd platform && (git init && git remote add origin https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform && git pull origin dd-trace-py)
- bp-runner bp-runner.fail-on-regression.yml --debug
variables:
# Gitlab and BP specific env vars. Do not modify.
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: dd-trace-py

benchmark-serverless:
stage: benchmarks
image: $SLS_CI_IMAGE
Expand Down

0 comments on commit 78c1715

Please sign in to comment.