Repository navigation
[REVIEW][OPS] gpuCI Script Updates #6329
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
Merged
Merged
Changes from 58 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
e8bde29
ENH Change bash mode to output commands
mike-wendt 235517c
FIX Remove dead py3.6 code
mike-wendt d13df3d
DOC Update header
mike-wendt 1e1fc23
ENH Switch from in-script logger to gpuci_logger
mike-wendt 5ad0f81
FIX Use rapids conda env instead
mike-wendt 4761d92
ENH Increase PARALLEL_LEVEL
mike-wendt 0b82bb7
DOC Fix example conda command
mike-wendt 81d9df5
ENH Provide more detail about conda env
mike-wendt 7729b1d
ENH Add missing logger messages
mike-wendt 6881552
DOC Update section header
mike-wendt a459ae8
DOC Add comments on directory change
mike-wendt 72fb367
DOC Update logger messages to drop '...'
mike-wendt a080c7c
ENH Switch bash mode to verbos and remove in-script logger
mike-wendt a7e565e
DOC Update header
mike-wendt 7141f39
ENH Increase PARALLEL_LEVEL for new instance types
mike-wendt dbc25b7
FIX Use rapids conda env instead
mike-wendt c635d32
ENH Switch from in-script logger to gpuci_logger
mike-wendt bb73992
ENH Provide more detail about conda env
mike-wendt 48f4745
DOC Update section header
mike-wendt 6627e2b
ENH Switch to use env vars CC/CXX for version check
mike-wendt 1265dbb
ENH Remove verbose output
mike-wendt c89492c
ENH Enable verbose output for pip and testing
mike-wendt 8f3d516
FIX Default to 8 PARALLEL_LEVEL if not defined
mike-wendt 1e7f139
DOC Add section header and update comments
mike-wendt 8361b67
FIX Change old logger instances and add missing log msg
mike-wendt 97742c6
ENH Move checks to start of file to reduce time
mike-wendt ee858b9
FIX Remove old code
mike-wendt 5916dc4
DOC Add comments and logger messages
mike-wendt a516a01
ENH Consolidate LABEL_OPTIONs allow for gpuCI setting
mike-wendt eac73c4
ENH Standardize name for upload.sh
mike-wendt d96d9fc
ENH Move positioning to match ci/cpu/build.sh
mike-wendt 49b9b3e
ENH Reorder positioning to match build order
mike-wendt 185a802
ENH Add CUDA_REL used by conda builds
mike-wendt 8c9f0f7
ENH Consolidate scripts to a single CPU script
mike-wendt 8fb1c80
ENH Update use from logger to gpuci_logger
mike-wendt dd7eede
REV Change directory then lookup git info
mike-wendt 06b7806
TST Manually set MINOR_VERSION for testing
mike-wendt 0aefd32
DOC Fix spelling mistake
mike-wendt 65cad4b
DOC Add PR to CHANGELOG
mike-wendt 2671cff
REV Remove testing override
mike-wendt f6722f5
FIX Set default PARALLEL_LEVEL to 4, allow override
mike-wendt c4aaca7
ENH Use updated method for conda activate
mike-wendt 99bb6a5
ENH Use gpuci_conda_retry for conda installs
mike-wendt c22033b
ENH Remove git clean from conda build.sh
mike-wendt 02f92bd
FIX Add source script to enable `conda activate`
mike-wendt dcd3fcd
Merge branch 'branch-0.16' into enh-gpuci-updates
mike-wendt d1deddd
ENH Reorder install deps and add logger msg
mike-wendt a2915dd
FIX Correct conda list to conda info
mike-wendt 3e8e4f1
ENH Add conda info prior to install deps step
mike-wendt 2cb5d48
Merge branch 'branch-0.16' into enh-gpuci-updates
mike-wendt 5bc45e0
ENH Force install over any cached pkgs
mike-wendt d75608b
ENH Retry anaconda uploads on error
mike-wendt 8249a4d
REV Remove force install
mike-wendt d46cade
ENH Retry conda builds once after failure
mike-wendt e5f5ffc
ENH Retry uploads three total times
mike-wendt 2166107
FIX Correct `conda list` to `conda info`
mike-wendt 442578d
ENH Add more detailed conda info for debugging
mike-wendt f43da99
FIX Use gpuci_conda_retry instead to fix build errors
mike-wendt fd56ff1
ENH Retry 3 times on uploads instead of 2
mike-wendt 864ffa6
DOC Correct spelling
mike-wendt a1c064c
ENH Remove duplicate installs
mike-wendt 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| #!/bin/bash | ||
| # | ||
| # Adopted from https://github.com/tmcdonell/travis-scripts/blob/dfaac280ac2082cd6bcaba3217428347899f2975/update-accelerate-buildbot.sh | ||
|
|
||
| set -e | ||
|
|
||
| # Setup 'gpuci_retry' for upload retries (results in 3 total attempts) | ||
| export GPUCI_RETRY_MAX=2 | ||
| export GPUCI_RETRY_SLEEP=30 | ||
|
|
||
| # Set default label options if they are not defined elsewhere | ||
| export LABEL_OPTION=${LABEL_OPTION:-"--label main"} | ||
|
|
||
| # Skip uploads unless BUILD_MODE == "branch" | ||
| if [ ${BUILD_MODE} != "branch" ]; then | ||
| echo "Skipping upload" | ||
| return 0 | ||
| fi | ||
|
|
||
| # Skip uploads if there is no upload key | ||
| if [ -z "$MY_UPLOAD_KEY" ]; then | ||
| echo "No upload key" | ||
| return 0 | ||
| fi | ||
|
|
||
| ################################################################################ | ||
| # SETUP - Get conda file output locations | ||
| ################################################################################ | ||
|
|
||
| gpuci_logger "Get conda file output locations" | ||
| export LIBCUDF_FILE=`conda build conda/recipes/libcudf --output` | ||
| export LIBCUDF_KAFKA_FILE=`conda build conda/recipes/libcudf_kafka --output` | ||
| export CUDF_FILE=`conda build conda/recipes/cudf --python=$PYTHON --output` | ||
| export DASK_CUDF_FILE=`conda build conda/recipes/dask-cudf --python=$PYTHON --output` | ||
| export CUDF_KAFKA_FILE=`conda build conda/recipes/cudf_kafka --python=$PYTHON --output` | ||
| export CUSTREAMZ_FILE=`conda build conda/recipes/custreamz --python=$PYTHON --output` | ||
|
|
||
| ################################################################################ | ||
| # UPLOAD - Conda packages | ||
| ################################################################################ | ||
|
|
||
| gpuci_logger "Staring conda uploads" | ||
| if [ "$UPLOAD_LIBCUDF" == "1" ]; then | ||
| test -e ${LIBCUDF_FILE} | ||
| echo "Upload libcudf" | ||
| echo ${LIBCUDF_FILE} | ||
| gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBCUDF_FILE} | ||
| fi | ||
|
|
||
| if [ "$UPLOAD_CUDF" == "1" ]; then | ||
| test -e ${CUDF_FILE} | ||
| echo "Upload cudf" | ||
| echo ${CUDF_FILE} | ||
| gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${CUDF_FILE} | ||
|
|
||
| test -e ${DASK_CUDF_FILE} | ||
| echo "Upload dask-cudf" | ||
| echo ${DASK_CUDF_FILE} | ||
| gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${DASK_CUDF_FILE} | ||
|
|
||
| test -e ${CUSTREAMZ_FILE} | ||
| echo "Upload custreamz" | ||
| echo ${CUSTREAMZ_FILE} | ||
| gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${CUSTREAMZ_FILE} | ||
| fi | ||
|
|
||
| if [ "$UPLOAD_LIBCUDF_KAFKA" == "1" ]; then | ||
| test -e ${LIBCUDF_KAFKA_FILE} | ||
| echo "Upload libcudf_kafka" | ||
| echo ${LIBCUDF_KAFKA_FILE} | ||
| gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBCUDF_KAFKA_FILE} | ||
| fi | ||
|
|
||
| if [ "$UPLOAD_CUDF_KAFKA" == "1" ]; then | ||
| test -e ${CUDF_KAFKA_FILE} | ||
| echo "Upload cudf_kafka" | ||
| echo ${CUDF_KAFKA_FILE} | ||
| gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${CUDF_KAFKA_FILE} | ||
| fi | ||
This file was deleted.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.