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

Commit 7b4ba98

Browse files
authored
Merge pull request #586 from rob-foulkrod/master
Added instructions to set the main branch as default branch in labs where missing
2 parents b820de0 + 66484d8 commit 7b4ba98

10 files changed

Lines changed: 55 additions & 1 deletion

Instructions/Labs/AZ400_M00_Validate_lab_environment.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,10 @@ In this task you will import the eShopOnWeb Git repository that will be used by
7979
- **.github** folder container YAML GitHub workflow definitions.
8080
- **src** folder contains the .NET 8 website used on the lab scenarios.
8181

82+
#### Task 3: Set main branch as default branch
83+
84+
1. Go to **Repos>Branches**.
85+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
86+
1. Click on **Set as default branch**.
87+
8288
You have now completed the necessary prerequisite steps to continue with the different individual labs for this AZ-400 course.

Instructions/Labs/AZ400_M01_L02_Version_Control_with_Git_in_Azure_Repos.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ In this task you will import the eShopOnWeb Git repository that will be used by
7070
- **.github** folder container YAML GitHub workflow definitions.
7171
- **src** folder contains the .NET 8 website used on the lab scenarios.
7272

73+
#### Task 3: (skip if done) Set main branch as default branch
74+
75+
1. Go to **Repos>Branches**.
76+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
77+
1. Click on **Set as default branch**.
78+
7379
#### Task 3: Configure Git and Visual Studio Code
7480

7581
In this task, you will install and configure Git and Visual Studio Code, including configuring the Git credential helper to securely store the Git credentials used to communicate with Azure DevOps. If you have already implemented these prerequisites, you can proceed directly to the next task.

Instructions/Labs/AZ400_M02_L03_Configure_Agent_Pools_and_Understand_Pipeline_Styles.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ In this task you will import the eShopOnWeb Git repository that will be used by
6060
- **.github** folder contains YAML GitHub workflow definitions.
6161
- **src** folder contains the .NET 8 website used in the lab scenarios.
6262

63+
#### Task 3: (skip if done) Set main branch as default branch
64+
65+
1. Go to **Repos>Branches**.
66+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
67+
1. Click on **Set as default branch**.
68+
6369
### Exercise 1: Author YAML-based Azure Pipelines
6470

6571
In this exercise, you will create an application lifecycle build pipeline, using a YAML-based template.

Instructions/Labs/AZ400_M02_L04_Enable_Continuous_Integration_with_Azure_Pipelines.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ In this task you will import the eShopOnWeb Git repository that will be used by
5656
- **.github** folder contains YAML GitHub workflow definitions.
5757
- **src** folder contains the .NET website used in the lab scenarios.
5858

59+
#### Task 3: (skip if done) Set main branch as default branch
60+
61+
1. Go to **Repos>Branches**.
62+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
63+
1. Click on **Set as default branch**.
64+
5965
### Exercise 1: Include build validation as part of a Pull Request
6066

6167
In this exercise, you will include build validation to validate a Pull Request.

Instructions/Labs/AZ400_M03_L07_Configure_Pipelines_as_Code_with_YAML.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ In this task you will import the eShopOnWeb Git repository that will be used by
5959
- **.github** folder container YAML GitHub workflow definitions.
6060
- **src** folder contains the .NET 8 website used on the lab scenarios.
6161

62+
1. Go to **Repos>Branches**.
63+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
64+
1. Click on **Set as default branch**.
65+
6266
#### Task 2: Create Azure resources
6367

6468
In this task, you will create an Azure web app by using the Azure portal.

Instructions/Labs/AZ400_M03_L08_Control_Deployments_using_Release_Gates.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ In this task you will import the eShopOnWeb Git repository that will be used by
8181
- **.github** folder container YAML GitHub workflow definitions.
8282
- **src** folder contains the .NET 8 website used on the lab scenarios.
8383

84+
1. Go to **Repos>Branches**.
85+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
86+
1. Click on **Set as default branch**.
87+
8488
#### Task 3: (skip if already done) Configure CI Pipeline as Code with YAML in Azure DevOps
8589

8690
In this task, you will add a YAML build definition to the existing project.

Instructions/Labs/AZ400_M03_L09_Set_Up_and_Run_Functional_Tests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ In this task you will import the eShopOnWeb Git repository that will be used by
5757
- **.github** folder contains YAML GitHub workflow definitions.
5858
- **src** folder contains the .NET website used in the lab scenarios.
5959

60+
#### Task 3: (skip if done) Set main branch as default branch
61+
62+
1. Go to **Repos>Branches**.
63+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
64+
1. Click on **Set as default branch**.
65+
6066
### Exercise 1: Setup Tests in CI pipeline
6167

6268
In this exercise, you will setup tests in CI pipeline.

Instructions/Labs/AZ400_M04_L10_Integrate_Azure_Key_Vault_with_Azure_DevOps.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ In this task you will import the eShopOnWeb Git repository that will be used by
6464
- **.github** folder container YAML GitHub workflow definitions.
6565
- **src** folder contains the .NET 8 website used on the lab scenarios.
6666

67+
#### Task 3: (skip if done) Set main branch as default branch
68+
69+
1. Go to **Repos>Branches**.
70+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
71+
1. Click on **Set as default branch**.
72+
6773
### Exercise 1: Setup CI pipeline to build eShopOnWeb container
6874

6975
Setup CI YAML pipeline for:

Instructions/Labs/AZ400_M05_L12_Deployments_using_Azure_Bicep_templates.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ In this task you will import the eShopOnWeb Git repository that will be used by
6262
- **.github** folder container YAML GitHub workflow definitions.
6363
- **src** folder contains the .NET 8 website used on the lab scenarios.
6464

65+
#### Task 3: (skip if done) Set main branch as default branch
66+
67+
1. Go to **Repos>Branches**.
68+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
69+
1. Click on **Set as default branch**.
70+
6571
### Exercise 1: Understand an Azure Bicep template and simplify it using a reusable module
6672

6773
In this lab, you will review an Azure Bicep template and simplify it using a reusable module.

Instructions/Labs/AZ400_M08_L14_Monitor_Application_Performance_with_Azure_Load_Testing.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ In this task you will import the eShopOnWeb Git repository that will be used by
6767
- **.github** folder container YAML GitHub workflow definitions.
6868
- **src** folder contains the .NET 8 website used on the lab scenarios.
6969

70-
#### Task 2: Create Azure resources
70+
1. Go to **Repos>Branches**.
71+
1. Hover on the **main** branch then click the ellipsis on the right of the column.
72+
1. Click on **Set as default branch**.
73+
74+
#### Task 3: Create Azure resources
7175

7276
In this task, you will create an Azure web app by using the cloud shell in Azure portal.
7377

0 commit comments

Comments
 (0)