Skip to content
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

[Feature Request] Azure DevOps CLI Agent Pool parameter #457

Closed
jclark0909 opened this issue Feb 22, 2019 · 4 comments
Closed

[Feature Request] Azure DevOps CLI Agent Pool parameter #457

jclark0909 opened this issue Feb 22, 2019 · 4 comments
Assignees
Labels
Feature Feature Work required.

Comments

@jclark0909
Copy link

Is your feature request related to a problem? Please describe.

I would like to queue build using the Azure DevOps CLI in a different agent pool then the default. We are building out build boxes and would like to test builds in a different que then the default.

Describe the solution you'd like

Add a parameter to the Azure DevOps CLI that will allow the user to specify the build que instead of forcing the build to go to the default agent pool.

@jclark0909 jclark0909 added the Feature Feature Work required. label Feb 22, 2019
@atbagga atbagga self-assigned this Feb 28, 2019
@atbagga
Copy link
Collaborator

atbagga commented Feb 28, 2019

To be taken care as part of #333.

@geverghe geverghe added this to Backlog in Azure DevOps CLI Extension via automation Feb 28, 2019
@geverghe geverghe moved this from Backlog to In Progress in Azure DevOps CLI Extension Feb 28, 2019
@atbagga
Copy link
Collaborator

atbagga commented May 24, 2019

The API for agent pools is exposed only recently in 5.1 APIs. We DO use it in Pipeline create command which is in preview.
Using the same in "az pipelines build queue" will be wrong since this command is not in preview and APIs in 5.1 version are subjected to change.

I initially thought of adding it to "az pipelines run" but in long term it doesn't make sense to add this since yaml pipelines don't use the agent pool from definition settings they use the pools from the yaml definition.

Considering the above we have the following 3 options -

Option 1: Use a preview API in build queue command. (Cons: It is prone to break in future.)
Option 2: Use the preview API in pipelines run command since it can pretty much work with old builds too. (Cons: Doesn't make sense for yaml based pipelines)
Option 3: No action. As people move to yaml based pipelines agent pool parameter will become useless.

For now we will go with 3 and move this to our backlog.

@atbagga atbagga moved this from In Progress to Backlog in Azure DevOps CLI Extension May 24, 2019
@atbagga atbagga added the Requires API upgrade The fix for the issue requires the new higher version of Rest APIs. label May 24, 2019
@atbagga atbagga removed the Requires API upgrade The fix for the issue requires the new higher version of Rest APIs. label May 24, 2019
@atbagga
Copy link
Collaborator

atbagga commented May 24, 2019

Adding an option to let the user specify the agent pool queue id when queuing a build.
To support names we will need to upgrade the API version support, since the API is exposed only recently in 5.1.

@atbagga atbagga moved this from Backlog to In Progress in Azure DevOps CLI Extension May 24, 2019
@atbagga
Copy link
Collaborator

atbagga commented May 24, 2019

Fixed in #623. Will be available in the next release (0.9.0) in next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature Work required.
Projects
Development

No branches or pull requests

2 participants