Skip to content

Commit 9843a79

Browse files
committed
Finalize AWS install
1 parent 12f3701 commit 9843a79

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

.azure-pipelines/steps/run.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,6 @@
88

99
steps:
1010

11-
# Ensure the `aws` CLI is installed so we can deploy later on, cache docker
12-
# images, etc.
13-
- bash: |
14-
set -e
15-
sudo apt-get install -y python3-setuptools
16-
pip3 install awscli --upgrade --user
17-
echo "##vso[task.prependpath]$HOME/.local/bin"
18-
displayName: Install awscli (Linux)
19-
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
20-
- script: pip install awscli
21-
displayName: Install awscli (non-Linux)
22-
condition: and(succeeded(), ne(variables['Agent.OS'], 'Linux'))
23-
24-
- bash: aws s3 help
25-
- bash: exit 1
26-
2711
- checkout: self
2812
fetchDepth: 2
2913

@@ -67,6 +51,19 @@ steps:
6751
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
6852
displayName: Check out submodules (Windows)
6953

54+
# Ensure the `aws` CLI is installed so we can deploy later on, cache docker
55+
# images, etc.
56+
- bash: |
57+
set -e
58+
sudo apt-get install -y python3-setuptools
59+
pip3 install awscli --upgrade --user
60+
echo "##vso[task.prependpath]$HOME/.local/bin"
61+
displayName: Install awscli (Linux)
62+
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
63+
- script: pip install awscli
64+
displayName: Install awscli (non-Linux)
65+
condition: and(succeeded(), ne(variables['Agent.OS'], 'Linux'))
66+
7067
# Configure our CI_JOB_NAME variable which log analyzers can use for the main
7168
# step to see what's going on.
7269
- bash: echo "##vso[task.setvariable variable=CI_JOB_NAME]$SYSTEM_JOBNAME"

0 commit comments

Comments
 (0)