Skip to content

Commit

Permalink
Fix librmm uploads (#909)
Browse files Browse the repository at this point in the history
After merging #893, there are now 2 `librmm` `conda` packages being published instead of 1. Therefore the upload script needs to be updated accordingly.

Skipping CI since the upload script isn't run on PRs anyway.

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Jordan Jacobelli (https://github.com/Ethyling)

URL: #909
  • Loading branch information
ajschmidt8 authored Nov 5, 2021
1 parent 11be49c commit 76ae622
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ci/cpu/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ fi

gpuci_logger "Get conda file output locations"

export LIBRMM_FILE=`conda build conda/recipes/librmm --output`
export RMM_FILE=`conda build conda/recipes/rmm --python=$PYTHON --output`
export LIBRMM_FILES=$(conda build conda/recipes/librmm --output)
export RMM_FILE=$(conda build conda/recipes/rmm --python=$PYTHON --output)

################################################################################
# UPLOAD - Conda packages
Expand All @@ -39,10 +39,12 @@ export RMM_FILE=`conda build conda/recipes/rmm --python=$PYTHON --output`
gpuci_logger "Starting conda uploads"

if [[ "$BUILD_LIBRMM" == "1" && "$UPLOAD_LIBRMM" == "1" ]]; then
test -e ${LIBRMM_FILE}
echo "Upload librmm"
echo ${LIBRMM_FILE}
gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBRMM_FILE} --no-progress
while read -r LIBRMM_FILE; do
test -e ${LIBRMM_FILE}
echo "Upload librmm"
echo ${LIBRMM_FILE}
gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBRMM_FILE} --no-progress
done <<< "${LIBRMM_FILES}"
fi

if [[ "$BUILD_RMM" == "1" && "$UPLOAD_RMM" == "1" ]]; then
Expand Down

0 comments on commit 76ae622

Please sign in to comment.