Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ci/cloudbuild/dockerfiles/checkers.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ RUN curl -L -o /usr/bin/buildifier https://github.com/bazelbuild/buildtools/rele
RUN curl -L -o /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.4.3/shfmt_v3.4.3_linux_${ARCH} && \
chmod 755 /usr/local/bin/shfmt

# Install standard Artifact Registry keyring authentication backend
# This is needed for using `--index-url` in requirements.txt
RUN pip3 install --no-cache-dir keyrings.google-artifactregistry-auth

COPY ./requirements.txt /var/tmp/ci/requirements.txt
WORKDIR /var/tmp/downloads
RUN if [ $(ls /var/tmp/ci/requirements.txt | grep -c requirements.txt) -eq 0 ] ; \
Expand Down
1 change: 1 addition & 0 deletions ci/cloudbuild/dockerfiles/debian-12-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10

COPY ./requirements.txt /var/tmp/ci/requirements.txt
RUN pip3 install --break-system-packages --no-cache-dir keyrings.google-artifactregistry-auth
RUN pip3 install --break-system-packages --require-hashes --no-deps \
-r /var/tmp/ci/requirements.txt

Expand Down
4 changes: 4 additions & 0 deletions ci/cloudbuild/dockerfiles/ubuntu-22.04-full.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ ENV LC_ALL en_US.UTF-8
# clang-tidy-cache needs python
RUN update-alternatives --install /usr/bin/python python $(which python3) 10

# Install standard Artifact Registry keyring authentication backend
# This is needed for using `--index-url` in requirements.txt
RUN pip3 install --no-cache-dir keyrings.google-artifactregistry-auth

COPY ./requirements.txt /var/tmp/ci/requirements.txt
WORKDIR /var/tmp/downloads
RUN if [ $(ls /var/tmp/ci/requirements.txt | grep -c requirements.txt) -eq 0 ] ; \
Expand Down
4 changes: 4 additions & 0 deletions ci/cloudbuild/dockerfiles/ubuntu-22.04-install.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ ENV PATH=/opt/cmake/bin:$PATH
# clang-tidy-cache needs python
RUN update-alternatives --install /usr/bin/python python $(which python3) 10

# Install standard Artifact Registry keyring authentication backend
# This is needed for using `--index-url` in requirements.txt
RUN pip3 install --no-cache-dir keyrings.google-artifactregistry-auth

COPY ./requirements.txt /var/tmp/ci/requirements.txt
WORKDIR /var/tmp/downloads
RUN if [ $(ls /var/tmp/ci/requirements.txt | grep -c requirements.txt) -eq 0 ] ; \
Expand Down
3 changes: 3 additions & 0 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#
# pip-compile --allow-unsafe --generate-hashes requirements.in
#

--index-url https://us-python.pkg.dev/artifact-foundry-prod/python-3p-trusted/simple/

black==26.3.1 \
--hash=sha256:0126ae5b7c09957da2bdbd91a9ba1207453feada9e9fe51992848658c6c8e01c \
--hash=sha256:0f76ff19ec5297dd8e66eb64deda23631e642c9393ab592826fd4bdc97a4bce7 \
Expand Down
Loading