Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit eca1425

Browse files
authored
updated to new pipeline names
1 parent 6285113 commit eca1425

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

Instructions/Labs/AZ400_M07_Integrating_Azure_Key_Vault_with_Azure_DevOps.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ In this task you will import the eShopOnWeb Git repository that will be used by
8686
### Exercise 1: Setup CI pipeline to build eShopOnWeb container
8787

8888
Setup CI YAML pipeline for:
89-
- Create an Azure Container Registry to keep the container images
90-
- Use Docker Compose to build and push **eshoppublicapi** and **eshopwebmvc** container images.
89+
- Create an Azure Container Registry to keep the container images
90+
- Use Docker Compose to build and push **eshoppublicapi** and **eshopwebmvc** container images. Only **eshopwebmvc** container will be deployed.
9191

9292
#### Task 1: (skip if done) Create a service principal
9393

@@ -147,11 +147,11 @@ A service principal is automatically created by Azure Pipeline when you connect
147147
148148
In this task, you will import an existing CI YAML pipeline definition, modify and run it. It will create a new Azure Container Registry (ACR) and build/publish the eShopOnWeb container images.
149149
150-
1. From the lab computer, start a web browser, navigate to the Azure DevOps **eShopOnWeb** project. Go to **Pipelines>Pipelines** and click on **Create Pipeline**.
150+
1. From the lab computer, start a web browser, navigate to the Azure DevOps **eShopOnWeb** project. Go to **Pipelines>Pipelines** and click on **Create Pipeline** (or **New pipeline**).
151151
152152
1. On the **Where is your code?** window, select **Azure Repos Git (YAML)** and select the **eShopOnWeb** repository.
153153
154-
1. On the **Configure** section, choose **Existing Azure Pipelines YAML file**. Provide the following path **/.ado/main-ci-containers-compose.yml** and click on **Continue**.
154+
1. On the **Configure** section, choose **Existing Azure Pipelines YAML file**. Provide the following path **/.ado/eshoponweb-ci-dockercompose.yml** and click on **Continue**.
155155
156156
![Select Pipeline](images/select-ci-container-compose.png)
157157
@@ -162,16 +162,16 @@ In this task, you will import an existing CI YAML pipeline definition, modify an
162162
> **Note**: The build may take a few minutes to complete. The build definition consists of the following tasks:
163163
- **AzureResourceManagerTemplateDeployment** uses **bicep** to deploy an Azure Container Registry.
164164
- **PowerShell** task take the bicep output (acr login server) and creates pipeline variable.
165-
- **DockerCompose** task builds and pushes the container images for eShopOnWeb.
165+
- **DockerCompose** task builds and pushes the container images for eShopOnWeb to the Azure Container Registry .
166166
167-
1. Your pipeline will take a name based on the project name. Lets rename it for identifying the pipeline better. Go to **Pipelines>Pipelines** and click on the recently created pipeline. Click on the ellipsis and **Rename/Remove** option. Name it **main-ci-docker-compose** and click on **Save**.
167+
1. Your pipeline will take a name based on the project name. Lets **rename** it for identifying the pipeline better. Go to **Pipelines>Pipelines** and click on the recently created pipeline. Click on the elipsis and **Rename/Remove** option. Name it **eshoponweb-ci-dockercompose** and click on **Save**.
168168
169169
170-
1. Once the execution is finished, on the Azure Portal and defined Resource Group, you should find an Azure Container Registry (ACR) with the created container images **eshoppublicapi** and **eshopwebmvc**. You will only use **eshopwebmvc** on the deploy phase.
170+
1. Once the execution is finished, on the Azure Portal, open previously defined Resource Group, and you should find an Azure Container Registry (ACR) with the created container images **eshoppublicapi** and **eshopwebmvc**. You will only use **eshopwebmvc** on the deploy phase.
171171
172172
![Container Images in ACR](images/azure-container-registry.png)
173173
174-
1. Click on **Access Keys** and copy the **password** value, it will be used in the following task, as we will keep it in Azure Key Vault.
174+
1. Click on **Access Keys** and copy the **password** value, it will be used in the following task, as we will keep it as a secret in Azure Key Vault.
175175
176176
![ACR password](images/acr-password.png)
177177
@@ -201,7 +201,7 @@ For this lab scenario, we will have a Azure Container Instance (ACI) that pull a
201201
> **Note**: You need to secure access to your key vaults by allowing only authorized applications and users. To access the data from the vault, you will need to provide read (Get/List) permissions to the previously created service principal that you will be using for authentication in the pipeline.
202202
203203
1. On the **Permission** blade, check **Get** and **List** permissions below **Secret Permission**. Click on **Next**.
204-
1. on the **Principal** blade, search for the previosly created Service Principal, either using the Id or Name given. Click on **Next** and **Next** again.
204+
1. on the **Principal** blade, search for the **previosly created Service Principal**, either using the Id or Name given. Click on **Next** and **Next** again.
205205
1. On the **Review + create** blade, click on **Create**
206206
207207
1. Back on the **Create a Key Vault** blade, click on **Review + Create > Create**
@@ -217,7 +217,7 @@ For this lab scenario, we will have a Azure Container Instance (ACI) that pull a
217217
| --- | --- |
218218
| Upload options | **Manual** |
219219
| Name | **acr-secret** |
220-
| Value | ACR access password from previous task |
220+
| Value | ACR access password copied in previous task |
221221
222222
223223
#### Task 3: Create a Variable Group connected to Azure Key Vault
@@ -250,7 +250,7 @@ In this task, you will import a CD pipeline, customize it and run it for deployi
250250
251251
1. On the **Where is your code?** window, select **Azure Repos Git (YAML)** and select the **eShopOnWeb** repository.
252252
253-
1. On the **Configure** section, choose **Existing Azure Pipelines YAML file**. Provide the following path **/.ado/main-cd-web-aci.yml** and click on **Continue**.
253+
1. On the **Configure** section, choose **Existing Azure Pipelines YAML file**. Provide the following path **/.ado/eshoponweb-cd-aci.yml** and click on **Continue**.
254254
255255
1. In the YAML pipeline definition, customize:
256256
@@ -266,6 +266,8 @@ In this task, you will import a CD pipeline, customize it and run it for deployi
266266
- **Variables (for Deploy stage)** connecs to the variable gorup to consume the Azure Key Vault secret **acr-secret**
267267
- **AzureResourceManagerTemplateDeployment** deploys the Azure Container Instance (ACI) using bicep template and provides the ACR login parameters to allow ACI to download the previously created container image from Azure Container Registry (ACR).
268268
269+
1. Your pipeline will take a name based on the project name. Lets **rename** it for identifying the pipeline better. Go to **Pipelines>Pipelines** and click on the recently created pipeline. Click on the elipsis and **Rename/Remove** option. Name it **eshoponweb-cd-aci** and click on **Save**.
270+
269271
### Exercise 2: Remove the Azure lab resources
270272
271273
In this exercise, you will remove the Azure resources provisione in this lab to eliminate unexpected charges.
@@ -283,6 +285,6 @@ In this task, you will use Azure Cloud Shell to remove the Azure resources provi
283285
In this lab, you integrated Azure Key Vault with an Azure DevOps pipeline by using the following steps:
284286
285287
286-
- created an Azure service principal to provide access to secrets in the Azure Key vault and authenticate deployment to Azure from Azure DevOps.
287-
- run 2 YAML pipelines imported from a Git repository.
288-
- configured pipeline to retrieve the password from the Azure Key vault using ADO Variable Group and use it on subsequent tasks.
288+
- Created an Azure service principal to provide access to secrets in the Azure Key vault and authenticate deployment to Azure from Azure DevOps.
289+
- Run 2 YAML pipelines imported from a Git repository.
290+
- Configured pipeline to retrieve the password from the Azure Key vault using ADO Variable Group and use it on subsequent tasks.

0 commit comments

Comments
 (0)