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/test-bicep-code-using-azure-pipelines/includes/4-exercise-set-up-environment.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,26 +21,34 @@ The modules in this learning path are part of a progression. For learning purpos
21
21
22
22
### Run the template
23
23
24
-
Run a template that sets up your Azure DevOps project.
24
+
Run a template that sets up your Azure DevOps organization.
25
25
26
-
> [!div class="nextstepaction"]
27
-
> [Run the template](https://azuredevopsdemogenerator.azurewebsites.net/?name=testbicep&azure-portal=true)
26
+
1.[Get and run the ADOGenerator project](https://github.com/microsoft/AzDevOpsDemoGenerator/blob/main/docs/RunApplication.md) in Visual Studio or the IDE of your choice.
28
27
29
-
On the Azure DevOps Demo Generator site, follow these steps to run the template:
28
+
1. When prompted to **Enter the template number from the list of templates**, enter **41** for **Test your Bicep code by using Azure Pipelines**, then press **Enter**.
30
29
31
-
1.Select **Sign In**and accept the usage terms.
30
+
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.
32
31
33
-
1. On the **Create New Project** page, select your Azure DevOps organization. Then enter a project name, such as **toy-website-test**.
32
+
> [!NOTE]
33
+
> If you set up a PAT, 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.
34
34
35
-
:::image type="content" source="../media/4-create-new-project.png" alt-text="Screenshot that shows creating a project through the Azure DevOps Demo Generator.":::
35
+
1. Enter your Azure DevOps organization name, then press **Enter**.
36
36
37
-
1.Select **Create Project**.
37
+
1.If prompted, enter your Azure DevOps PAT, then press **Enter**.
38
38
39
-
The template takes a few moments to run. It automatically creates a pipeline and Bicep file for you to work with in the subsequent exercises.
39
+
1. Enter a project name such as *toy-website-test*, then press **Enter**.
40
40
41
-
1.Select **Navigate to project** to go to your project in Azure DevOps.
41
+
1.Once your project is created, go to your Azure DevOps organization in your browser (at `https://dev.azure.com/<your-organization-name>/`) and select the project.
42
42
43
-
[!include[](../../includes/cleanup-steps.md)]
43
+
### Fork the repository
44
+
45
+
If you haven't already, create a fork of the **mslearn-test-bicep-code-using-github-actions** repository.
46
+
47
+
1. On GitHub, go to the [mslearn-tailspin-spacegame-web](https://github.com/MicrosoftDocs/mslearn-test-bicep-code-using-github-actions) repository.
48
+
49
+
1. Select **Fork** at the top-right of the screen.
50
+
51
+
1. Choose your GitHub account as the **Owner**, then select **Create fork**.
0 commit comments