为什么 ARMTemplateParametersForFactory.json 未在 Azure 数据工厂的 Azure DevOps 中更新
Why ARMTemplateParametersForFactory.json do not get updated in Azure DevOps for Azure Data Factory
我需要 Azure DevOps CI/CD Azure 数据工厂技巧。
我有 Azure 数据工厂,它有 Web Activity 到 Post json 到 Azure LogicApps。 (ADF Web->Logic Apps) 我在 Web Activity.
中将 URL 作为参数
Parameter in ADF Pipeline: MyReport_LogicAppURL
我已经编辑了 ARM 模板
管理->ARM模板->编辑参数配置
"Microsoft.DataFactory/factories/pipelines": {
"properties": {
"parameters": {
"MyPremLoad_OnPremDb": {
"defaultValue": "="
},
"MyReport_LogicAppURL": {
"defaultValue": "="
}
}
}
},
我保存然后发布。
但是我在 Git Repo
中的 ARMTemplateParametersForFactory.json 中没有看到任何更新
为什么 ARMTemplateParametersForFactory.json 未在 Azure 数据工厂的 Azure DevOps 中更新?我已经在其他环境中成功地做到了这一点。其他人也曾成功部署 MyPremLoad_OnPremDb。
也许如果你有一个非标准的 git 层次结构,你应该找到或放置
arm-template-parameters-definition.json
在 Datafactory
文件夹或根文件夹中。
更改参数定义后,保存并刷新浏览器以重新加载配置。
如果您仍然看不到更改,我建议您手动从您的发布分支中删除 arm-template-parameters-definition.json
并从 ADF 门户中删除 save parameter definitions
> refresh browser
> publish
.
确保编辑后的 json
结构正确,如果发现任何特定错误,请分享。
"Microsoft.DataFactory/factories/pipelines": {
"properties": {
"parameters": {
"MyPremLoad_OnPremDb": {
"defaultValue": "="
},
"MyReport_LogicAppURL": {
"defaultValue": "="
}
}
}
},
我为参数添加了默认值,它得到了修复。感谢 KarthikBhyresh-MT 的支持。
我需要 Azure DevOps CI/CD Azure 数据工厂技巧。
我有 Azure 数据工厂,它有 Web Activity 到 Post json 到 Azure LogicApps。 (ADF Web->Logic Apps) 我在 Web Activity.
中将 URL 作为参数Parameter in ADF Pipeline: MyReport_LogicAppURL
我已经编辑了 ARM 模板 管理->ARM模板->编辑参数配置
"Microsoft.DataFactory/factories/pipelines": {
"properties": {
"parameters": {
"MyPremLoad_OnPremDb": {
"defaultValue": "="
},
"MyReport_LogicAppURL": {
"defaultValue": "="
}
}
}
},
我保存然后发布。 但是我在 Git Repo
中的 ARMTemplateParametersForFactory.json 中没有看到任何更新为什么 ARMTemplateParametersForFactory.json 未在 Azure 数据工厂的 Azure DevOps 中更新?我已经在其他环境中成功地做到了这一点。其他人也曾成功部署 MyPremLoad_OnPremDb。
也许如果你有一个非标准的 git 层次结构,你应该找到或放置
arm-template-parameters-definition.json
在 Datafactory
文件夹或根文件夹中。
更改参数定义后,保存并刷新浏览器以重新加载配置。
如果您仍然看不到更改,我建议您手动从您的发布分支中删除 arm-template-parameters-definition.json
并从 ADF 门户中删除 save parameter definitions
> refresh browser
> publish
.
确保编辑后的 json
结构正确,如果发现任何特定错误,请分享。
"Microsoft.DataFactory/factories/pipelines": {
"properties": {
"parameters": {
"MyPremLoad_OnPremDb": {
"defaultValue": "="
},
"MyReport_LogicAppURL": {
"defaultValue": "="
}
}
}
},
我为参数添加了默认值,它得到了修复。感谢 KarthikBhyresh-MT 的支持。