about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-11 17:14:08 +0200
committerGitHub <noreply@github.com>2019-06-11 17:14:08 +0200
commite6a948feb755b61ec2e998ea7101f1f365a359a0 (patch)
treea88b95b8aa07f4816a79a833b29a09f7ecb67f6a
parentbd57c187fbcc55afc214120e26b2fb81ccecf68a (diff)
parent41e976baa971792eccd8226773fb7063c4e470fa (diff)
Rollup merge of #61707 - wesleywiser:awscli_retry, r=alexcrichton
Azure: retry failed awscli installs

Fixes #61604

r? @pietroalbini
-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'))