I am trying to configure an Ephemeral agent in Azure DevOps (https://github.com/microsoft/azure-pipelines-ephemeral-agents) but it does not work :(
I created the Azure services: A container registry, one VNET with one subnet and one NGS asociated to it, and finaly one storage connected with the VNET.
Then I created a reposotory in the container registry from the official GitHub proyect (https://github.com/microsoft/azure-pipelines-ephemeral-agents/tree/master/AgentImages/Basic/Ubuntu)
In Azure DevOps I created an agent pool and a personal token with required permissions to read and manage agent pools. Finaly I configured the task:
When I launch my pipepline, the container instance is created, but it seems it cant't create the agent, cause is always waiting and finaly the pipeline fails.
I have try a lot of configurations and variations, but allways same behaibor. I don't have more ideas. Anyone are running ephemeral? What's is my mistake? any idea?
Thanks.
finally I solved my problem. My fault was I used the base OS docker image, not the ephemeral image :( When I have created the image correctly in the repository, it works!