Skip to content

Commit 5c41eb7

Browse files
authored
Merge pull request #302856 from v-albemi/integrate-devops
Freshness: Azure DevTest Labs - Set 2 of 2
2 parents 5acb5bf + 7638fb0 commit 5c41eb7

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed
Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
2-
title: Integrate Azure DevTest Labs with DevOps CI/CD pipelines
2+
title: Integrate Azure DevTest Labs with DevOps CI/CD Pipelines
33
description: Learn how to use Azure DevTest Labs with continuous integration (CI) and continuous delivery (CD) pipelines in an enterprise environment.
4-
ms.topic: conceptual
4+
ms.topic: concept-article
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 09/30/2023
7+
ms.date: 07/18/2025
88
ms.custom: UpdateFrequency2
9+
10+
#customer intent: As a developer, I want to integrate Azure DevTest Labs with DevOps so that I can take advantage of the benefits of CI/CD pipelines.
911
---
1012

1113
# Integrate DevTest Labs and DevOps CI/CD pipelines
1214

13-
DevOps is a software development methodology that integrates software development (Dev) with system operations (Ops). The system delivers new software features, updates, and fixes that align with business goals.
15+
DevOps is a software development methodology that integrates software development (Dev) with system operations (Ops). The system helps you deliver new software features, updates, and fixes that align with business goals.
1416

1517
DevOps methodology also covers:
1618

@@ -19,51 +21,51 @@ DevOps methodology also covers:
1921

2022
One component of DevOps methodology is the continuous integration (CI) and continuous delivery (CD) pipeline. A CI/CD pipeline moves information, code, and resources from a source control commit through a series of steps to produce the system. Steps include build, test, and release.
2123

22-
You can use Azure DevTest Labs in CI/CD pipelines. This article discusses using DevTest Labs in CI/CD build and release pipelines in an enterprise environment.
24+
You can use Azure DevTest Labs in CI/CD pipelines. This article discusses using DevTest Labs in CI/CD build, test, and release pipelines in an enterprise environment.
2325

24-
## Benefits of DevTest Labs in DevOps workflows
26+
## Benefits of using DevTest Labs in DevOps workflows
2527

26-
A lab should focus on a team that's working in a feature area. This common focus allows faster changes, while limiting any negative effects to a smaller group. Changes or problems happen in the lab environment, without affecting anything else.
28+
A lab should be used only by a team that's working on a feature area. This focus enables faster changes but limits any negative effects to a smaller group. Changes or problems happen in the lab environment, without affecting anything else.
2729

28-
The common focus allows for sharing area-specific resources, like tools, scripts, and Azure Resource Manager (ARM) templates. Developers can use shared resources to create virtual machines (VMs) with all the code, tools, and configuration they need. ARM templates create lab VMs and lab environments with the appropriate Azure resources. The templates create resources dynamically, or by creating base images with customizations.
30+
This focus also enables the sharing of area-specific resources, like tools, scripts, and Azure Resource Manager (ARM) templates. Developers can use shared resources to create virtual machines (VMs) with all the code, tools, and configuration they need. ARM templates create lab VMs and lab environments with the appropriate Azure resources. The templates create resources dynamically or by creating base images with customizations.
2931

30-
For example, consider a scenario where the product is a standalone system that installs on a customer's machine. DevTest Labs can create lab VMs that have customer software, artifacts, and configurations installed, for quick inner loop code testing.
32+
For example, consider a scenario in which the product is a standalone system that installs on a customer's machine. To enable quick inner-loop code testing, DevTest Labs can create lab VMs that have customer software, artifacts, and configurations installed.
3133

3234
Here are some benefits of using labs in DevOps workflows:
3335

34-
- **Focused access:** Using a lab as a component associates a specific ecosystem with limited people. Usually, a team or group working in a common area or a specific feature has a lab assigned to them.
36+
- **Focused access.** Using a lab as a component associates a specific ecosystem with limited people. Usually, a team or group working in a common area or a specific feature has a lab assigned to them.
3537

36-
- **Infrastructure replication in the cloud:** A developer can quickly set up a development ecosystem that includes a developer VM with source code and tools. A developer can also create an environment that's nearly identical to the production configuration, for faster inner loop development.
38+
- **Infrastructure replication in the cloud.** A developer can quickly set up a development ecosystem that includes a developer VM with source code and tools. To enable faster inner-loop development, a developer can also create an environment that's nearly identical to the production configuration.
3739

