-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #330 from rapidsai/branch-0.17
- Loading branch information
Showing
42 changed files
with
589 additions
and
495 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 contains 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,56 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Setup 'gpuci_retry' for upload retries (results in 4 total attempts) | ||
export GPUCI_RETRY_MAX=3 | ||
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 LIBCUSPATIAL_FILE=`conda build conda/recipes/libcuspatial --output` | ||
export CUSPATIAL_FILE=`conda build conda/recipes/cuspatial --python=$PYTHON --output` | ||
|
||
################################################################################ | ||
# UPLOAD - Conda packages | ||
################################################################################ | ||
|
||
gpuci_logger "Starting conda uploads" | ||
|
||
if [ "$UPLOAD_LIBCUSPATIAL" == "1" ]; then | ||
LABEL_OPTION="--label main" | ||
echo "LABEL_OPTION=${LABEL_OPTION}" | ||
|
||
test -e ${LIBCUSPATIAL_FILE} | ||
echo "Upload libcuspatial" | ||
echo ${LIBCUSPATIAL_FILE} | ||
gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBCUSPATIAL_FILE} | ||
fi | ||
|
||
if [ "$UPLOAD_CUSPATIAL" == "1" ]; then | ||
LABEL_OPTION="--label main" | ||
echo "LABEL_OPTION=${LABEL_OPTION}" | ||
|
||
test -e ${CUSPATIAL_FILE} | ||
echo "Upload cuspatial" | ||
echo ${CUSPATIAL_FILE} | ||
gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${CUSPATIAL_FILE} | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.