[英]I've generated resources using Azure Bicep in ADO pipelines. Need to make a new pipeline that will populate the resources with code. Not sure how
I've got a bicep file that has made the following resources: Function app, storage account, app insights, key vault and app service plan, via a build pipeline in Azure Dev Ops Pipelines.我有一个二头肌文件,其中包含以下资源:Function 应用程序、存储帐户、应用程序见解、密钥保管库和应用程序服务计划,通过 Azure Dev Ops 管道中的构建管道。 I need to populate these resources with artifacts built from source code eg adding functions to the function app.我需要使用从源代码构建的工件填充这些资源,例如向 function 应用程序添加功能。 I'm not sure how to do this though.不过,我不确定该怎么做。 Does anyone have any advice or links to tutorials?有没有人有任何建议或教程链接? I'm new to Azure and would appreciate any help.我是 Azure 的新手,非常感谢任何帮助。 Thanks.谢谢。
Basically, Azure pipelines working with tasks to deploy artifacts to the resources.基本上,Azure 管道与任务一起将工件部署到资源。 These resources can be AKS, IIS or Azure functions as you mentioned.这些资源可以是您提到的 AKS、IIS 或 Azure 函数。 If you particularly looking for Azure function deployment task you can use the AzureFunction@1 task for that.如果您特别寻找 Azure function 部署任务,您可以使用AzureFunction@1任务。
Here is some additional useful links;这里有一些额外的有用链接;
https://www.azuredevopslabs.com/labs/vstsextend/azurefunctions/#:~:text=Azure%20Functions%20is%20an%20event,well%20as%20on%2Dpremises%20systems . https://www.azuredevopslabs.com/labs/vstsextend/azurefunctions/#:~:text=Azure%20Functions%20is%20an%20event,well%20as%20on%2Dpremises%20systems 。
https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-azure-devops?tabs=do.net-core%2Cyaml%2Ccsharp https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-azure-devops?tabs=do.net-core%2Cyaml%2Ccsharp
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.