Skip to content

Commit 09f2961

Browse files
ci: pin the microbenchmarks code to a particular commit (#15374)
This change pins the checkout of the benchmarking-platform repo such that updates to that repo do not affect this repo's CI without manual intervention. --------- Co-authored-by: brettlangdon <brett.langdon@datadoghq.com>
1 parent a14402e commit 09f2961

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab/benchmarks/microbenchmarks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ variables:
1010
PACKAGE_IMAGE: registry.ddbuild.io/images/mirror/pypa/manylinux2014_x86_64:2025-04-12-5990e2d
1111
GITHUB_CLI_IMAGE: registry.ddbuild.io/images/dd-octo-sts-ci-base:2025.06-1
1212
BENCHMARKING_BRANCH: dd-trace-py
13+
BENCHMARKING_COMMIT_SHA: e7bbac96e1ae9bfb5f8906dcdf103b08f5ca0805
1314

1415
.benchmarks:
1516
stage: test
@@ -30,6 +31,7 @@ variables:
3031
git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/".insteadOf "https://github.com/DataDog/"
3132
fi
3233
git clone --branch "${BENCHMARKING_BRANCH}" https://github.com/DataDog/benchmarking-platform /platform
34+
(cd /platform && git reset --hard "${BENCHMARKING_COMMIT_SHA}")
3335
export PATH="$PATH:/platform/steps"
3436
3537
capture-hardware-software-info.sh

0 commit comments

Comments
 (0)