What you will learn in this TP
- Create a project with the az devops CLI
- Create work items and link them to commits
- Configure branch policies
- Open a linked pull request
All steps and instructions are shown. Recommended for this lab: guided
Introduction #
Context. The team moves to Azure DevOps. You create the project, track work in Boards and protect the main branch so every change is reviewed and linked to a request.
Prerequisites: a free Azure DevOps organization, the Azure CLI (azure-devops extension), Git and Python 3 · Estimated time: 40 min
A project with its work items, a repository whose main branch requires review and linking, and a linked pull request.Setup #
Guided steps, with their solution.
1. Prepare the code
Why? The same service is used in every lab.
Create theboutiqueservice and run the tests locally.2. Create the project
Why? The CLI makes creation reproducible and scriptable.
Install the extension, create theBoutiqueproject (Agile process), set defaults and create theboutiquerepository.3. Track work
Why? Linking a commit to a User Story gives traceability from request to code.
Create a User Story and a task, then push the code withAB#<id>in the commit message and check the link in the work item.4. Protect main
Why? Policies prevent any direct, unreviewed change to the main branch.
Require a reviewer and a linked item onmain, then open a linked pull request with auto-complete and approve it in the UI.
Validate your work
Check that each goal above is reached and that you get the result described in the introduction.
Difficulty level : ●●○○○ (2/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
DevOps, Agile, Lean and ITSM: frameworks that fit together
Placing DevOps among other frameworks: the agile manifesto, Scrum and Kanban, Lean thinking (flow...
Git Sync in Grafana: version dashboards in GitHub
Sync Grafana dashboards and folders with a GitHub repository: prerequisites, token, setup in Admi...
Elastic path project: centralising and using logs
The validation project of the "Elastic Stack mastery" path: Elastic Agent and Fleet, Logstash, El...
End-to-end CI/CD (1/5): principles and anatomy of a pipeline
Understand end-to-end CI/CD: continuous integration, continuous delivery and continuous deploymen...
End-to-end CI/CD (3/5): artifacts, registries and environments
Deliver continuously: immutable, versioned artifacts, image and package registries, promoting the...
End-to-end CI/CD (5/5): GitHub Actions, GitLab CI, Jenkins and Argo CD in practice
Compare and use CI/CD tools: GitHub Actions, GitLab CI, Jenkins, Argo CD and Flux; a complete pip...
GitLab CI/CD: concepts and architecture
Discover GitLab CI/CD: the DevSecOps platform, the .gitlab-ci.yml file, pipelines, stages and job...
The wall of confusion
The 'wall of confusion' is a metaphor often used in a DevOps context to describe the cultural, or...
Collecting with Zabbix: items, preprocessing, discovery and templates
Item types (agent, SNMP, HTTP agent, calculated, dependent), preprocessing (JSONPath, regular exp...