Skip to content

Commit bb41493

Browse files
authored
Merge pull request #243670 from mumian/0628-arm-deployment-tutorial
0628 arm deployment tutorial
2 parents 7e29b87 + d8b0547 commit bb41493

5 files changed

+11
-13
lines changed

articles/azure-resource-manager/templates/deployment-tutorial-pipeline.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Continuous integration with Azure Pipelines
33
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
55
ms.topic: tutorial
66
ms.custom: devx-track-arm-template
77
---
@@ -13,7 +13,7 @@ In the [previous tutorial](./deployment-tutorial-linked-template.md), you deploy
1313
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.
1414

1515
> [!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.
1717
> 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.
1818
1919
This tutorial covers the following tasks:
@@ -51,7 +51,7 @@ If you don't have a GitHub account, see [Prerequisites](#prerequisites).
5151
![Azure Resource Manager Azure DevOps Azure Pipelines create GitHub repository](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-github-repository.png)
5252

5353
1. Select **New**, a green button.
54-
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**.
5555
1. Write down the URL. The repository URL is the following format - `https://github.com/[YourAccountName]/[YourRepositoryName]`.
5656

5757
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
111111

112112
A DevOps organization is needed before you can proceed to the next procedure. If you don't have one, see [Prerequisites](#prerequisites).
113113
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.
116+
1. Enter the following values:
116117

117118
![Azure Resource Manager Azure DevOps Azure Pipelines create Azure DevOps project](./media/deployment-tutorial-pipeline/azure-resource-manager-devops-pipelines-create-devops-project.png)
118119

119-
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**.
124122

125123
Use the default value for the other properties.
126124
1. Select **Create**.
@@ -130,13 +128,13 @@ Create a service connection that is used to deploy projects to Azure.
130128
1. Select **Project settings** from the bottom of the left menu.
131129
1. Select **Service connections** under **Pipelines**.
132130
1. Select **Create Service connection**, select **Azure Resource Manager**, and then select **Next**.
133-
1. Select **Service principal**, and then select **Next**.
131+
1. Select **Service principal (automatic)**, and then select **Next**.
134132
1. Enter the following values:
135133

136134
* **Scope level**: select **Subscription**.
137135
* **Subscription**: select your subscription.
138136
* **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.
140138
* **Grant access permission to all pipelines**. (selected)
141139
1. Select **Save**.
142140

@@ -167,7 +165,7 @@ To create a pipeline with a step to deploy a template:
167165
* **Azure Resource Manager connection**: Select the service connection name that you created earlier.
168166
* **Subscription**: Specify the target subscription ID.
169167
* **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**.
171169
* **Location**: Select a location for the resource group, for example, **Central US**.
172170
* **Template location**: Select **URL of the file**, which means the task looks for the template file by using the URL. Because _relativePath_ is used in the main template and _relativePath_ is only supported on URI-based deployments, you must use URL here.
173171
* **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`.
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)