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: articles/deployment-environments/configure-environment-definition.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: RoseHJM
7
7
ms.author: rosemalcolm
8
8
ms.service: deployment-environments
9
9
ms.topic: how-to
10
-
ms.date: 12/05/2023
10
+
ms.date: 03/29/2024
11
11
ms.custom: devdivchpfy22, build-2023
12
12
---
13
13
@@ -43,11 +43,11 @@ In this article, you learn how to:
43
43
44
44
## Add an environment definition
45
45
46
-
To add an environment definition to a catalog in Azure Deployment Environments, you first add the files to the repository. You then synchronize the dev center catalog with the updated repository.
46
+
To add an environment definition to a catalog in Azure Deployment Environments (ADE), you first add the files to the repository. You then synchronize the dev center catalog with the updated repository.
47
47
48
48
To add an environment definition:
49
49
50
-
1. In your repository that's hosted in [GitHub](https://github.com) or [Azure DevOps](https://dev.azure.com), create a subfolder in the repository folder path.
50
+
1. In your [GitHub](https://github.com) or [Azure DevOps](https://dev.azure.com) repository, create a subfolder in the repository folder path.
51
51
52
52
1. Add two files to the new repository subfolder:
53
53
@@ -78,8 +78,6 @@ To add an environment definition:
78
78
> [!NOTE]
79
79
> The `version` field is optional. Later, the field will be used to support multiple versions of environment definitions.
80
80
81
-
:::image type="content" source="../deployment-environments/media/configure-environment-definition/create-subfolder-path.png" alt-text="Screenshot that shows a folder path with a subfolder that contains an ARM template and an environment file." lightbox="../deployment-environments/media/configure-environment-definition/create-subfolder-path.png":::
82
-
83
81
To learn more about the options and data types you can use in *environment.yaml*, see [Parameters and data types in environment.yaml](concept-environment-yaml.md#what-is-environmentyaml).
84
82
85
83
1. In your dev center, go to **Catalogs**, select the repository, and then select **Sync**.
@@ -88,6 +86,23 @@ To add an environment definition:
88
86
89
87
The service scans the repository to find new environment definitions. After you sync the repository, new environment definitions are available to all projects in the dev center.
90
88
89
+
### Specify an ARM or Bicep runner for a custom image
90
+
91
+
The ADE extensibility model enables you to reference your own container image and execute deployments. You can store your container image in a container repository and directly reference it by providing the URI.
92
+
93
+
The following example shows how to reference a custom image in an environment definition:
The ADE team provides sample ARM and Bicep templates accessible through the Microsoft Artifact registry (also known as the Microsoft Container Registry) to help you get started. When you perform deployments by using ARM or Bicep, you can use the standard image that is published on [Microsoft Artifact Registry](https://mcr.microsoft.com/) (previously known as the Microsoft Container Registry).
100
+
101
+
To use the sample image published on the Microsoft Artifact Registry, use the respective identifiers `runner: ARM` for ARM and `runner:Bicep` for Bicep deployments.
102
+
103
+
For more information how to build and utilize ARM or Bicep container images within environment definitions, see [Configure container image to execute deployments with ARM and Bicep](https://aka.ms/deployment-environments/container-image-bicep).
104
+
105
+
91
106
### Specify parameters for an environment definition
92
107
93
108
You can specify parameters for your environment definitions to allow developers to customize their environments.
@@ -121,7 +136,7 @@ To learn more about the parameters and their data types that you can use in *env
121
136
122
137
Developers can supply values for specific parameters for their environments through the [developer portal](https://devportal.microsoft.com).
123
138
124
-
:::image type="content" source="media/configure-environment-definition/parameters.png" alt-text="Screenshot showing the parameters pane." lightbox="media/configure-environment-definition/parameters.png":::
139
+
:::image type="content" source="media/configure-environment-definition/parameters.png" alt-text="Screenshot of the developer portal showing the parameters pane." lightbox="media/configure-environment-definition/parameters.png":::
125
140
126
141
Developers can also supply values for specific parameters for their environments through the CLI.
0 commit comments