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: learn-pr/azure-devops/create-multi-stage-pipeline/includes/3-set-up-environment.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ Run a template that sets up your Azure DevOps organization.
37
37
38
38
1. Choose your authentication method. You can [set up and use a Personal Access Token (PAT)](/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate#create-a-pat) or use device login.
39
39
40
-
> [!NOTE]
41
-
> If you set up a PAT, make sure to authorize the necessary [scopes](/azure/devops/integrate/get-started/authentication/oauth#scopes). For this module, you can use **Full access**, but in a real-world situation, you should ensure you grant only the necessary scopes.
40
+
> [!NOTE]
41
+
> If you set up a PAT, make sure to authorize the necessary [scopes](/azure/devops/integrate/get-started/authentication/oauth#scopes). For this module, you can use **Full access**, but in a real-world situation, you should ensure you grant only the necessary scopes.
42
42
43
43
1. Enter your Azure DevOps organization name, then press **Enter**.
44
44
@@ -67,7 +67,7 @@ If you haven't already, create a fork of the **mslearn-tailspin-spacegame-web-de
67
67
68
68
Here, you assign a work item to yourself on Azure Boards. You also move the work item to the **Doing** state. In practice, you and your team would create work items at the start of each *sprint* or work iteration.
69
69
70
-
This work assignment gives you a checklist to work from. It gives other team members visibility into what you're working on and how much work is left. The work item also helps enforce work-in-progress (WIP) limits so that the team doesn't take on too much work at one time.
70
+
This work assignment gives you a checklist from which to work. It gives other team members visibility into what you're working on and how much work is left. The work item also helps enforce work-in-progress (WIP) limits so that the team doesn't take on too much work at one time.
71
71
72
72
Recall that the team settled on the following top issues for the current sprint.
73
73
@@ -82,15 +82,15 @@ To set up the work item:
82
82
83
83
1. From Azure DevOps, go to **Boards**. Then, from the menu, select **Boards**.
84
84
85
-
:::image type="content" source="../../shared/media/azure-devops-boards-menu.png" alt-text="A screenshot of Azure DevOps showing the location of the Boards menu.":::
85
+
:::image type="content" source="../../shared/media/azure-devops-boards-menu.png" alt-text="Screenshot of Azure DevOps showing the location of the Boards menu.":::
86
86
87
87
1. In the **Create a multistage pipeline** card, select the down arrow. Then, assign the work item to yourself.
88
88
89
89
:::image type="content" source="../../shared/media/azure-boards-down-chevron.png" alt-text="Screenshot of Azure Boards showing the location of the down arrow.":::
90
90
91
91
1. Move the work item from the **To Do** column to the **Doing** column.
92
92
93
-
:::image type="content" source="../media/3-azure-boards-wi1-doing.png" alt-text="A screenshot of Azure Boards showing the card in the Doing column.":::
93
+
:::image type="content" source="../media/3-azure-boards-wi1-doing.png" alt-text="Screenshot of Azure Boards showing the card in the Doing column.":::
94
94
95
95
At the end of this module, you'll move the card to the **Done** column, after you complete the task.
96
96
@@ -109,7 +109,7 @@ In this module, you use the Azure CLI to bring up three App Service instances. Y
109
109
110
110
### Bring up Cloud Shell through the Azure portal
111
111
112
-
1. Go to the [Azure portal](https://portal.azure.com?azure-portal=true), and sign in.
112
+
1. Go to the [Azure portal](https://portal.azure.com?azure-portal=true) and sign in.
113
113
1. From the menu, select **Cloud Shell**. When prompted, select the **Bash** experience.
114
114
115
115
:::image type="content" source="../../shared/media/azure-portal-menu-cloud-shell.png" alt-text="A screenshot of the Azure portal showing the location of the Cloud Shell menu item.":::
@@ -165,7 +165,7 @@ Here, you create the App Service instances for the three stages you deploy to: *
165
165
1. Verify that each environment is running, and that the home page is accessible.
166
166
167
167
> [!NOTE]
168
-
> For learning purposes, here, you use the default network settings. These settings make your site accessible from the internet. In practice, you could configure an Azure virtual network that places your website in a network that's not internet routable, and that only you and your team can access. Later, you could reconfigure your network to make the website available to your users.
168
+
> For learning purposes, you use the default network settings here. These settings make your site accessible from the internet. In practice, you could configure an Azure virtual network that places your website in a network that's not internet routable, and that only you and your team can access. Later, you could reconfigure your network to make the website available to your users.
169
169
170
170
To create your App Service instances, follow these steps:
171
171
@@ -203,28 +203,28 @@ To create your App Service instances, follow these steps:
For learning purposes, here, you apply the same App Service plan, B1 Basic, to each App Service instance. In practice, you would assign a plan that matches your expected workload.
221
+
For learning purposes, you apply the same App Service plan, B1 Basic, to each App Service instance here. In practice, you'd assign a plan that matches your expected workload.
222
222
223
223
For example, for the environments that map to the *Dev* and *Test* stages, B1 Basic might be appropriate because you want only your team to access the environments.
224
224
225
-
For the *Staging* environment, you would select a plan that matches your production environment. That plan would likely provide greater CPU, memory, and storage resources. Under the plan, you can run performance tests, like load tests, in an environment that resembles your production environment. You can run the tests without affecting live traffic to your site.
225
+
For the *Staging* environment, you'd select a plan that matches your production environment. That plan would likely provide greater CPU, memory, and storage resources. Under the plan, you can run performance tests, like load tests, in an environment that resembles your production environment. You can run the tests without affecting live traffic to your site.
226
226
227
-
1. To list the host name and state of each App Service instance, run the following `az webapp list` command.
227
+
1. To list each App Service instance's host name and state, run the following `az webapp list` command.
228
228
229
229
```azurecli
230
230
az webapp list \
@@ -280,7 +280,7 @@ To add the variables:
280
280
> [!IMPORTANT]
281
281
> Set the name of the App Service instance, not its host name. In this example, you would enter *tailspin-space-game-web-dev-1234* and not *tailspin-space-game-web-dev-1234.azurewebsites.net*.
282
282
283
-
1. Near the beginning of the page, select **Save** to save your variable in the pipeline.
283
+
1. Near the top of the page, select **Save** to save your variable in the pipeline.
284
284
285
285
Your variable group resembles this one:
286
286
@@ -317,8 +317,8 @@ Here, you create a service connection that enables Azure Pipelines to access you
317
317
1. In Azure DevOps, go to your **Space Game - web - Multistage** project.
318
318
1. From the lower-left corner of the page, select **Project settings**.
319
319
1. Under **Pipelines**, select **Service connections**.
320
-
1. Select **New service connection**, then select **Azure Resource Manager**, and then select **Next**.
321
-
1. At the beginning of the page, select **Service principal (automatic)**. Then, select **Next**.
320
+
1. Select **Create service connection**, then select **Azure Resource Manager**, and then select **Next**.
321
+
1. At the beginning of the page, select **App registration (automatic)**. Then, select **Next**.
Copy file name to clipboardExpand all lines: learn-pr/azure-devops/create-multi-stage-pipeline/includes/6-promote-staging.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,7 @@ To create the **staging** environment:
26
26
1. Under **Name**, enter *staging*.
27
27
1. Leave the remaining fields at their default values.
28
28
1. Select **Create**.
29
-
1. On the **staging** environment page, open the dropdown, and then select **Approvals and checks**.
30
-
31
-
:::image type="content" source="../../shared/media/pipeline-add-check-to-environment.png" alt-text="A screenshot of Azure Pipelines, showing the location of the approvals and checks menu item.":::
32
-
29
+
1. On the **staging** environment page, select the **Approvals and checks** tab.
33
30
1. Select **Approvals**.
34
31
1. Under **Approvers**, select **Add users and groups**, and then select your account.
35
32
1. Under **Instructions to approvers**, enter *Approve this change when it's ready for staging*.
@@ -91,6 +88,6 @@ The Tailspin team gathers to discuss their progress. Amita approves changes in t
91
88
92
89
**Tim:** To tell you the truth, at first I was a little nervous about automated release pipelines. But I really like this now that I see it working. Each stage can have its own environment, associated tests, and approvers. The pipeline automates many things that we had to do manually. But we still have control where we need it.
93
90
94
-
**Amita:** I could imagine us doing something similar to promote changes from *Staging* to *Production*. Speaking of...when do we add a **production** environment?
91
+
**Amita:** I could imagine us doing something similar to promote changes from *Staging* to *Production*. Speaking of, when do we add a **production** environment?
95
92
96
93
**Andy:** Shortly. I think we still need to fill in a few pieces here first before we add that.
Copy file name to clipboardExpand all lines: learn-pr/azure-devops/create-multi-stage-pipeline/includes/7-clean-up-environment.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ You're finished with the tasks for this module. In this unit, you clean up your
7
7
8
8
Here, you delete your Azure App Service instances. The easiest way to delete the instances is to delete their parent resource group. When you delete a resource group, you delete all resources in that group.
9
9
10
-
In the [Create a release pipeline with Azure Pipelines](/training/modules/create-release-pipeline?azure-portal=true) module, you managed Azure resources through the Azure portal. Here you tear down your deployment by using the Azure CLI through Azure Cloud Shell. The steps are similar to the steps that you used when you created the resources.
10
+
In the [Create a release pipeline with Azure Pipelines](/training/modules/create-release-pipeline?azure-portal=true) module, you managed Azure resources through the Azure portal. Here, you can tear down your deployment by using the Azure CLI through Azure Cloud Shell. The steps are similar to the steps that you used when you created the resources.
11
11
12
12
To clean up your resource group:
13
13
@@ -77,7 +77,7 @@ To delete the project:
77
77
78
78
1. In Azure DevOps, go to your project. Earlier, we recommended that you name this project **Space Game - web - Multistage**.
79
79
1. Select **Project settings** in the lower-left corner of your Azure DevOps page.
80
-
1. In the **Project details** area, scroll down, and select **Delete**.
80
+
1. In the **Project details** area, scroll down and select **Delete**.
81
81
82
82
:::image type="content" source="../../shared/media/azure-devops-delete-project.png" alt-text="A screenshot of Azure Pipelines showing the location of the Delete button.":::
83
83
1. In the window that appears, enter the project name. Select **Delete** again.
Copy file name to clipboardExpand all lines: learn-pr/azure-devops/create-multi-stage-pipeline/includes/8-summary.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The *Dev*, *Test*, and *Staging* stages each deploy the build artifact to their
8
8
9
9
- When a change is pushed to GitHub, a *trigger* causes the *Build* stage to run. The *Build* stage produces a build artifact as its output.
10
10
- The *Dev* stage runs only when the change happens in the *release* branch. You use a *condition* to specify this requirement.
11
-
- The *Test* stage runs at 3 A.M. each morning. This stage runs only when the *release* branch contains changes since the last run. You use a *scheduled trigger* to specify when the *Test* stage runs.
11
+
- The *Test* stage runs at 3 A.M. each day. This stage runs only when the *release* branch contains changes since the last run. You use a *scheduled trigger* to specify when the *Test* stage runs.
12
12
- The *Staging* stage runs only after you approve the changes in the *Test* stage. You add a *release approval* to the **staging** environment to pause the pipeline until you approve or reject the change.
13
13
14
14
This pipeline satisfies the requirements of the Tailspin team. Your pipeline's shape and how changes flow through it depend on the needs of your team, and of the apps and services that you build.
@@ -19,6 +19,6 @@ Although the team is improving their release cadence, there's room for more impr
19
19
20
20
In this module, you worked with conditions, triggers, and approvals. To learn more, explore these resources.
0 commit comments