Skip to content

Commit e288e49

Browse files
committed
Merge branches 'users/chcomley/399563-curation' and 'main' of https://github.com/MicrosoftDocs/azure-devops-docs-pr
2 parents 4477f12 + c7786e2 commit e288e49

File tree

10 files changed

+47
-60
lines changed

10 files changed

+47
-60
lines changed
-86.8 KB
Binary file not shown.
-33 KB
Binary file not shown.

docs/pipelines/ecosystems/kubernetes/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For more information on canary deployments with pipelines, see [Use a canary dep
9191

9292
Kubernetes runs the same way on all cloud providers. Azure Pipelines can be used for deploying to Azure Kubernetes Service (AKS), Google Kubernetes Engine (GKE), Amazon Elastic Kubernetes Service (EKS), or clusters from any other cloud providers.
9393

94-
To set up multicloud deployment, [create an environment](../../process/environments.md#creation) and then add your Kubernetes resources associated with namespaces of Kubernetes clusters.
94+
To set up multicloud deployment, [create an environment](../../process/environments.md#create-an-environment) and then add your Kubernetes resources associated with namespaces of Kubernetes clusters.
9595

9696
* [Azure Kubernetes Service](../../process/environments-kubernetes.md#use-azure-kubernetes-service)
9797
* [Generic provider using existing service account](../../process/environments-kubernetes.md#use-an-existing-service-account)
22.5 KB
Loading

docs/pipelines/licensing/concurrent-jobs.md

Lines changed: 38 additions & 50 deletions
Large diffs are not rendered by default.

docs/pipelines/process/environments.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ An environment represents a logical target where your pipeline deploys software.
2020
2121
Environments provide the following benefits:
2222

23-
- **Deployment history**. Pipeline name and run details are recorded for deployments to an environment and its resources. In the context of multiple pipelines targeting the same environment or resource, you can use [deployment history](#deployment-history) of an environment to identify the source of changes.
23+
- **Deployment history**. Pipeline name and run details are recorded for deployments to an environment and its resources. In the context of multiple pipelines targeting the same environment or resource, you can use [deployment history](#view-deployment-history) of an environment to identify the source of changes.
2424

25-
- **Traceability of commits and work items**. You can view jobs within the pipeline run that target an environment. You can also view the [commits and work items](#deployment-history) that were newly deployed to the environment. Traceability also lets you track whether a code change commit or feature/bug-fix work item reached an environment.
25+
- **Traceability of commits and work items**. You can view jobs within the pipeline run that target an environment. You can also view the [commits and work items](#view-deployment-history) that were newly deployed to the environment. Traceability also lets you track whether a code change commit or feature/bug-fix work item reached an environment.
2626

2727
- **Diagnostic resource health**. You can validate whether the application is functioning at its desired state.
2828

@@ -43,7 +43,7 @@ To add an environment, you need the following prerequisites:
4343
- An Azure DevOps organization and project.
4444
- The [Creator role for environments](../library/add-resource-protection.md#environments) in your project.
4545

46-
<a name="creation"></a>
46+
4747
## Create an environment
4848

4949
To create your first environment:
@@ -61,9 +61,11 @@ To create your first environment:
6161
> [!TIP]
6262
> You can create an empty environment and reference it from deployment jobs so you can record deployment history against the environment.
6363
64+
To programmatically create and manage environments, use the [Azure DevOps Environments REST API](/rest/api/azure/devops/environments/environments).
65+
6466
You can use Azure Pipelines to deploy to environments. For more information, see [Build and deploy to Azure Kubernetes Service with Azure Pipelines](../ecosystems/kubernetes/aks-template.md).
6567

66-
<a name="target-from-deployment-job"></a>
68+
6769
## Target an environment from a deployment job
6870

6971
A [deployment job](deployment-jobs.md) is a collection of steps that run sequentially. You can use a deployment job to target an entire environment group of resources, as shown in the following example YAML snippet. The pipeline runs on the `myVM` machine because that resource name is specified.
@@ -87,7 +89,6 @@ A [deployment job](deployment-jobs.md) is a collection of steps that run sequent
8789
- script: echo Hello world
8890
```
8991
90-
<a name="target-resource-from-deployment-job"></a>
9192
## Target a specific environment resource from a deployment job
9293
9394
You can scope the deployment target to a particular resource within the environment, so you can record deployment history on the specific resource. The steps of the deployment job automatically inherit the service connection details from the resource the deployment job targets.
@@ -113,7 +114,7 @@ strategy:
113114
```
114115

115116
> [!NOTE]
116-
> If you're using a private AKS cluster, make sure you're connected to the cluster's virtual network as the the API server endpoint is not exposed through a public IP address.
117+
> If you're using a private AKS cluster, make sure you're connected to the cluster's virtual network as the API server endpoint isn't exposed through a public IP address.
117118
>
118119
> Azure Pipelines recommends setting up a self-hosted agent within a VNET that has access to the cluster's virtual network. See [Options for connecting to the private cluster](/azure/aks/private-clusters#options-for-connecting-to-the-private-cluster) for details.
119120

@@ -123,7 +124,6 @@ To control deployments to production environments, Azure Pipelines supports manu
123124

124125
The environment **Creator**, **Administrator**, and **User** roles, but not the **Reader** role, can manage approvals and checks. As an environment owner, you can manually control when a stage should run by using approval checks. For more information, see [Define approvals and checks](approvals.md).
125126

126-
<a name="in-run-details"></a>
127127
## See environments in run details
128128

129129
Under the **Environments** tab of the pipeline run details, you can see all environments that were targeted by deployment jobs of a pipeline run.
@@ -133,7 +133,6 @@ Under the **Environments** tab of the pipeline run details, you can see all envi
133133
>[!NOTE]
134134
>If you're using an Azure Kubernetes Service (AKS) private cluster, the **Environments** tab isn't available.
135135

136-
<a name="deployment-history"></a>
137136
## View deployment history
138137

139138
You can select the **Deployments** tab in the Azure Pipelines **Environments** section to view deployment history.

docs/pipelines/process/template-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188

189189
### Required parameters
190190

191-
You can add a validation step at the beginning of your template to check for the parameters you require.
191+
Pipelines will automatically report an error if a parameter is missing. You can add a validation step at the beginning of your template to check for the parameters you require and take appropriate action.
192192

193193
Here's an example that checks for the `solution` parameter using Bash:
194194

7.32 KB
Loading
Binary file not shown.
-58.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)