Fix qa rules skip
What does this MR do and why?
Fix qa rules skip
If a job is included in the pipeline, but any of the job needs
is not included in the pipeline, will raise a pipeline yaml error.
If we want to skip some job in JH, we'd better to override the shared rules
condition in .gitlab/ci/rules.gitlab-ci.yml
instead of directly override the job rules. Because the shared rules
condition could be used in inheritance tree and included by many jobs.
related upstream MR
- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/126961
- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127628
failed pipeline
- https://jihulab.com/gitlab-cn/gitlab/-/pipelines/1409028
- https://jihulab.com/gitlab-cn/gitlab/-/pipelines/1409249
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
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.