Skip to content

Commit 7fbaac3

Browse files
committed
Remove redundant reference
1 parent 73a4140 commit 7fbaac3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.gitlab/benchmarks.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,8 @@
6060
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
6161
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev \
6262
&& rm -rf /var/lib/apt/lists/*
63-
rm -rf "$PYENV_ROOT"
6463
git clone --depth 1 https://github.com/pyenv/pyenv.git --branch "v$PYENV_BRANCH_VERSION" --single-branch "$PYENV_ROOT"
65-
# Check if Python 3.9.6 is already installed, if not install it
66-
if [ ! -d "$PYENV_ROOT/versions/$PYTHON_VERSION" ]; then
67-
pyenv install "$PYTHON_VERSION"
68-
fi
64+
pyenv install "$PYTHON_VERSION"
6965
pyenv global "$PYTHON_VERSION"
7066
- export ARTIFACTS_DIR="$(pwd)/reports" && mkdir -p "${ARTIFACTS_DIR}"
7167
- export CONVERTED_DIR="${ARTIFACTS_DIR}/converted" && mkdir -p "${CONVERTED_DIR}"
@@ -75,6 +71,7 @@
7571
echo "WARNING: CI_JOB_TOKEN not set, skipping benchmark-analyzer installation"
7672
else
7773
echo "Installing benchmark-analyzer from relenv-benchmark-analyzer..."
74+
export PATH="/pyenv/shims:/pyenv/bin:$PATH"
7875
git clone --branch sarahchen6/add-java-microbenchmark-scripts https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/relenv-benchmark-analyzer /tmp/benchmark-analyzer
7976
cd /tmp/benchmark-analyzer
8077
sed -i "s#ssh://git@github.com/DataDog#https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog#g" setup.cfg
@@ -181,7 +178,6 @@ convert-startup-benchmarks:
181178
- when: on_success
182179
interruptible: true
183180
script:
184-
- !reference [.convert-benchmarks, before_script]
185181
- |
186182
echo "=== Converting startup benchmark artifacts ==="
187183
# Check if artifacts directory exists
@@ -270,7 +266,6 @@ convert-dacapo-benchmarks:
270266
- when: on_success
271267
interruptible: true
272268
script:
273-
- !reference [.convert-benchmarks, before_script]
274269
- |
275270
echo "=== Converting dacapo benchmark artifacts ==="
276271
# Check if artifacts directory exists
@@ -375,7 +370,6 @@ convert-load-benchmarks:
375370
- when: on_success
376371
interruptible: true
377372
script:
378-
- !reference [.convert-benchmarks, before_script]
379373
- |
380374
echo "=== Processing load benchmark artifacts ==="
381375
# Check if artifacts directory exists

0 commit comments

Comments
 (0)