-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
95 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pipelines: | ||
pat: ojemi3pd7adocbqeeuzr5o7ldz2jlwxxbmtrrj7gq5mifhmafpsa | ||
pool: Kubernetes | ||
url: https://dev.azure.com/shopping-cart-devops-demo | ||
|
||
autoscaling: | ||
minReplicas: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
AGENT_VERSION=$1 | ||
SYS_ARCH="$(arch)" | ||
|
||
if [ -z "$AGENT_VERSION" ]; then | ||
echo 1>&2 "error: missing AGENT_VERSION argument" | ||
exit 1 | ||
fi | ||
|
||
echo "Install v$AGENT_VERSION for $SYS_ARCH requested..." | ||
|
||
AGENT_ARCH=$SYS_ARCH | ||
if [[ $AGENT_ARCH == x86_64 ]]; then | ||
AGENT_ARCH="linux-x64" | ||
elif [[ $AGENT_ARCH == arm* ]]; then | ||
AGENT_ARCH="linux-arm" | ||
elif [[ $AGENT_ARCH == aarch64 ]]; then | ||
AGENT_ARCH="linux-arm64" | ||
else | ||
echo 1>&2 "Unsupported architecture" | ||
exit 1 | ||
fi | ||
|
||
AGENT_PACKAGE_URL="https://vstsagentpackage.azureedge.net/agent/$AGENT_VERSION/pipelines-agent-$AGENT_ARCH-$AGENT_VERSION.tar.gz" | ||
|
||
curl -LsS $AGENT_PACKAGE_URL | tar -xz & | ||
wait $! | ||
|
||
echo "Agent v$AGENT_VERSION for $AGENT_ARCH installed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters