Skip to content

Commit

Permalink
make upload scripts less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed Mar 28, 2022
1 parent c0e7b8b commit 7deedf6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ci/cpu/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ fi
gpuci_logger "Starting conda uploads"
if [[ "$BUILD_LIBCUDF" == "1" && "$UPLOAD_LIBCUDF" == "1" ]]; then
export LIBCUDF_FILES=$(conda build --no-build-id --croot "${CONDA_BLD_DIR}" conda/recipes/libcudf --output)
while read -r LIBCUDF_FILE; do
[[ "$LIBCUDF_FILE" == *libcudf_example* ]] && { echo "skipping libcudf_example upload"; continue; }
test -e ${LIBCUDF_FILE}
echo "Upload libcudf file: ${LIBCUDF_FILE}"
gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing ${LIBCUDF_FILE} --no-progress
done <<< "${LIBCUDF_FILES}"
LIBCUDF_FILES=$(echo "$LIBCUDF_FILES" | sed 's/.*libcudf-example.*//') # skip libcudf-example pkg upload
gpuci_retry anaconda -t ${MY_UPLOAD_KEY} upload -u ${CONDA_USERNAME:-rapidsai} ${LABEL_OPTION} --skip-existing --no-progress $LIBCUDF_FILES
fi

if [[ "$BUILD_CUDF" == "1" && "$UPLOAD_CUDF" == "1" ]]; then
Expand Down

0 comments on commit 7deedf6

Please sign in to comment.