From 41e976baa971792eccd8226773fb7063c4e470fa Mon Sep 17 00:00:00 2001 From: Wesley Wiser Date: Sun, 9 Jun 2019 21:28:47 -0400 Subject: [PATCH] Azure: retry failed awscli installs Fixes #61604 --- .azure-pipelines/steps/run.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/steps/run.yml b/.azure-pipelines/steps/run.yml index a646b34fe7d02..49bac629e7285 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'))