Skip to content

Commit 712d204

Browse files
author
gitName
committed
Further edits
1 parent 8e7a15b commit 712d204

File tree

4 files changed

+24
-27
lines changed

4 files changed

+24
-27
lines changed

learn-pr/azure-devops/create-multi-stage-pipeline/includes/3-set-up-environment.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Run a template that sets up your Azure DevOps organization.
3737

3838
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.
3939

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.
4242
4343
1. Enter your Azure DevOps organization name, then press **Enter**.
4444

@@ -67,7 +67,7 @@ If you haven't already, create a fork of the **mslearn-tailspin-spacegame-web-de
6767

6868
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.
6969

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.
7171

7272
Recall that the team settled on the following top issues for the current sprint.
7373

@@ -82,15 +82,15 @@ To set up the work item:
8282

8383
1. From Azure DevOps, go to **Boards**. Then, from the menu, select **Boards**.
8484

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.":::
8686

8787
1. In the **Create a multistage pipeline** card, select the down arrow. Then, assign the work item to yourself.
8888

8989
:::image type="content" source="../../shared/media/azure-boards-down-chevron.png" alt-text="Screenshot of Azure Boards showing the location of the down arrow.":::
9090

9191
1. Move the work item from the **To Do** column to the **Doing** column.
9292

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.":::
9494

9595
At the end of this module, you'll move the card to the **Done** column, after you complete the task.
9696

@@ -109,7 +109,7 @@ In this module, you use the Azure CLI to bring up three App Service instances. Y
109109
110110
### Bring up Cloud Shell through the Azure portal
111111

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.
113113
1. From the menu, select **Cloud Shell**. When prompted, select the **Bash** experience.
114114

115115
:::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: *
165165
1. Verify that each environment is running, and that the home page is accessible.
166166
167167
> [!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.
169169
170170
To create your App Service instances, follow these steps:
171171
@@ -203,28 +203,28 @@ To create your App Service instances, follow these steps:
203203
--name tailspin-space-game-web-dev-$webappsuffix \
204204
--resource-group tailspin-space-game-rg \
205205
--plan tailspin-space-game-asp \
206-
--runtime "DOTNET|6.0"
206+
--runtime "DOTNETCORE|8.0"
207207
208208
az webapp create \
209209
--name tailspin-space-game-web-test-$webappsuffix \
210210
--resource-group tailspin-space-game-rg \
211211
--plan tailspin-space-game-asp \
212-
--runtime "DOTNET|6.0"
212+
--runtime "DOTNETCORE|8.0"
213213
214214
az webapp create \
215215
--name tailspin-space-game-web-staging-$webappsuffix \
216216
--resource-group tailspin-space-game-rg \
217217
--plan tailspin-space-game-asp \
218-
--runtime "DOTNET|6.0"
218+
--runtime "DOTNETCORE|8.0"
219219
```
220220
221-
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.
222222
223223
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.
224224
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.
226226
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.
228228
229229
```azurecli
230230
az webapp list \
@@ -280,7 +280,7 @@ To add the variables:
280280
> [!IMPORTANT]
281281
> 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*.
282282
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.
284284
285285
Your variable group resembles this one:
286286
@@ -317,8 +317,8 @@ Here, you create a service connection that enables Azure Pipelines to access you
317317
1. In Azure DevOps, go to your **Space Game - web - Multistage** project.
318318
1. From the lower-left corner of the page, select **Project settings**.
319319
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**.
322322
1. Fill in these fields:
323323
324324
| Field | Value |

learn-pr/azure-devops/create-multi-stage-pipeline/includes/6-promote-staging.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ To create the **staging** environment:
2626
1. Under **Name**, enter *staging*.
2727
1. Leave the remaining fields at their default values.
2828
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.
3330
1. Select **Approvals**.
3431
1. Under **Approvers**, select **Add users and groups**, and then select your account.
3532
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
9188
9289
**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.
9390
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?
9592
9693
**Andy:** Shortly. I think we still need to fill in a few pieces here first before we add that.

learn-pr/azure-devops/create-multi-stage-pipeline/includes/7-clean-up-environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You're finished with the tasks for this module. In this unit, you clean up your
77

88
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.
99

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.
1111

1212
To clean up your resource group:
1313

@@ -77,7 +77,7 @@ To delete the project:
7777
7878
1. In Azure DevOps, go to your project. Earlier, we recommended that you name this project **Space Game - web - Multistage**.
7979
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**.
8181
8282
:::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.":::
8383
1. In the window that appears, enter the project name. Select **Delete** again.

learn-pr/azure-devops/create-multi-stage-pipeline/includes/8-summary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The *Dev*, *Test*, and *Staging* stages each deploy the build artifact to their
88

99
- 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.
1010
- 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.
1212
- 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.
1313

1414
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
1919

2020
In this module, you worked with conditions, triggers, and approvals. To learn more, explore these resources.
2121

22-
* [Conditions](/azure/devops/pipelines/process/conditions?azure-portal=true&tabs=yaml)
23-
* [Build pipeline triggers](/azure/devops/pipelines/build/triggers?azure-portal=true&tabs=yaml)
24-
* [Approvals and other checks](/azure/devops/pipelines/process/approvals?azure-portal=true)
22+
- [Conditions](/azure/devops/pipelines/process/conditions?azure-portal=true&tabs=yaml)
23+
- [Build pipeline triggers](/azure/devops/pipelines/build/triggers?azure-portal=true&tabs=yaml)
24+
- [Approvals and other checks](/azure/devops/pipelines/process/approvals?azure-portal=true)

0 commit comments

Comments
 (0)