Skip to content

Commit 08298a7

Browse files
committed
testing
1 parent f17c0f9 commit 08298a7

12 files changed

Lines changed: 2340 additions & 26 deletions

File tree

community/cos-nvidia-bug-report/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ RUN python3 -m venv .venv
5050
RUN . .venv/bin/activate
5151

5252
# Install Python dependencies
53-
RUN .venv/bin/pip install --no-cache-dir -r requirements.txt
53+
RUN .venv/bin/pip install --no-cache-dir --require-hashes -r requirements.txt
5454

5555
ENTRYPOINT [".venv/bin/python", "cos-nvidia-bug-report.py"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
absl-py
2+
requests
3+
google-cloud-storage
4+
retry
5+
immutabledict
6+
packaging

community/cos-nvidia-bug-report/app/requirements.txt

Lines changed: 412 additions & 6 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
addict~=2.0
2+
google-cloud-pubsub~=2.0
3+
google-api-python-client==2.61.0
4+
httplib2==0.20.4
5+
PyYAML==6.0.2
6+
urllib3==2.7.0
7+
protobuf==6.33.5
8+
certifi==2024.7.4

docs/hybrid-slurm-cluster/requirements.txt

Lines changed: 547 additions & 9 deletions
Large diffs are not rendered by default.

tools/cloud-build/requirements.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pre-commit
2+
ansible
3+
pyyaml
4+
google-cloud-build
5+
argparse

tools/cloud-build/requirements.txt

Lines changed: 662 additions & 5 deletions
Large diffs are not rendered by default.

tools/cloud-workstations/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,14 @@ RUN chmod a+rx $START_DIR/$HPC_WORK_FILE
8181
COPY $CW_DIR/$CODE_REQS $HPC_CONFIG_DIR/$CODE_REQS
8282
RUN chmod a+r $HPC_CONFIG_DIR/$CODE_REQS
8383

84+
COPY tools/cloud-workstations/base-tooling-requirements.txt base-tooling-requirements.txt
8485
COPY tools/cloud-build/requirements.txt cloud_build_requirements.txt
8586
COPY docs/hybrid-slurm-cluster/requirements.txt slurm_requirements.txt
87+
COPY tools/cloud-workstations/requirements.txt slurm_gcp_requirements.txt
8688

8789
# --- Install Python Dependencies ---
88-
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
89-
pip install --no-cache-dir --prefer-binary --no-build-isolation -r https://raw.githubusercontent.com/GoogleCloudPlatform/slurm-gcp/refs/heads/master/scripts/requirements.txt && \
90-
pip install --no-cache-dir --prefer-binary --no-build-isolation -r cloud_build_requirements.txt && \
91-
pip install --no-cache-dir --prefer-binary --no-build-isolation -r slurm_requirements.txt && \
92-
90+
RUN pip install --require-hashes --no-cache-dir -r base-tooling-requirements.txt && \
91+
pip install --require-hashes --no-cache-dir --prefer-binary --no-build-isolation -r cloud_build_requirements.txt && \
92+
pip install --require-hashes --no-cache-dir --prefer-binary --no-build-isolation -r slurm_requirements.txt && \
93+
pip install --require-hashes --no-cache-dir --prefer-binary --no-build-isolation -r slurm_gcp_requirements.txt && \
9394
rm -rf ~/.cache/pip/*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pip
2+
setuptools
3+
wheel
4+
pip-tools
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --generate-hashes tools/cloud-workstations/base-tooling-requirements.in
6+
#
7+
build==1.5.0 \
8+
--hash=sha256:13f3eecb844759ab66efec90ca17639bbf14dc06cb2fdf37a9010322d9c50a6f \
9+
--hash=sha256:302c22c3ba2a0fd5f3911918651341ebb3896176cbdec15bd421f80b1afc7647
10+
# via pip-tools
11+
click==8.3.3 \
12+
--hash=sha256:398329ad4837b2ff7cbe1dd166a4c0f8900c3ca3a218de04466f38f6497f18a2 \
13+
--hash=sha256:a2bf429bb3033c89fa4936ffb35d5cb471e3719e1f3c8a7c3fff0b8314305613
14+
# via pip-tools
15+
packaging==26.2 \
16+
--hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
17+
--hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
18+
# via
19+
# build
20+
# wheel
21+
pip-tools==7.5.3 \
22+
--hash=sha256:3aac0c473240ae90db7213c033401f345b05197293ccbdd2704e52e7a783785e \
23+
--hash=sha256:8fa364779ebc010cbfe17cb9de404457ac733e100840423f28f6955de7742d41
24+
# via -r tools/cloud-workstations/base-tooling-requirements.in
25+
pyproject-hooks==1.2.0 \
26+
--hash=sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8 \
27+
--hash=sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913
28+
# via
29+
# build
30+
# pip-tools
31+
wheel==0.47.0 \
32+
--hash=sha256:212281cab4dff978f6cedd499cd893e1f620791ca6ff7107cf270781e587eced \
33+
--hash=sha256:cc72bd1009ba0cf63922e28f94d9d83b920aa2bb28f798a31d0691b02fa3c9b3
34+
# via
35+
# -r tools/cloud-workstations/base-tooling-requirements.in
36+
# pip-tools
37+
38+
# The following packages are considered to be unsafe in a requirements file:
39+
pip==26.1.1 \
40+
--hash=sha256:99cb1c2899893b075ff56e4ed0af55669a955b49ad7fb8d8603ecdaf4ed653fb \
41+
--hash=sha256:d36762751d156a4ee895de8af39aa0abeeeb577f93a2eca6ab62467bbf0f8a78
42+
# via
43+
# -r tools/cloud-workstations/base-tooling-requirements.in
44+
# pip-tools
45+
setuptools==82.0.1 \
46+
--hash=sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9 \
47+
--hash=sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb
48+
# via
49+
# -r tools/cloud-workstations/base-tooling-requirements.in
50+
# pip-tools

0 commit comments

Comments
 (0)