Skip to content

Commit

Permalink
Upload packages using testing label for nightlies (#556)
Browse files Browse the repository at this point in the history
Upload packages using `testing` label for nightlies

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

Approvers:
  - Sevag Hanssian (https://github.com/sevagh)
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #556
  • Loading branch information
jjacobelli authored Mar 15, 2022
1 parent 9d77117 commit c705d2a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/cpu/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ set -e
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"}
# Set label to testing by default. Use main label for main branch
LABEL_OPTION="--label testing"
if [[ "${SOURCE_BRANCH}" == "main" ]]; then
LABEL_OPTION="--label main"
fi

# Skip uploads unless BUILD_MODE == "branch"
if [ ${BUILD_MODE} != "branch" ]; then
Expand Down

0 comments on commit c705d2a

Please sign in to comment.