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

Pipelines commands - Create, update, list and run a pipeline; list, show and tag pipeline runs #333

Closed
atbagga opened this issue Jan 16, 2019 · 6 comments
Assignees
Labels
Feature Feature Work required. new command

Comments

@atbagga
Copy link
Collaborator

atbagga commented Jan 16, 2019

Command Description
az pipelines create Create a pipeline (both from YAML & a GIT repo)
az pipelines delete Delete a pipeline
az pipelines update Open the pipeline YAML in default editor.
az pipelines run Run a pipeline manually
az pipelines list List all pipelines and their status
az pipelines show Show details pertaining to a pipeline
az pipelines runs list List of pipeline runs
az pipelines runs show Show details of a pipeline run
az pipelines runs tag add Add tags to a pipeline run
az pipelines runs tag list List tags assigned to a pipeline run
az pipelines runs tag delete Delete a tag from a pipeline run
@jaraco
Copy link

jaraco commented Feb 7, 2019

In this document, which links to this repo, it suggests that the vsts build command is used for working with pipelines... but the set above refers to a different command and subcommand. Where should I be hanging my hopes for a CLI for managing pipelines in dev.azure.com?

@atbagga
Copy link
Collaborator Author

atbagga commented Feb 7, 2019

@jaraco Firstly apologies for outdated documentation. We will have it updated soon.

The Azure CLI with the Azure DevOps extension has replaced the VSTS CLI. The VSTS CLI has been deprecated and will no longer be receiving new features. We recommend that users of the VSTS CLI switch to the Azure CLI and add the Azure DevOps extension. To get started refer the quick start guide in the readme of this repo.

The commands which were supported in VSTS-CLI are all available in the Azure DevOps Extension.
So vsts build list is now az pipelines build list and so on. You can checkout the existing pipelines command here.

This feature request is to enhance the pipeline commands to support yml based definitions and letting you create and update pipelines which was not supported in VSTS CLI.

Let us know if you face any issues in getting started.

@jaraco
Copy link

jaraco commented Feb 7, 2019

That's super helpful. I'm already using the Azure CLI, so happy to see that functionality consolidated. I'll read up on the DevOps extension now. Cheers!

@atbagga atbagga changed the title Pipelines commands - Set-1 Pipelines commands - Create, update, list and run a pipeline, list, show and tag pipeline runs Feb 16, 2019
@atbagga atbagga changed the title Pipelines commands - Create, update, list and run a pipeline, list, show and tag pipeline runs Pipelines commands - Create, update, list and run a pipeline; list, show and tag pipeline runs Feb 16, 2019
@geverghe geverghe moved this from Backlog to In Progress in Azure DevOps CLI Extension Feb 28, 2019
@geverghe geverghe added in progress Development in progress and removed investigating labels Feb 28, 2019
@geverghe
Copy link
Contributor

geverghe commented Mar 4, 2019

Create pipelines, experience fine-tunings

  • Queue id needs to be auto filled if user does not provide one. Also evaluate recommendation to include queue. [Atbagga] Added auto detect logic to queue-id
  • Auto detect of url and branch when working out of local checkout of repo.
  • Ensure pipeline is triggered post create.
  • Yaml File checkin for Azure Repos.
  • Creds instead of PAT

New asks:

  • Listing experience for AKS cluster and ACRs when using kubernetes template
  • Listing experience for namespace for selected cluster and ability to create
  • Accommodate additional kubernetes manifest file along with YAML check in.
  • Follow up on authorization issue.
  • Docker file port read should be included in template

Telemetry:

  • Number of pipelines created from CLI

@atbagga - FYI

@GiridharanNarayanan
Copy link

@geverghe Is it working ?

@atbagga atbagga mentioned this issue Apr 28, 2019
2 tasks
@atbagga atbagga removed the in progress Development in progress label May 7, 2019
@atbagga
Copy link
Collaborator Author

atbagga commented May 7, 2019

The pipelines commands mentioned here are available in version 0.7.0 and above.
Closing the issue.

@atbagga atbagga closed this as completed May 7, 2019
Azure DevOps CLI Extension automation moved this from In Progress to Completed May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature Work required. new command
Projects
Development

No branches or pull requests

5 participants