Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持只监听某个branch下的tag #3332

Closed
Young200808 opened this issue Dec 22, 2020 · 5 comments
Closed

支持只监听某个branch下的tag #3332

Young200808 opened this issue Dec 22, 2020 · 5 comments
Assignees
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage kind/feat/product 产品特性 streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功 tested 测试环境通过/test patest passed for test stage

Comments

@Young200808
Copy link

image
Git事件触发这里,如果我选择的是tag触发,现在是全部branch都一起监听,
能指定只监听某个branch的tag吗,不然容易误操作,比如说有同事错误的在test分支(他以为自己在release分支)打了个tag, 发布了测试代码到生产线。

@iccengan iccengan added the kind/plugins 流水线插件 label Dec 22, 2020
@iccengan
Copy link

iccengan commented Jan 5, 2021

关联需求:#3452

@iccengan iccengan added area/ci/backend CI 后端issue kind/feat/product 产品特性 labels Jan 5, 2021
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Jan 21, 2021
@bkci-bot bkci-bot added the for test Test environment in tencent has been deploy label Jan 25, 2021
@mingshewhe mingshewhe added the tested 测试环境通过/test patest passed for test stage label Jan 25, 2021
irwinsun added a commit that referenced this issue Jan 26, 2021
feature: 支持只监听某个branch下的tag #3332
@bkci-bot bkci-bot added the for gray UAT environment in tencent has been deploy label Jan 27, 2021
@irwinsun irwinsun added the kind/version/sample 所属开源版本特性 label Feb 24, 2021
@mingshewhe mingshewhe removed the kind/version/sample 所属开源版本特性 label Feb 25, 2021
@mingshewhe
Copy link
Collaborator

当从客户端创建的tag,并没有带上从哪个分支创建,无法监听分支下的tag

@mingshewhe mingshewhe added the won't fix This will not be worked on label Feb 25, 2021
@bkci-bot bkci-bot added the done Production environment in tencent has been deploy label Feb 25, 2021
@iccengan iccengan reopened this Mar 21, 2022
@iccengan
Copy link

iccengan commented Mar 21, 2022

期望:

tag push 事件添加配置项:
仅监听目标分支
添加叹号图标,hover提示:
注意:git客户端创建的tag不会含带创建分支的信息,这种情况下创建的tag无法监听目标分支

@irwinsun
Copy link
Member

期望:

tag push 事件添加配置项: 仅监听目标分支 添加叹号图标,hover提示: 注意:git客户端创建的tag不会含带创建分支的信息,这种情况下创建的tag无法监听目标分支

搜索了下gitlab、github 目前均没有该功能,只有工蜂有此功能,但此功能极容易引起二义性, 比如在DevOps自动化下,用户使用自动化脚本命令方式创建tag,都无法享受到此功能。

@iccengan
Copy link

搜索了下gitlab、github 目前均没有该功能,只有工蜂有此功能,但此功能极容易引起二义性, 比如在DevOps自动化下,用户使用自动化脚本命令方式创建tag,都无法享受到此功能。

@mingshewhe 仅针对内网工蜂事件触发插件进行调整

@mingshewhe mingshewhe removed for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy done Production environment in tencent has been deploy tested 测试环境通过/test patest passed for test stage kind/plugins 流水线插件 won't fix This will not be worked on labels Mar 31, 2022
mingshewhe added a commit to mingshewhe/bk-ci that referenced this issue Apr 2, 2022
@mingshewhe mingshewhe added the for test Test environment in tencent has been deploy label Apr 2, 2022
@mingshewhe mingshewhe added the tested 测试环境通过/test patest passed for test stage label Apr 2, 2022
irwinsun added a commit that referenced this issue Apr 7, 2022
feat: 支持只监听某个branch下的tag #3332
@bkci-bot bkci-bot added the for gray UAT environment in tencent has been deploy label Apr 7, 2022
@mingshewhe mingshewhe added the grayed uat环境测试通过/test passed for uat stage label Apr 7, 2022
@bkci-bot bkci-bot added streams/for gray stream 灰度环境部署成功 done Production environment in tencent has been deploy labels Apr 13, 2022
@bkci-bot bkci-bot added the streams/done stream 生产部署成功 label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy for gray UAT environment in tencent has been deploy for test Test environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage kind/feat/product 产品特性 streams/done stream 生产部署成功 streams/for gray stream 灰度环境部署成功 tested 测试环境通过/test patest passed for test stage
Projects
None yet
Development

No branches or pull requests

5 participants