Skip to content

Commit

Permalink
Improved support for arm64 based on agent version 171
Browse files Browse the repository at this point in the history
  • Loading branch information
winromulus committed Jun 29, 2020
1 parent 941177f commit 487077e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ stages:
- task: HelmInstaller@1
inputs:
helmVersionToInstall: '3.1.1'
helmVersionToInstall: '3.2.4'
displayName: "Helm install"

- script: |
Expand Down
6 changes: 1 addition & 5 deletions src/docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $PLATFORM == x86_64 ]]; then
elif [[ $PLATFORM == arm* ]]; then
PLATFORM="linux-arm"
elif [[ $PLATFORM == aarch64 ]]; then
PLATFORM="linux-arm"
PLATFORM="linux-arm64"
else
echo 1>&2 "Unsupported architecture"
exit 1
Expand Down Expand Up @@ -78,10 +78,6 @@ if [ -z "$AZP_AGENTPACKAGE_URL" -o "$AZP_AGENTPACKAGE_URL" == "null" ]; then
fi

print_header "2. Downloading and installing Azure Pipelines agent..."
if [[ $ARCHITECTURE == aarch64 ]]; then
ARM_AGENT="vsts-agent-linux-arm64"
AZP_AGENTPACKAGE_URL="${AZP_AGENTPACKAGE_URL/vsts-agent-linux-arm/$ARM_AGENT}"
fi
print_header "Agent package: $AZP_AGENTPACKAGE_URL"

curl -LsS $AZP_AGENTPACKAGE_URL | tar -xz & wait $!
Expand Down

0 comments on commit 487077e

Please sign in to comment.