What you will learn in this TP
- Install a self-hosted agent
- Write a YAML test pipeline
- Publish test results and artifacts
- Add build validation
All steps and instructions are shown. Recommended for this lab: semi-guided
Introduction #
Context. The new organization has no hosted agent time yet. You install your own agent and set up continuous integration.
Prerequisites: a free Azure DevOps organization, the Azure CLI (azure-devops extension), Git and Python 3, the Lab 1 project, Docker · Estimated time: 45 min
An online agent, a pipeline that publishes test results and blocks failing pull requests.Setup #
Guided steps, with their solution.
1. Install the agent
Why? A self-hosted agent is free and available right away.
Create a PAT limited to Agent Pools (read, manage), then download, configure and start the agent in theDefaultpool.2. Write the pipeline
Why? Publishing results makes failures readable in the Tests tab, without reading logs.
Createazure-pipelines.yml(pytest tests,PublishTestResults@2, artifact), push it and create theboutique-cipipeline.3. Block failing pull requests
Why? Build validation tests the merge result before it reaches main.
Add a build validation policy onmainwithboutique-ci, then open a pull request that breaks a test.
Validate your work
Check that each goal above is reached and that you get the result described in the introduction.
Difficulty level : ●●●○○ (3/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
Arize in production: self-hosted Phoenix, Arize AX, security, costs and monitoring
Going to production: Phoenix with PostgreSQL and authentication, an OpenTelemetry Collector in fr...
Agent policies, integrations, data streams and pipelines
Build agent policies, add integrations (System, Nginx, Custom Logs), choose namespaces, customise...
Azure Boards and Azure Repos: planning and collaborating
Organizing work with Azure Boards (Agile, Scrum, Basic and CMMI processes, work items, backlogs, ...
ClickHouse observability case studies: LogHouse, Qonto and Ringover
Three ways of using ClickHouse for observability, presented in Paris in November 2026: LogHouse a...
End-to-end CI/CD (3/5): artifacts, registries and environments
Deliver continuously: immutable, versioned artifacts, image and package registries, promoting the...
Azure DevOps: services, organization and plans
Discover Azure DevOps: Boards, Repos, Pipelines, Test Plans and Artifacts, organizations and proj...
Azure DevOps security, governance and best practices
Running Azure DevOps securely: permissions and groups, protected resources, pipeline authorizatio...
Continuous profiling with eBPF: Parca, Pyroscope and the OpenTelemetry profiler
Continuously profile every process on a host with eBPF: principle, Parca and parca-agent, Pyrosco...
Installing the Datadog agent and configuring integrations
Install the Datadog agent on Linux, Docker and Kubernetes (Datadog Operator), understand datadog....