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.
This PR introduces some changes to our CI scripts that enable them to be run locally.
In a nutshell, this PR effectively just adds some prompts that allow users to provide values for environment variables that are typically provided by GitHub Actions.
These environment variables ensure that the build and test scripts run successfully outside of a GH Actions environment.
Breaking down the major changes in this PR by file:
tools/rapids-download-conda-from-s3
:tools/rapids-download-from-s3
:aws
CLI) when not in a CI environment. VPN access is required to download these artifactstools/rapids-env-update
:sccache
to use read-only mode (see here) since proper write credentials aren't available to devs running local builds. sets sensible defaults for other build related vars.tools/rapids-upload-conda-to-s3
:The result of these changes is that devs can now volume mount their locally checked out repository into our CI containers and effortlessly run build / test scripts the same way CI does:
This will help developers easily reproduce any build/test failure that they might encounter in CI with conda packages.
Notes
--network=host
is needed so the container has access to the VPN connection on the host machine (which is necessary since downloads.rapids.ai is only available via VPN at the moment).