38-
- **Pre-production environments:** A lab in the CI/CD pipeline can run several different pre-production environments or machines at the same time, for asynchronous testing. You can deploy and manage different support infrastructures and build agents in a lab.
40+
- **Pre-production environments.** To enable asynchronous testing, a lab in the CI/CD pipeline can run several different pre-production environments or machines at the same time. You can deploy and manage different support infrastructures and build agents in a lab.
3941

4042
## Use labs in CI/CD pipelines
4143

4244
The CI/CD pipeline is a critical DevOps component. The pipeline integrates the code from a developer's pull request with existing code, and deploys the code to the production ecosystem. For DevTest Labs integration, not all resources need to be in a lab. For example, you could set up a Jenkins host outside the lab for a more persistent resource. Here are some specific examples of integrating labs into the CI/CD pipeline.
4345

4446
### Build
4547

46-
The build pipeline creates a package of components to test together and hand off to release. Dynamically building infrastructure allows for greater control. Labs can be part of the build pipeline as locations for build agents and other support resources. DevTest Labs can restrict lab access, which increases security for build agents and reduces the possibility of accidental corruption.
48+
The build pipeline creates a package of components to test together and hand off to release. Dynamically building infrastructure enables greater control. Labs can be part of the build pipeline as locations for build agents and other support resources. DevTest Labs can restrict lab access. Doing so increases security for build agents and reduces the possibility of accidental corruption.
4749

48-
With the ability to have multiple environments in a lab, each build can run asynchronously. The build ID is part of the environment information that uniquely identifies the resources in a specific build.
50+
Because you can have multiple environments in a lab, each build can run asynchronously. The build ID is part of the environment information that uniquely identifies the resources in a specific build.
4951

5052
### Test
5153

52-
A CI/CD pipeline can automate creating DevTest Labs resources like VMs and environments for automated and manual testing. The pipeline uses build information artifacts or formulas to create VMs with different custom test configurations.
54+
A CI/CD pipeline can automate creating DevTest Labs resources like VMs and environments for automated and manual testing. The pipeline uses build information artifacts or formulas to create VMs that have different custom test configurations.
5355

5456
### Release
5557

5658
The release process can use DevTest Labs for verification before the code is deployed. The process is similar to testing. Production resources shouldn't be deployed in DevTest Labs.
5759

5860
### Customization
5961

60-
[Azure Pipelines](/azure/devops/pipelines/get-started/what-is-azure-pipelines), a component of Azure DevOps Services, has existing tasks to manipulate VMs and environments within specific labs. Azure Pipelines is one way to manage the CI/CD pipeline. You can integrate a lab into any system that supports calling REST APIs, executing PowerShell scripts, or using Azure CLI.
62+
[Azure Pipelines](/azure/devops/pipelines/get-started/what-is-azure-pipelines), a component of Azure DevOps Services, provides existing tasks for manipulating VMs and environments in specific labs. Azure Pipelines is one way to manage the CI/CD pipeline. You can integrate a lab into any system that supports calling REST APIs, running PowerShell scripts, or using Azure CLI.
6163

62-
Some CI/CD pipeline managers have existing open-source plugins that can manage Azure and DevTest Labs resources. You might need to use custom scripting to fit the needs of the pipeline. When executing a task, use a service principal with the appropriate role, usually Contributor, to access the lab.
64+
Some CI/CD pipeline managers have existing open-source plug-ins that can manage Azure and DevTest Labs resources. You might need to use custom scripting to fit the needs of the pipeline. When you run a task, use a service principal with the appropriate role, usually Contributor, to access the lab.
6365

6466
## Next steps
6567

66-
- [Integrate DevTest Labs into Azure Pipelines](devtest-lab-integrate-ci-cd.md).
68+
- [Integrate DevTest Labs into Azure Pipelines](devtest-lab-integrate-ci-cd.md)
6769
- [Integrate environments into your CI/CD pipelines](integrate-environments-devops-pipeline.md)
6870
- [Use DevTest Labs in Azure Pipelines build and release pipelines](use-devtest-labs-build-release-pipelines.md)
6971

0 commit comments

Comments
 (0)