Skip to content
Snippets Groups Projects
Forked from EOLE / Infra / CI tools
134 commits behind the upstream repository.
Daniel Dehennin's avatar
Daniel Dehennin authored
The previous rules template set did not permit to combine rules easily
in user jobs.

Using a single hash of individual rules permit to reference them more
clearly. It avoids duplicated conditionnals in the current rules set
and marke it easier to combine them in user jobs, with some
limitations[1].

* templates/Rules.yaml: define the `.rules-map` hash of individual
  rules and reference them in rules templates

* templates/Release/Semantic-release.yaml: use the `.rules-map`
  directly to reduce the conditionnal duplication

Closes #3

Footnotes:
[1]  https://forum.gitlab.com/t/add-conditions-to-rules-array-merged-with-reference/62600
075712a9
History
Name Last commit Last update
..
Lint
Release
Runners
Docker.yaml
Rules.yaml