-
Notifications
You must be signed in to change notification settings - Fork 515
Refactor: Improve Proxy Handling and Secure Boot in GPU Install Script #1374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
cjac
wants to merge
15
commits into
GoogleCloudDataproc:main
Choose a base branch
from
LLC-Technologies-Collier:gpu-202601
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f2cee3d
Refactor: Improve Proxy Handling and Secure Boot in GPU Install Script
cjac ba91cf7
Refactor: Streamline curl usage and proxy handling in GPG key import
cjac 3f5811e
### GPU Initialization Action Enhancements for Secure Boot, Proxy, an…
cjac 897684d
### Refine GPU Initialization Script
cjac bded17b
### Refine GPU script for proxy and custom image builds
cjac 184970d
rocky8 fails to bring resource manager up
cjac 8fce880
reduced timeout to 25m ; rocky8 tests are still failing to complete
cjac 7ab81df
rocky8 does not work on single or multi node clusters
cjac 739fb91
removed the rest of the rocky8 tests
cjac 3e1122a
feat: Add Dataproc 2.3 tests and refine GPU support matrix
cjac 46dedef
feat: Add comprehensive network evaluation function
cjac 7902695
docs: Update GPU README for network evaluation and cluster creation
cjac 4dab2cb
This update modifies the `gpu/install_gpu_driver.sh` script to enhanc…
cjac 6a01b50
Feat: comprehensive network evaluation and CUDA 13.1 support
cjac e37b8eb
replaced missing popd
cjac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,45 @@ | ||
| # This Dockerfile builds the container from which manual tests are run | ||
| # This process needs to be executed manually from a git clone | ||
| # | ||
| # See manual-test-runner.sh for instructions | ||
|
|
||
| FROM gcr.io/cloud-builders/gcloud | ||
|
|
||
| RUN useradd -m -d /home/ia-tests -s /bin/bash ia-tests | ||
|
|
||
| # Installed here are packages on which the tests depend | ||
| RUN apt-get -qq update \ | ||
| && apt-get -y -qq install \ | ||
| apt-transport-https apt-utils \ | ||
| ca-certificates libmime-base64-perl gnupg \ | ||
| curl jq less screen > /dev/null 2>&1 && apt-get clean | ||
|
|
||
| # Install bazel signing key, repo and package | ||
| # Install Bazel: | ||
| ENV bazel_kr_path=/usr/share/keyrings/bazel-keyring.gpg \ | ||
| bazel_version=7.4.0 \ | ||
| bazel_repo_data="http://storage.googleapis.com/bazel-apt stable jdk1.8" \ | ||
| bazel_repo_file="/etc/apt/sources.list.d/bazel.list" \ | ||
| DEBIAN_FRONTEND=noninteractive | ||
|
|
||
| RUN /usr/bin/curl -s https://bazel.build/bazel-release.pub.gpg \ | ||
| | gpg --dearmor -o "${bazel_kr_path}" \ | ||
| && echo "deb [arch=amd64 signed-by=${bazel_kr_path}] ${bazel_repo_data}" \ | ||
| | dd of=/etc/apt/sources.list.d/bazel.list status=none \ | ||
| && apt-get update -qq | ||
|
|
||
| RUN apt-get update -qq && apt-get install -y -qq curl >/dev/null 2>&1 && \ | ||
| apt-get clean | ||
| RUN /usr/bin/curl -s https://bazel.build/bazel-release.pub.gpg | \ | ||
| gpg --import --no-default-keyring --keyring "${bazel_kr_path}" && \ | ||
| echo "deb [arch=amd64 signed-by=${bazel_kr_path}] ${bazel_repo_data}" | \ | ||
| dd of="${bazel_repo_file}" status=none && \ | ||
| apt-get update -qq | ||
| RUN apt-get autoremove -y -qq > /dev/null 2>&1 && \ | ||
| apt-get install -y -qq default-jdk python3-setuptools bazel-${bazel_version} > /dev/null 2>&1 && \ | ||
| apt-get install -y -qq default-jdk python3-setuptools python3-pip bazel-${bazel_version} > /dev/null 2>&1 && \ | ||
| apt-get clean | ||
|
|
||
| # Set bazel-${bazel_version} as the default bazel alternative in this container | ||
| RUN update-alternatives --install /usr/bin/bazel bazel /usr/bin/bazel-${bazel_version} 1 && \ | ||
| update-alternatives --set bazel /usr/bin/bazel-${bazel_version} | ||
|
|
||
| # Install here any utilities you find useful when troubleshooting | ||
| RUN apt-get -y -qq install emacs-nox vim uuid-runtime > /dev/null 2>&1 && apt-get clean | ||
| # Install other needed tools | ||
| RUN apt-get install -y -qq jq less screen vim uuid-runtime > /dev/null 2>&1 && \ | ||
| apt-get clean | ||
|
|
||
| WORKDIR /init-actions | ||
|
|
||
| # Copy necessary files | ||
| COPY --chown=ia-tests:ia-tests WORKSPACE BUILD requirements.txt env.json key.json /init-actions/ | ||
| COPY --chown=ia-tests:ia-tests gpu /init-actions/gpu | ||
| COPY --chown=ia-tests:ia-tests integration_tests /init-actions/integration_tests | ||
|
|
||
| USER ia-tests | ||
| COPY --chown=ia-tests:ia-tests "cloudbuild/key.json" /key.json | ||
| COPY --chown=ia-tests:ia-tests . ${WORKDIR} | ||
|
|
||
| ENTRYPOINT ["/bin/bash"] | ||
| #CMD ["/bin/bash"] | ||
| # Install Python dependencies | ||
| RUN python3 -m pip install --upgrade pip && \ | ||
| python3 -m pip install -r /init-actions/requirements.txt | ||
| # Removed --user and --break-system-packages | ||
|
|
||
| #ENTRYPOINT ["/bin/bash"] | ||
|
|
||
| CMD ["/bin/bash"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: need to replace all variables like$BUILD_ID and others with $ {BUILD_ID}