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