Skip to content

Commit a6740e1

Browse files
update precedence with svg
1 parent 69ee3e1 commit a6740e1

File tree

2 files changed

+247
-8
lines changed

2 files changed

+247
-8
lines changed

articles/sentinel/ci-cd-custom-deploy.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,13 @@ Here's an example of the entire contents of a valid *sentinel-deployment.config*
206206

207207
- **To map parameters**:
208208

209-
The deployment script will accept three methods to map parameters. The precedence is determined for each included .json deployment file in your repository as follows:
209+
The deployment script will accept three methods to map parameters. The precedence is determined for each included .json deployment file in your repository as follows:
210+
211+
:::image type="content" source="media/ci-cd-custom-deploy/deploy-parameter-file-precedence.svg" alt-text="A diagram showing the precedence of parameter file mappings.":::
210212

211-
1. Include a parameter file map grouped by workspace ID in the `"parameterfilemappings":` section of the *sentinel-deployment.config* file. See the example above for creating the `ContentFilePath:ParameterFilePath` key value pairs. You can specify a different parameter file for the same content file per workspace.
212-
213-
Or
214-
1. Create a workspace parameter file in the same directory as a content file. If the content file is *azuredeploy.json* then the workspace parameter file naming convention is *azuredeploy.parameters-\<workspaceID\>.json*.
215-
216-
Or
217-
1. Create a default parameter file in the same directory as a content file. If the content file is *azuredeploy.json* then the default parameter file naming convention is *azuredeploy.parameters.json*.
213+
1. Is there a mapping in the sentinel-deployment.config?
214+
1. Is there a workspace parameter file?
215+
1. Is there a default parameter file?
218216

219217
Adding or modifying a *.parameters-\<workspaceID\>.json* file or *.parameters.json* file triggers a deployment of that particular content file. Other content files won't be deployed if the smart deploy feature is still enabled.
220218

Lines changed: 241 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)