Skip to content

Commit c0c9a54

Browse files
committed
updates
1 parent ec747c4 commit c0c9a54

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

AzDevOpsDemoGenerator

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 1001601cc6d24718fb168a9787da30b68a75d82b

learn-pr/azure/test-bicep-code-using-azure-pipelines/includes/2-understand-pipeline-stages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pipelines enable you to automate the steps in your deployment process. Your process might include several logical groups of jobs that you want to run. In this unit, you'll learn about pipeline stages and how you to them to add quality control processes to your Bicep deployments.
1+
Pipelines enable you to automate the steps in your deployment process. Your process might include several logical groups of jobs that you want to run. In this unit, you'll learn about pipeline stages and how to use them to add quality control processes to your Bicep deployments.
22

33
## What are pipeline stages?
44

learn-pr/azure/test-bicep-code-using-azure-pipelines/includes/3-lint-validate-bicep-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ A valid Bicep file is one that doesn't contain any syntax errors. Also, the defi
66

77
Some of the checks are performed on your Bicep file in isolation, like the checks for syntax errors, for valid Azure resource definitions, and for code quality. These steps are part of a process called _linting_. To check for other problems, you need to request that the Azure Resource Manager service validates your template and takes your Azure environment into account.
88

9-
A valid Bicep template has a greater chance of successful deployment. You'll get feedback without deploying your Bicep template. Validation is a good practice because if you deploy a Bicep file that's not valid, Azure might deploy or change only a subset of the resources described in your template. The result might be that the state of your environment is inconsistent and might not behave the way you expect.
9+
A valid Bicep template has a better chance of successful deployment. You'll get feedback without deploying your Bicep template. Validation is a good practice because if you deploy a Bicep file that's not valid, Azure might deploy or change only a subset of the resources described in your template. The result might be that the state of your environment is inconsistent and might not behave the way you expect.
1010

1111
## Build and lint Bicep code
1212

13-
When you deploy a Bicep file, the Bicep tooling first runs some basic validation steps. These steps are the same ones that run when you modify your file by using Visual Studio Code. They check that you used Bicep's language keywords correctly and that you defined your Azure resources according to the requirements for each resource type.
13+
When you deploy a Bicep file, the Bicep tooling first runs some basic validation steps. These steps are the same ones that run when you modify your file by using Visual Studio Code. They check that you used Bicep language keywords correctly and that you defined your Azure resources according to the requirements for each resource type.
1414

1515
In addition, Bicep runs a _linter_ over your files. Linting is the process of checking your code against a set of recommendations. The Bicep linter reviews your file and verifies that you followed best practices for maintainability, correctness, flexibility, and extensibility.
1616

@@ -74,7 +74,7 @@ Preflight validation requires communication with Azure, but it doesn't actually
7474

7575
:::image type="content" source="../media/3-stages-validate.png" alt-text="Diagram that shows a pipeline with lint and validate stages, each containing a single job. The validate stage communicates with Azure." border="false":::
7676

77-
You can use the `AzureResourceManagerTemplateDeployment` task to submit a Bicep file for preflight validation and configure the `deploymentMode` to `Validation`:
77+
You can use the `AzureResourceManagerTemplateDeployment` task to submit a Bicep file for preflight validation. Configure the `deploymentMode` to `Validation`:
7878

7979
:::code language="yaml" source="code/3-preflight.yml" range="14-24" highlight="9" :::
8080

learn-pr/azure/test-bicep-code-using-azure-pipelines/includes/4-exercise-set-up-environment.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Run a template that sets up your Azure DevOps organization.
2525

2626
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.
2727

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**, and then select **Enter**.
28+
1. When you're asked whether you want to create a new template or use the demo generator, enter **1** and then select **Enter**.
29+
30+
1. When prompted to **Enter the template number from the list of templates above**, enter **41** for **Test your Bicep code by using Azure Pipelines**, and then select **Enter**.
2931

3032
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.
3133

@@ -44,7 +46,7 @@ Run a template that sets up your Azure DevOps organization.
4446

4547
If you haven't already, create a fork of the **mslearn-test-bicep-code-using-github-actions** repository.
4648

47-
1. On GitHub, go to the [mslearn-tailspin-spacegame-web](https://github.com/MicrosoftDocs/mslearn-test-bicep-code-using-github-actions) repository.
49+
1. On GitHub, go to the [mslearn-test-bicep-code-using-github-actions](https://github.com/MicrosoftDocs/mslearn-test-bicep-code-using-github-actions) repository.
4850

4951
1. Select **Fork** at the top-right of the screen.
5052

0 commit comments

Comments
 (0)