简体   繁体   English

我们如何使用管道从Azureure开发人员部署应用程序到具有不同订阅和组织的Azure Appservice

[英]How do we deploy application from azure devops using Pipelines to azure appservice with a different subscription and organization

I am setting up a CI/CD Pipeline for my organization, we are service company who serve a customer who are using Azure Appservice as their platform with their own subscription. 我正在为我的组织设置CI / CD管道,我们是一家服务公司,为使用Azure Appservice作为其订阅平台的客户提供服务。

Now we are planning to buy Azure DevOps subscription by our own and start using it for our 5 projects to build CI/CD pipeline and release pipeline is targeted to Customer Azure Appservice. 现在,我们计划自行购买Azure DevOps订阅,并开始将其用于我们的5个项目以构建CI / CD管道,并针对客户Azure Appservice发布管道。

I am sure that somebody have already done it and what are the challenges in it. 我相信有人已经做过了,其中有什么挑战。 Usually when I am doing in the same organization we create Service connections and it works, wanted to know how it works in case of different subscriptions and different organizations. 通常,当我在同一组织中工作时,我们会创建服务连接,并且该连接有效,想知道在不同订阅和不同组织的情况下它如何工作。

You would need to create service principal\\azure ad users for azure powershell to rely on for silent auth ( examples ). 您需要创建服务主体\\ azure广告用户,以使azure powershell依靠其进行静默身份验证( 示例 )。 After that you can just use New-AzResourceGroupDeployment cmdlet to do the deployments. 之后,您可以只使用New-AzResourceGroupDeployment cmdlet进行部署。

Alternatively you can manually create a service connection for an existing Service principal in customers tenant ( document covering that ). 或者,您可以为客户租户中的现有Service主体手动创建服务连接( 涵盖该文档的文档 )。

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

相关问题 Azure DevOps Pipelines 在使用 ReadyToRun 时失败 - Azure DevOps Pipelines fails when using ReadyToRun 如何测试托管在 Azure Appservice 上的 SignalR 应用程序(负载 + 功能组合) - How do you test a SignalR application (load + functional combined) hosted on an Azure Appservice 如何从Azure Devops在60台AWS服务器上部署代码 - How to deploy code on 60 AWS servers from Azure Devops Is it possible to deploy multiple azure functions from different projects can be deployed in single Azure function app via Azure Devops pipeline? - Is it possible to deploy multiple azure functions from different projects can be deployed in single Azure function app via Azure Devops pipeline? Azure Devops 管道和多个项目 docker - Azure Devops pipelines and multiple project docker Azure AppService - 运行时堆栈 - Azure AppService - Runtime Stacks 如何添加到 Azure Devops 管道中构建的扩展属性集合 - How can I add to the extended properties collection of a build in Azure Devops pipelines 如何将Azure API管理部署到其他环境 - How to deploy the Azure API Management to a different environment 如何在 Azure DevOps 中为 .net6 iOS 应用程序配置配置文件? - How to configure the Provisioning Profile for a .net6 iOS application in Azure DevOps? 如何从Azure角色内部检测当前订阅ID? - How do I detect the current subscription id from inside Azure role?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM