Start to use the 'rules' keyword for the 'package-and-qa' job
What does this MR do?
Challenges
-
-
We need to duplicate the pattern arrays because they're YAML anchors and they aren't accessible in included Ci config (they're only accessible when using extends
but we cannot useextends
to reference a plain YAML array...) -
When two rules have the same if
but theirchanges
are different, be mindful of the rules order since rules are evaluated from top to bottom.
Does this MR meet the acceptance criteria?
Conformity
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Separation of EE specific content
Availability and Testing
-
CI config generates the correct jobs: -
Without QA change: package-and-qa
should bemanual
: https://gitlab.com/gitlab-org/gitlab/pipelines/103792716 -
With QA change: package-and-qa
should beon_success
: https://gitlab.com/gitlab-org/gitlab/pipelines/104135502
-
Relates to #31648 (closed).
Edited by Rémy Coutable