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 5bad2db
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitlab/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@ 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:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/".insteadOf "https://github.com/DataDog/"
- git clone --branch dd-trace-py https://github.com/DataDog/benchmarking-platform /platform && cd /platform
- 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 5bad2db

Please sign in to comment.