CI: Allow ALL attributes (with reasonable exceptions) to be present inside rules
rules
supports when
, start_in
and allow_failure
only. This is counter-intuitive and kills a lot of potential rules
has.
Please allow ALL attributes (with reasonable exceptions) to be present inside rules
, and process them with the same rules as extends
, that is: merge the hashes, override the arrays.
Most notable use cases: setting environment
(#34783), variables
(#33564 (closed)), needs
, extends
. Reasonable exceptions are include
and stage
, and probably a couple others I'm not aware of.
This task should be handled as one single effort to bring support for as many rules
attributes as reasonably possible, without splitting it into 10 tasks that will be tracked separately and take years to implement.
Intended users
Personas are described at https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/
Links / references
~"devops::configure" ~"devops::release"