简体   繁体   English

我在 ADO 管道中使用 Azure Bicep 生成了资源。 需要创建一个新的管道,用代码填充资源。 不确定如何

[英]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.

相关问题 如何使用 Bicep 删除 Azure 资源组中的单个资源? - How can I delete individual resources in a resource group in Azure using Bicep? AWS Amplify - 我可以推送代码提交以启动 CI/CD 管道并构建新的后端资源吗? - AWS Amplify - Can I Push To Code Commit To Start The CI/CD Pipeline & Build The New Backend Resources? 我想创建一个 devops 管道以使用 Azure 创建我的资源 Terraform - I want to create a devops pipeline to create my resources in Azure using Terraform AWS SAM - 如何覆盖生成的资源 - AWS SAM - How to override generated resources 使用 CDK diff 比较包装在管道中的资源 - Using CDK diff to diff resources wrapped in a pipeline 使用 Bicep 在 Azure 中创建和删除资源组 - Create and Delete Resource Group in Azure using Bicep Azure资源如何获取最新的API版本 - How to get the newest API version of Azure Resources azure 管道中管道作业的有条件批准 - Conditional Approval in pipeline jobs in azure pipelines 如何在新的 Google BigQuery Web UI 中刷新数据集/资源? - How can I refresh datasets/resources in the new Google BigQuery Web UI? 确保管道在 gitlab 中按顺序运行 - Make sure, pipelines run sequential in gitlab
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM