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/azure-app-configuration/push-kv-devops-pipeline.md
+14-22Lines changed: 14 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,17 +35,17 @@ This section will cover how to use the Azure App Configuration Push task in an A
35
35
36
36
1. Navigate to the build pipeline page by clicking **Pipelines** > **Pipelines**. Documentation for build pipelines can be found [here](/azure/devops/pipelines/create-first-pipeline?tabs=tfs-2018-2).
37
37
- If you're creating a new build pipeline, on the last step of the process, on the **Review** tab, select **Show assistant** on the right side of the pipeline.
38
-
> [!div class="mx-imgBorder"]
39
-
> 
38
+
> [!div class="mx-imgBorder"]
39
+
> 
40
40
- If you're using an existing build pipeline, click the **Edit** button at the top-right.
41
-
> [!div class="mx-imgBorder"]
42
-
> 
41
+
> [!div class="mx-imgBorder"]
42
+
> 
43
43
1. Search for the **Azure App Configuration Push** Task.
44
-
> [!div class="mx-imgBorder"]
45
-
> 
44
+
> [!div class="mx-imgBorder"]
45
+
> 
46
46
1. Configure the necessary parameters for the task to push the key-values from the configuration file to the App Configuration store. Explanations of the parameters are available in the **Parameters** section below, and in tooltips next to each parameter.
47
-
> [!div class="mx-imgBorder"]
48
-
> 
47
+
> [!div class="mx-imgBorder"]
48
+
> 
49
49
1. Save and queue a build. The build log will display any failures that occurred during the execution of the task.
50
50
51
51
## Use in releases
@@ -56,11 +56,11 @@ This section will cover how to use the Azure App Configuration Push task in an A
56
56
1. Choose an existing release pipeline. If you don’t have one, select **+ New** to create a new one.
57
57
1. Select the **Edit** button in the top-right corner to edit the release pipeline.
58
58
1. From the **Tasks** dropdown, choose the **Stage** to which you want to add the task. More information about stages can be found [here](/azure/devops/pipelines/release/environments).
59
-
> [!div class="mx-imgBorder"]
60
-
> 
59
+
> [!div class="mx-imgBorder"]
60
+
> 
61
61
1. Click **+** next to the Job to which you want to add a new task.
62
-
> [!div class="mx-imgBorder"]
63
-
> 
62
+
> [!div class="mx-imgBorder"]
63
+
> 
64
64
1. In the **Add tasks** dialog, type **Azure App Configuration Push** into the search box and select it.
65
65
1. Configure the necessary parameters within the task to push your key-values from your configuration file to your App Configuration store. Explanations of the parameters are available in the **Parameters** section below, and in tooltips next to each parameter.
66
66
1. Save and queue a release. The release log will display any failures encountered during the execution of the task.
@@ -71,18 +71,10 @@ The following parameters are used by the App Configuration Push task:
71
71
72
72
-**Azure subscription**: A drop-down containing your available Azure service connections. To update and refresh your list of available Azure service connections, press the **Refresh Azure subscription** button to the right of the textbox.
73
73
-**App Configuration Endpoint**: A drop-down that loads your available configuration stores endpoint under the selected subscription. To update and refresh your list of available configuration stores endpoint, press the **Refresh App Configuration Endpoint** button to the right of the textbox.
74
-
-**Configuration File Path**: The path to your configuration file. The **Configuration File Path** parameter begins at the root of the file repository. You can browse through your build artifact to select a configuration file. (`...` button to the right of the textbox). The supported file formats are: yaml, json, properties. The following is an example configuration file in json format.
75
-
```json
76
-
{
77
-
"TestApp:Settings:BackgroundColor":"#FFF",
78
-
"TestApp:Settings:FontColor":"#000",
79
-
"TestApp:Settings:FontSize":"24",
80
-
"TestApp:Settings:Message": "Message data"
81
-
}
82
-
```
74
+
-**Configuration File Path**: The path to your configuration file. The **Configuration File Path** parameter begins at the root of the file repository. You can browse through your build artifact to select a configuration file. (`...` button to the right of the textbox). The supported file formats depend on the file content profile. For the default profile the supported file formats are yaml, json and properties. For KvSet profile the supported file format is json.
83
75
-**File Content Profile**: The Configuration File's [content profile](./concept-config-file.md). Default value is **Default**.
84
76
-**Default**: Refers to the conventional configuration file formats that are directly consumable by applications.
85
-
- **Kvset**: Refers to a [file schema](https://aka.ms/latest-kvset-schema) that contains all properties of an App Configuration key-value, including key, value, label, content type, and tags. The task parameters 'Separator', 'Label', 'Content type', 'Prefix', 'Tags', and 'Depth' are not supported when using the Kvset profile.
77
+
-**Kvset**: Refers to a [file schema](https://aka.ms/latest-kvset-schema) that contains all properties of an App Configuration key-value, including key, value, label, content type, and tags. The task parameters 'Separator', 'Label', 'Content type', 'Prefix', 'Tags', and 'Depth' are not applicable when using the Kvset profile.
86
78
-**Import Mode**: The default value is **All**. Determines the behavior when importing key-values.
87
79
-**All**: Imports all key-values in the configuration file to App Configuration.
88
80
-**Ignore-Match**: Imports only settings that have no matching key-value in App Configuration. Matching key-values are considered to be key-values with the same key, label, value, content type and tags.
0 commit comments