Skip to content

Commit 2090a1b

Browse files
author
BobbySchmidt2
committed
edit pass: devops-tutorial-2
1 parent 6e0941c commit 2090a1b

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

articles/virtual-machines/linux/tutorial-azure-devops-blue-green-strategy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This article shows how to set up a CI/CD pipeline that uses the blue-green strat
2727

2828
### Configure CI/CD on virtual machines
2929

30-
You can add virtual machines as targets to a [deployment group](https://docs.microsoft.com/azure/devops/pipelines/release/deployment-groups). You can then target them for multimachine updates. After you deploy to machines, view **Deployment History** within a deployment group. This view lets you trace from VM to the pipeline and then to the commitment.
30+
You can add virtual machines as targets to a [deployment group](https://docs.microsoft.com/azure/devops/pipelines/release/deployment-groups). You can then target them for multimachine updates. After you deploy to machines, view **Deployment History** within a deployment group. This view lets you trace from VM to the pipeline and then to the commit.
3131

3232
### Blue-green deployments
3333

@@ -49,19 +49,19 @@ Using the continuous-delivery option, you can configure blue-green deployments t
4949
1. A deployment group is a logical set of deployment target machines that represent the physical environments. Dev, Test, UAT, and Production are examples. You can create a new deployment group or select an existing one.
5050
1. Select the build pipeline that publishes the package to be deployed to the virtual machine. The published package should have a deployment script named deploy.ps1 or deploy.sh in the deployscripts folder in the package's root folder. The pipeline runs this deployment script.
5151
1. In **Deployment strategy**, select **Blue-Green**.
52-
1. Add a "blue" or "green" tag to VMs that are to be part of blue-green deployments. If a VM is for a standby role, tag it as "green." Otherwise, tag it as "blue."
52+
1. Add a "blue" or "green" tag to VMs that are to be part of blue-green deployments. If a VM is for a standby role, tag it as "green". Otherwise, tag it as "blue".
5353

5454
![The Continuous delivery panel, with the Deployment strategy value Blue-Green chosen](media/tutorial-devops-azure-pipelines-classic/azure-devops-blue-green-configure.png)
5555

5656
1. Select **OK** to configure the continuous-delivery pipeline to deploy to the virtual machine.
5757

5858
![The blue-green pipeline](media/tutorial-devops-azure-pipelines-classic/azure-devops-blue-green-pipeline.png)
5959

60-
1. Select **Edit** for the release pipeline in Azure DevOps Pipelines to see the pipeline configuration. The pipeline has these three phases:
60+
1. The deployment details for the virtual machine are displayed. You can select the link to go to the release pipeline in Azure DevOps. In the release pipeline, select **Edit** to view the pipeline configuration. The pipeline has these three phases:
6161

62-
1. This phase is a deployment-group phase. Applications are deployed to standby VMs, which are tagged as "green."
63-
1. The pipeline pauses and waits for manual intervention to resume the run.
64-
1. After deployment is stable, users can redirect traffic to "green" VMs and resume the pipeline run. That run swaps the "blue" and "green" tags in the VMs. This technique ensures that VMs with older application versions are tagged as "green." During the next pipeline run, applications are deployed to these VMs.
62+
1. This phase is a deployment-group phase. Applications are deployed to standby VMs, which are tagged as "green".
63+
1. In this phase, the pipeline pauses and waits for manual intervention to resume the run. Users can resume the pipeline run once they have manually ensured stability of deployment to VMs tagged as "green".
64+
1. This phase swaps the "blue" and "green" tags in the VMs. This ensures that VMs with older application versions are now tagged as "green". During the next pipeline run, applications will be deployed to these VMs.
6565

6666
![The Deployment group pane for the Deploy Blue-Green task](media/tutorial-devops-azure-pipelines-classic/azure-devops-blue-green-tasks.png)
6767

articles/virtual-machines/linux/tutorial-azure-devops-canary-strategy.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This article shows how to set up a CI/CD pipeline that uses the canary strategy
2727

2828
### Configure CI/CD on virtual machines
2929

30-
You can add virtual machines as targets to a [deployment group](https://docs.microsoft.com/azure/devops/pipelines/release/deployment-groups). You can then target them for multimachine updates. After you deploy to machines, view **Deployment History** within a deployment group. This view lets you trace from VM to the pipeline and then to the commitment.
30+
You can add virtual machines as targets to a [deployment group](https://docs.microsoft.com/azure/devops/pipelines/release/deployment-groups). You can then target them for multimachine updates. After you deploy to machines, view **Deployment History** within a deployment group. This view lets you trace from VM to the pipeline and then to the commit.
3131

3232
### Canary deployments
3333

@@ -53,17 +53,17 @@ Using the continuous-delivery option, you can configure canary deployments to yo
5353

5454
1. Select **OK** to configure the continuous-delivery pipeline to deploy to the virtual machine.
5555

56-
![The canary pipeline](media/tutorial-devops-azure-pipelines-classic/azure-devops-configure-canary.png)
56+
![The canary pipeline](media/tutorial-devops-azure-pipelines-classic/azure-devops-canary-pipeline.png)
5757

58-
1. Select **Edit** for the release pipeline in Azure DevOps Pipelines to see the pipeline configuration. The pipeline has these three phases:
58+
1. The deployment details for the virtual machine are displayed. You can select the link to go to the release pipeline in Azure DevOps. In the release pipeline, select **Edit** to view the pipeline configuration. The pipeline has these three phases:
5959

60-
1. This phase is a deployment-group phase. Applications are deployed to VMs that are tagged as "canary."
61-
1. The pipeline pauses and waits for manual intervention to resume the run.
62-
1. After deployment is stable, users can resume the pipeline run that deploys to VMs tagged as "prod."
60+
1. This phase is a deployment-group phase. Applications are deployed to VMs that are tagged as "canary".
61+
1. In this phase, the pipeline pauses and waits for manual intervention to resume the run.
62+
1. This is again a deployment group phase. The update is now deployed to VMs tagged as "prod".
6363

6464
![The Deployment group pane for the Deploy Canary task](media/tutorial-devops-azure-pipelines-classic/azure-devops-canary-task.png)
6565

66-
1. Before resuming the pipeline run, ensure that at least one VM is tagged as "prod." In the third phase of the pipeline, applications are deployed to only those VMs that have the "prod" tag.
66+
1. Before resuming the pipeline run, ensure that at least one VM is tagged as "prod". In the third phase of the pipeline, applications are deployed to only those VMs that have the "prod" tag.
6767

6868
1. The Execute Deploy Script task by default runs the deployment script deploy.ps1 or deploy.sh. The script is in the deployscripts folder in the root folder of the published package. Ensure that the selected build pipeline publishes the deployment in the root folder of the package.
6969

articles/virtual-machines/linux/tutorial-devops-azure-pipelines-classic.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This article shows how to set up a CI/CD pipeline for rolling multimachine deplo
3131

3232
### Configure CI/CD on virtual machines
3333

34-
You can add virtual machines as targets to a [deployment group](https://docs.microsoft.com/azure/devops/pipelines/release/deployment-groups). You can then target them for multimachine updates. After you deploy to machines, view **Deployment History** within a deployment group. This view lets you trace from VM to the pipeline and then to the commitment.
34+
You can add virtual machines as targets to a [deployment group](https://docs.microsoft.com/azure/devops/pipelines/release/deployment-groups). You can then target them for multimachine updates. After you deploy to machines, view **Deployment History** within a deployment group. This view lets you trace from VM to the pipeline and then to the commit.
3535

3636
### Rolling deployments
3737

@@ -57,7 +57,8 @@ Using the continuous-delivery option, you can configure rolling updates to your
5757

5858
![The Continuous delivery panel showing Deployment history](media/tutorial-devops-azure-pipelines-classic/azure-devops-deployment-history.png)
5959

60-
1. The deployment to the virtual machine is in progress. You can select the link to go to the pipeline. Select **Release-1** to view the deployment. Or select **Edit** to modify the release-pipeline definition.
60+
1. The deployment details for the virtual machine are displayed. You can select the link to go to the pipeline, **Release-1** to view the deployment, or **Edit** to modify the release-pipeline definition.
61+
6162
1. If you're configuring multiple VMs, repeat steps 2 through 4 for other VMs to add to the deployment group. If you select a deployment group that already has a pipeline run, the VMs are just added to the deployment group. No new pipelines are created.
6263
1. After configuration is done, select the pipeline definition, navigate to the Azure DevOps organization, and select **Edit** for the release pipeline.
6364

0 commit comments

Comments
 (0)