Azure Devops 管道能否更新 Azure App Configuration
Can Azure Devops pipelines update Azure App Configuration
快速 google,外面似乎什么都没有。
Azure Pipeline 可以更新 Azure 应用程序配置吗?或者将构建和 deployment/run-time 配置彼此分开有意义吗
可能最简单的解决方案是使用 Azure CLI,您可以使用 Azure CLI task.
将其集成到您的管道中
要更新,请使用 az appconfig kv set 命令。
Set a key using an App Configuration name and label
az appconfig kv set -n {name} --key {key1} --label {label} --value {value1} --content-type {text} --tags {tag1,tag2}
Can an Azure Pipeline update Azure App Configuration?
除了 rickvdbosch 的 答案中的 az appconfig kv set
之外,您还可以考虑使用 Azure Resource Manager which can also be used to manage app settings. See similar hint .
您可以使用 Azure Resource Group Deployment task 中的 Override template parameters
选项来更新 build/release 管道中的应用程序配置。
Azure 应用程序配置推送任务现在运行良好:
https://docs.microsoft.com/en-us/azure/azure-app-configuration/push-kv-devops-pipeline
快速 google,外面似乎什么都没有。
Azure Pipeline 可以更新 Azure 应用程序配置吗?或者将构建和 deployment/run-time 配置彼此分开有意义吗
可能最简单的解决方案是使用 Azure CLI,您可以使用 Azure CLI task.
将其集成到您的管道中要更新,请使用 az appconfig kv set 命令。
Set a key using an App Configuration name and label
az appconfig kv set -n {name} --key {key1} --label {label} --value {value1} --content-type {text} --tags {tag1,tag2}
Can an Azure Pipeline update Azure App Configuration?
除了 rickvdbosch 的 答案中的 az appconfig kv set
之外,您还可以考虑使用 Azure Resource Manager which can also be used to manage app settings. See similar hint
您可以使用 Azure Resource Group Deployment task 中的 Override template parameters
选项来更新 build/release 管道中的应用程序配置。
Azure 应用程序配置推送任务现在运行良好:
https://docs.microsoft.com/en-us/azure/azure-app-configuration/push-kv-devops-pipeline