diff options
author | algobarb <78746954+algobarb@users.noreply.github.com> | 2022-01-12 12:58:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 12:58:05 -0500 |
commit | e19fafbee1e073ebfc9840b635f70003ac5b7a06 (patch) | |
tree | ce9912ef87e30836278a1bcad1ad55457b085e6a | |
parent | 23466151e424d71c81bb52f1286db7512709ab0c (diff) |
[Other] CircleCI pipeline change for binary uploads (#3381)
For nightly builds ("rel/nightly"), we want to have deadlock enabled.
For rel/beta and rel/stable, we want to make sure we can build and upload a binary with deadlock disabled so that it can be used for release testing and validation purposes.
-rw-r--r-- | .circleci/config.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c58e88c3..2f2efbb77 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -166,7 +166,6 @@ workflows: context: - slack-secrets - aws-secrets - #- windows_x64_build commands: @@ -478,11 +477,14 @@ commands: - attach_workspace: at: << parameters.build_dir >> - run: - name: Upload binaries << parameters.platform >> + name: Upload Binaries << parameters.platform >> command: | + if [ "${CIRCLE_BRANCH}" = "rel/nightly" ] + then + export NO_BUILD="true" + fi export PATH=$(echo "$PATH" | sed -e "s|:${HOME}/\.go_workspace/bin||g" | sed -e 's|:/usr/local/go/bin||g') export GOPATH="<< parameters.build_dir >>/go" - export NO_BUILD=true export TRAVIS_BRANCH=${CIRCLE_BRANCH} scripts/travis/deploy_packages.sh - when: |