You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/deployment-tutorial-pipeline.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Continuous integration with Azure Pipelines
3
3
description: Learn how to continuously build, test, and deploy Azure Resource Manager templates (ARM templates).
4
-
ms.date: 05/22/2023
4
+
ms.date: 06/30/2023
5
5
ms.topic: tutorial
6
6
ms.custom: devx-track-arm-template
7
7
---
@@ -13,7 +13,7 @@ In the [previous tutorial](./deployment-tutorial-linked-template.md), you deploy
13
13
Azure DevOps provides developer services to support teams to plan work, collaborate on code development, and build and deploy applications. Developers can work in the cloud using Azure DevOps Services. Azure DevOps provides an integrated set of features that you can access through your web browser or IDE client. Azure Pipelines is one of these features. Azure Pipelines is a fully featured continuous integration (CI) and continuous delivery (CD) service. It works with your preferred Git provider and can deploy to most major cloud services. Then you can automate the build, testing, and deployment of your code to Microsoft Azure, Google Cloud Platform, or Amazon Web Services.
14
14
15
15
> [!NOTE]
16
-
> Pick a project name. When you go through the tutorial, replace any of the **AzureRmPipeline** with your project name.
16
+
> Pick a project name. When you go through the tutorial, replace any of the **ARMPipelineProj** with your project name.
17
17
> This project name is used to generate resource names. One of the resources is a storage account. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. The name must be unique. In the template, the storage account name is the project name with **store** appended, and the project name must be between 3 and 11 characters. So the project name must meet the storage account name requirements and has less than 11 characters.
18
18
19
19
This tutorial covers the following tasks:
@@ -51,7 +51,7 @@ If you don't have a GitHub account, see [Prerequisites](#prerequisites).
1. In **Repository name**, enter a repository name. For example, **AzureRmPipeline-repo**. Remember to replace any of **AzureRmPipeline** with your project name. You can select either **Public** or **private** for going through this tutorial. And then select **Create repository**.
54
+
1. In **Repository name**, enter a repository name. For example, **ARMPipeline-repo**. Remember to replace any of **ARMPipeline** with your project name. You can select either **Public** or **private** for going through this tutorial. And then select **Create repository**.
55
55
1. Write down the URL. The repository URL is the following format - `https://github.com/[YourAccountName]/[YourRepositoryName]`.
56
56
57
57
This repository is referred to as a *remote repository*. Each of the developers of the same project can clone their own *local repository*, and merge the changes to the remote repository.
@@ -111,16 +111,14 @@ So far, you have created a GitHub repository, and uploaded the templates to the
111
111
112
112
A DevOps organization is needed before you can proceed to the next procedure. If you don't have one, see [Prerequisites](#prerequisites).
113
113
114
-
1. Sign in to [Azure DevOps](https://dev.azure.com).
115
-
1. Select a DevOps organization from the left.
114
+
1. Sign in to [Azure DevOps](https://go.microsoft.com/fwlink/?LinkId=307137).
115
+
1. Select a DevOps organization from the left, and then select **New project**. If you don't have any projects, the create project page is opened automatically.
1. Select **New project**. If you don't have any projects, the create project page is opened automatically.
120
-
1. Enter the following values:
121
-
122
-
***Project name**: enter a project name. You can use the project name you picked at the very beginning of the tutorial.
123
-
***Version control**: Select **Git**. You might need to expand **Advanced** to see **Version control**.
120
+
***Project name**: Enter a project name. You can use the project name you picked at the very beginning of the tutorial.
121
+
***Visibility**: Select **Private**.
124
122
125
123
Use the default value for the other properties.
126
124
1. Select **Create**.
@@ -130,13 +128,13 @@ Create a service connection that is used to deploy projects to Azure.
130
128
1. Select **Project settings** from the bottom of the left menu.
131
129
1. Select **Service connections** under **Pipelines**.
132
130
1. Select **Create Service connection**, select**Azure Resource Manager**, and thenselect**Next**.
133
-
1. Select **Service principal**, and thenselect**Next**.
131
+
1. Select **Service principal (automatic)**, and thenselect**Next**.
134
132
1. Enter the following values:
135
133
136
134
***Scope level**: select**Subscription**.
137
135
***Subscription**: selectyour subscription.
138
136
***Resource Group**: Leave it blank.
139
-
***Connection name**: enter a connection name. For example, **AzureRmPipeline-conn**. Write down this name, you need the name when you create your pipeline.
137
+
***Connection name**: enter a connection name. For example, **ARMPipeline-conn**. Write down this name, you need the name when you create your pipeline.
140
138
***Grant access permission to all pipelines**. (selected)
141
139
1. Select **Save**.
142
140
@@ -167,7 +165,7 @@ To create a pipeline with a step to deploy a template:
167
165
***Azure Resource Manager connection**: Select the service connection name that you created earlier.
168
166
***Subscription**: Specify the target subscription ID.
169
167
***Action**: Select the **Create Or Update Resource Group** action does 2 actions - 1. create a resource group if a new resource group name is provided; 2. deploy the template specified.
170
-
***Resource group**: Enter a new resource group name. For example, **AzureRmPipeline-rg**.
168
+
***Resource group**: Enter a new resource group name. For example, **ARMPipeline-rg**.
171
169
***Location**: Select a location for the resource group, for example, **Central US**.
172
170
***Template location**: Select **URL of the file**, which means the task looks forthe template file by using the URL. Because _relativePath_ is usedin the main template and _relativePath_ is only supported on URI-based deployments, you must use URL here.
173
171
***Template link**: Enter the URL that you got at the end of the [Prepare a GitHub repository](#prepare-a-github-repository) section. It starts with `https://raw.githubusercontent.com`.
0 commit comments