gpt4 book ai didi

azure-devops - 部署组和部署池有什么区别?

转载 作者:行者123 更新时间:2023-12-03 11:09:35 25 4
gpt4 key购买 nike

在 Azure DevOps 中创建部署组时,它会自动为你创建一个部署池。

但是,从组织设置 -> 部署池面板,您可以在不创建部署组的情况下创建新的部署池。

部署组和部署池是什么关系?例如,一个部署组可以链接到多个部署池吗?

最佳答案

This is a good blog to explain you the difference between deployment group and deployment pool.

The relationship between Deployment Pools and Deployment Groups is similar to the relationship between Agent Pools and Agent Queues. A Deployment Pool exists at the account level and is the actual container of the deployment agents (targets), whereas the Deployment Group is a layer over it which makes these targets available to release definitions in a project

Earlier, there was a one-one mapping between a Deployment Pool and a Deployment Group i.e. each Deployment Group had a dedicated Deployment Pool, and therefore there was no need to expose the Deployment Pool concept to the user. But now that the deployment targets can be shared across projects, we have exposed Deployment Pools in the product.

A Deployment Pool can be shared with another project if the following three conditions are true:

  1. The user sharing the Deployment Pool is a “User” for the pool.

  2. The user sharing the Deployment Pool has permissions to create a Deployment Group in the project where it is being shared.

  3. The project does not already have a Deployment Group backed by the same pool.

Note that the tags set on the deployment targets are project scoped e.g. a deployment target might be tagged as “Web” in Project1 but might be tagged as “MiddleTier” in Project2.

关于azure-devops - 部署组和部署池有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53271935/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com