Mock pre-main-jh as default branch
Related issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/2715
What does this MR do and why?
scheduled main-jh | pre-main-jh | |
---|---|---|
pipeline | https://jihulab.com/gitlab-cn/gitlab/-/pipelines/1468977 | https://jihulab.com/gitlab-cn/gitlab/-/pipelines/1469208 |
job count | 206 | 258 |
Mock pre-main-jh
as default branch to trigger full pipeline jobs when it is updated.
Rules
- if commit ref name is default branch (
main-jh
) and not a MR, return true; - if
$FORCE_GITLAB_CI
is set and not a MR, return true;
Before | After | |
---|---|---|
rules | rule1 | rule1 or rule2 |
Flow
- Merge main-jh and master to pre-main-jh, on code sync https://jihulab.com/gitlab-cn/code-sync/-/pipelines/1472751
- Auto pipeline on pre-main-jh branch, on gitlab https://jihulab.com/gitlab-cn/gitlab/-/pipelines/1472782
Screenshots or screen recordings
non-ui
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Baodong 编辑于