简体   繁体   English

CD 中的两个 azure 函数管道部署到一个应用程序服务不起作用

[英]Two azure function pipeline in CD deploy to one application service not working

I am trying to deploy two azure functions project to one function app.我正在尝试将两个 azure 函数项目部署到一个函数应用程序。 I use two CD pipelines for two projects, which is one pipeline for one project.我为两个项目使用了两条 CD 管道,即一个管道用于一个项目。

在此处输入图片说明

function1 is from project 1 from pipeline1 and function2 is from project 2 from piepline2. function1 来自 pipeline1 的 project 1,function2 来自 piepline2 的 project 2。 The problem is when function2 is released, function1 doesn't work.问题是当 function2 被释放时,function1 不起作用。 When function1 is released, function2 doesn't work.当 function1 被释放时,function2 不起作用。

This is the existing behavior and there is an existing Github issue referencing the same.这是现有行为,并且存在引用相同行为的现有Github issue

As per the GuideLines ,按照该GuideLines

the unit of deployment should be the Function App, and not individual functions.部署单元应该是功能应用程序,而不是单个功能。

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

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