简体   繁体   English

Azure Repo 子模块 CI/CD

[英]Azure Repo submodule CI/CD

In my Azure repo for my function app, I included a submodule that is cloned from another Azure Repos.在我的函数应用程序的 Azure 存储库中,我包含了一个从另一个 Azure 存储库克隆的子模块。 I try to enable CI/CD pipeline of this function, however, if I change and commit a new change to the submodule's original Azure repo, it cannot trigger a new build and deploy of the function APP.我尝试启用此功能的 CI/CD 管道,但是,如果我对子模块的原始 Azure 存储库进行更改并提交新更改,则无法触发功能 APP 的新构建和部署。 Is there a way to enable CI/CD for Azure repo submodule change?有没有办法为 Azure 存储库子模块更改启用 CI/CD?

For this issue, you need to enable the Checkout Submodules option in the advanced section of the Get Sources step.对于此问题,您需要在Get Sources步骤的高级部分中启用Checkout Submodules选项。

在此处输入图片说明

You can refer to this document for details.您可以参考此文档了解详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM