Reputation: 1975
I'm trying to create a Self-hosted agent for ARM, following this microsoft tutorial: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
I downloaded the agent, extract it. But when I run ./config.sh
I got the following error (this step: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops#azure-pipelines):
./config.sh: line 85: ./bin/Agent.Listener: cannot execute binary file: Exec format error
I'm working on a Rasberry pi.
Does someone know something about this error ?
Upvotes: 2
Views: 1070
Reputation: 21
for deployment groups, azure devops deployment group installation script assumes x64 architecutre but the new graviton instances on ec2 are arm64, so the script has to be tweaked a little
from https://vstsagentpackage.azureedge.net/agent/4.251.0/vsts-agent-linux-x64-4.251.0.tar.gz
to https://vstsagentpackage.azureedge.net/agent/4.251.0/vsts-agent-linux-arm64-4.251.0.tar.gz
replace agent versions with the latest agent versions available
Upvotes: 0