ADF在git模式下发布混乱 [英] ADF publish confusion in git mode

查看:80
本文介绍了ADF在git模式下发布混乱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在git模式下,当我们要测试管道时,ADF会强制我们先发布.发布动作做的两件事是我的理解

  1. 按给定的

  2. 在自己的分支上,我们可以验证和调试管道以确保一切正常.

  3. 然后单击全部保存,它将在自己的分支上提交.如果要发布,则需要向 main 分支创建一个拉取请求.

4.合并到 main 分支后,我们可以发布到 adf_publish 分支.

In git mode, when we want to test a pipeline, ADF forces us to publish first. Publish action does two things is my understanding

  1. Saves to the local ADF (DEV) as given here
  2. Creates arm templates in a branch (adf_publish/the branch we specify)

But to get the 'Publish' button enabled, we need to be in collaboration branch. This means no two people can work at the same time on a DEV ADF. As both people will be asked to publish by ADF before they could test the pipeline they are building.

If this is the case then why is there an option for us to connect another branch other than collaboration branch? (by changing it from the drop down)

Also what is a 'working branch'?

解决方案

As we know, we only can 'Publish' in collaboration branch and changes are being pushed to to "adf_publish" branch by default. By default, the collaboration branch is named main.

  1. If you want team work, you need to create several branches.

  2. Working on the own branch, we can validate and debug the pipeline to make sure everything is ok.

  3. Then click save all, it will commit on the own branch. If we want publish, we need to creat a pull request to the main branch.

4.After merged to the main branch, we can publish to the adf_publish branch.

这篇关于ADF在git模式下发布混乱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