Skip to content

Commit 29aaffd

Browse files
committed
use env vars
1 parent e3bd4fb commit 29aaffd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.gitlab/benchmarks/macrobenchmarks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ candidate:
2121
- pipeline: $PARENT_PIPELINE_ID
2222
job: download_ddtrace_artifacts
2323
script: |
24-
cp pywheels/*-cp39-cp39-manylinux*_x86_64*.whl ./ddtrace-3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
24+
cp pywheels/*-cp39-cp39-manylinux*_x86_64*.whl ./
25+
echo "CANDIDATE_WHL=$(ls *.whl | head -n 1)" | tee candidate.env
2526
artifacts:
27+
reports:
28+
dotenv: candidate.env
2629
paths:
2730
- "*.whl"
2831

@@ -55,7 +58,7 @@ candidate:
5558
- platform/artifacts/
5659
expire_in: 3 months
5760
variables:
58-
DDTRACE_INSTALL_VERSION: "../ddtrace-3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
61+
DDTRACE_INSTALL_VERSION: "${CI_PROJECT_DIR}/${CANDIDATE_WHL}"
5962

6063
# Benchmark's env variables. Modify to tweak benchmark parameters.
6164
DD_TRACE_DEBUG: "false"

0 commit comments

Comments
 (0)