mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Increase timeout on anaconda logins
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16682 Differential Revision: D13931438 Pulled By: pjh5 fbshipit-source-id: 9961e91a80d8c59ab6347e830b1da38533524dd2
This commit is contained in:
committed by
Facebook Github Bot
parent
dc64d95f3a
commit
69a816c060
@ -795,11 +795,10 @@ binary_linux_upload: &binary_linux_upload
|
||||
retry conda install -yq anaconda-client
|
||||
set +x
|
||||
echo 'If there is no more output then logging into Anaconda failed'
|
||||
retry timeout 30 \
|
||||
retry timeout 120 \
|
||||
yes | anaconda login \
|
||||
--username "$CONDA_USERNAME" \
|
||||
--password "$CONDA_PASSWORD" \
|
||||
>/dev/null 2>&1
|
||||
--password "$CONDA_PASSWORD"
|
||||
set -x
|
||||
anaconda upload "$(ls)" -u pytorch --label main --no-progress --force
|
||||
elif [[ "$PACKAGE_TYPE" == libtorch ]]; then
|
||||
@ -926,8 +925,7 @@ binary_mac_upload: &binary_mac_upload
|
||||
echo 'If there is no more output then logging into Anaconda failed'
|
||||
retry yes | anaconda login \
|
||||
--username "$CONDA_USERNAME" \
|
||||
--password "$CONDA_PASSWORD" \
|
||||
>/dev/null 2>&1 \
|
||||
--password "$CONDA_PASSWORD"
|
||||
set -x
|
||||
retry anaconda upload "$(ls)" -u pytorch --label main --no-progress --force
|
||||
elif [[ "$PACKAGE_TYPE" == libtorch ]]; then
|
||||
|
Reference in New Issue
Block a user