Skip to content

ci: refactor only/except blocks in ci

Nick Wilburn requested to merge add-jobs-trigger into master

Replaces the only/except rules from each job definition with a newer workflow syntax.

This newer syntax allows rules to be defined on a per workflow (.gitlab-ci) basis. if rules are evaluated by first found. If no if rules are matched then the last when rule is used to evaluate if a pipeline should be ran.

Documentation on this can be found here: https://docs.gitlab.com/ee/ci/yaml/#workflowrules

The CI for this will fail until the new piperci-noop release is merged into piperci-releases. This MR can be found here: piperci-releases!25 (merged)

closes: #35 (closed)

Edited by Nick Wilburn

Merge request reports