Skip to content

Commit 2351916

Browse files
authored
refactor(runner): Pin dda version instead of pulling from datadog-agent-buildimages (#1639)
1 parent 83c2339 commit 2351916

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ENV HELM_VERSION=3.12.3
99
ENV HELM_SHA=1b2313cd198d45eab00cc37c38f6b1ca0a948ba279c29e322bdf426d406129b5
1010
ARG CI_UPLOADER_SHA=873976f0f8de1073235cf558ea12c7b922b28e1be22dc1553bf56162beebf09d
1111
ARG CI_UPLOADER_VERSION=2.30.1
12+
ARG DDA_VERSION=v0.23.1
1213
# Skip Pulumi update warning https://www.pulumi.com/docs/cli/environment-variables/
1314
ENV PULUMI_SKIP_UPDATE_CHECK=true
1415
# Always prevent installing dependencies dynamically
@@ -125,8 +126,7 @@ RUN --mount=type=secret,id=github_token \
125126

126127
# Install Agent requirements, required to run invoke tests task
127128
# Remove AWS-related deps as we already install AWS CLI v2
128-
RUN DDA_VERSION="$(curl -s https://raw.githubusercontent.com/DataDog/datadog-agent-buildimages/main/dda.env | awk -F= '/^DDA_VERSION=/ {print $2}')" && \
129-
pip3 install --no-cache-dir "git+https://github.com/DataDog/datadog-agent-dev.git@${DDA_VERSION}" && \
129+
RUN pip3 install --no-cache-dir "git+https://github.com/DataDog/datadog-agent-dev.git@${DDA_VERSION}" && \
130130
dda -v self dep sync -f legacy-e2e -f legacy-github && \
131131
# Disable update check as it is not needed in the CI and it can pollute the output when displaying changelog
132132
dda config set update.mode off && \

0 commit comments

Comments
 (0)