-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue]azd pipeline config could not find a default agent queue in project #4248
Comments
@vhvb1989 can we make agent/pool name |
Yes, I will take a look. We should be able to check if more than one and list them to ask user to pick which to use |
@vhvb1989 can't we infer this from being defined in the azdo pipeline yaml? - https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/pool?view=azure-pipelines#pool-string |
We could, but sometimes projects won't have a pipeline definition, or they could have one which only defines a pool and vmImage (i.e. Ubuntu). So trying to get the pool name from the definition will not work for all scenarios. The agent pool name can be defined in the pipeline definition to override the default agent pool used and assigned to the pipeline when the pipeline was created... |
@vhvb1989 moving this to next iteration. |
Output from
azd version
azd version 1.9.5 (commit cd2b7af)
Describe the bug
Running
azd pipeline config --provider azdo
fails withThe name of the agent queue is hard coded
azure-dev/cli/azd/pkg/azdo/pipeline.go
Line 48 in a17935e
To Reproduce
N/A
Expected behavior
We are able to give the name of the queue to use and the config passes.
Environment
N/A
Additional context
My agent queue is named
Azure Pipelines
The text was updated successfully, but these errors were encountered: