about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2019-06-09 21:28:47 -0400
committerWesley Wiser <wwiser@gmail.com>2019-06-09 21:28:47 -0400
commit41e976baa971792eccd8226773fb7063c4e470fa (patch)
tree181fb54abfb43dbdc94166bb3c9136ce1b2cfd95
parent400b409efc4975a082185c5a74412572e49dfd98 (diff)
downloadrust-41e976baa971792eccd8226773fb7063c4e470fa.tar.gz
rust-41e976baa971792eccd8226773fb7063c4e470fa.zip
Azure: retry failed awscli installs
Fixes #61604
-rw-r--r--.azure-pipelines/steps/run.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml
index a646b34fe7d..49bac629e72 100644
--- a/.azure-pipelines/steps/run.yml
+++ b/.azure-pipelines/steps/run.yml
@@ -74,8 +74,9 @@ steps:
 # images, etc.
 - bash: |
     set -e
+    source src/ci/shared.sh
     sudo apt-get install -y python3-setuptools
-    pip3 install awscli --upgrade --user
+    retry pip3 install awscli --upgrade --user
     echo "##vso[task.prependpath]$HOME/.local/bin"
   displayName: Install awscli (Linux)
   condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))