Unverified Commit 74de2992 authored by Eli Uriegas's avatar Eli Uriegas Committed by GitHub
Browse files

.circleci: Switch to use token for conda uploads (#460)



pjh5 is a former employee so we should switch over to using a bot token.

Should resolve nightly pipeline failing on upload.
Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>
parent d3f967e9
...@@ -154,12 +154,8 @@ jobs: ...@@ -154,12 +154,8 @@ jobs:
command: | command: |
# Prevent credential from leaking # Prevent credential from leaking
conda install -yq anaconda-client conda install -yq anaconda-client
set +x
anaconda login \
--username "$PYTORCH_BINARY_PJH5_CONDA_USERNAME" \
--password "$PYTORCH_BINARY_PJH5_CONDA_PASSWORD"
set -x set -x
anaconda upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force
# Requires org-member context # Requires org-member context
binary_wheel_upload: binary_wheel_upload:
......
...@@ -154,12 +154,8 @@ jobs: ...@@ -154,12 +154,8 @@ jobs:
command: | command: |
# Prevent credential from leaking # Prevent credential from leaking
conda install -yq anaconda-client conda install -yq anaconda-client
set +x
anaconda login \
--username "$PYTORCH_BINARY_PJH5_CONDA_USERNAME" \
--password "$PYTORCH_BINARY_PJH5_CONDA_PASSWORD"
set -x set -x
anaconda upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force
# Requires org-member context # Requires org-member context
binary_wheel_upload: binary_wheel_upload:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment