Azure / Azure/azure-devops-cli-extension

[Feature Request] Create GitHub-linked pipeline with variables unattended

Open
#968 10 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

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

With other CI systems like Travis-CI, enrolling a project is about as simple as invoking `travis enable`. Currently with Azure Devops and Pipelines, it's dramatically more manually-intensive. There `az project create` to create the project, but from there, it's still necessary to manually:

- Create a pipeline
- Link that pipeline to a GitHub (or other) hosting
- Create a variable group
- Authorize that group to an Azure Key Vault (multiple steps)
- Authorize the pipeline to azure to be run.
- Run the pipeline.

See the [screetcapture that illustrates the workflow](https://www.dropbox.com/s/832344knurh92n7/2020-03%20Azure%20Create%20Pipeline%20Steps.mov?dl=0) that should be straightforward to automate through the command-line.

I've enacted this process 19 times now and it's getting rather tedious.

**Describe the solution you'd like**

As I maintain over 140 packages in the Python ecosystem and I'm working to migrate them over to Azure, it would be seriously valuable to me if there were APIs or command-line invocations I could make to fully automate the process of enrolling a project with Azure pipelines.

It's possible that portions of this request are duplicates with existing requests or that some of this functionality has been implemented, but I wanted to capture this whole-workflow need for your consideration.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.