是否有内置的方式来设置持续交付到专用(非 AZURE)服务器?
Is there a built in way to setup continuous delivery to a dedicated (NOT AZURE) server?
我正在使用 VSTS 进行源代码控制,我想为我的下一个项目添加持续交付,但是我对 azure 的兴趣为零。我想在与我的产品相同的平台类型上制作 CD(在专用服务器上)。
是否可以从 VSTS/VS2017 以这种方式设置 CD(我在 CD 工具中只看到 azure 的选项)?或者只有本地 TFS 安装会给我这个选项吗?
当然,您可以设置持续交付到不在 Azure 中的专用服务器。
您需要查看您的案例的 deployment groups。
When authoring an Azure Pipelines or TFS Release pipeline, you can
specify the deployment targets for a job using a deployment group.
This makes it easy to define parallel execution of deployment tasks.
Deployment groups:
Specify the security context and runtime targets for the agents. As
you create a deployment group, you add users and give them appropriate
permissions to administer, manage, view, and use the group.
Let you view live logs for each server as a deployment takes place,
and download logs for all servers to track your deployments down to
individual machines.
Enable you to use machine tags to limit deployment to specific sets of
target servers.
你只需要在你的专用服务器上安装部署组,然后你就可以将任何东西部署到你的服务器上。
简单地遵循这个step-by-step tutorial以便更好地理解
是的,您可以部署到 Azure 以外的任何服务器。假设您希望将其部署到 CD 管道中的 1 个 EC2 实例,您可以使用 VS Marketplace 中的 AWS 任务并在管道中进行相应配置。正如 jayendran 在他之前的回复中提到的,如果您的目标是多台机器,您也可以使用部署组。 Azure DevOps/TFS 为您提供了一组用于 CI/CD 管道的预定义模板。但是,您可以使用第 3 方工具(即扩展)根据您的需要配置管道并使其正常工作。
我正在使用 VSTS 进行源代码控制,我想为我的下一个项目添加持续交付,但是我对 azure 的兴趣为零。我想在与我的产品相同的平台类型上制作 CD(在专用服务器上)。
是否可以从 VSTS/VS2017 以这种方式设置 CD(我在 CD 工具中只看到 azure 的选项)?或者只有本地 TFS 安装会给我这个选项吗?
当然,您可以设置持续交付到不在 Azure 中的专用服务器。
您需要查看您的案例的 deployment groups。
When authoring an Azure Pipelines or TFS Release pipeline, you can specify the deployment targets for a job using a deployment group. This makes it easy to define parallel execution of deployment tasks.
Deployment groups:
Specify the security context and runtime targets for the agents. As you create a deployment group, you add users and give them appropriate permissions to administer, manage, view, and use the group.
Let you view live logs for each server as a deployment takes place, and download logs for all servers to track your deployments down to individual machines.
Enable you to use machine tags to limit deployment to specific sets of target servers.
你只需要在你的专用服务器上安装部署组,然后你就可以将任何东西部署到你的服务器上。
简单地遵循这个step-by-step tutorial以便更好地理解
是的,您可以部署到 Azure 以外的任何服务器。假设您希望将其部署到 CD 管道中的 1 个 EC2 实例,您可以使用 VS Marketplace 中的 AWS 任务并在管道中进行相应配置。正如 jayendran 在他之前的回复中提到的,如果您的目标是多台机器,您也可以使用部署组。 Azure DevOps/TFS 为您提供了一组用于 CI/CD 管道的预定义模板。但是,您可以使用第 3 方工具(即扩展)根据您的需要配置管道并使其正常工作。