Replace CI `only/except` parameters by `rules`
Background / User story
GitLab has deprecated the use of only
/except
rules in the CI configuration file in favor of rules
parameter, and as both configurations behave differently (making it difficult to predict pipeline behavior) it would be better if we migrate to the current recommended configuration (rules
).
What to change
- Design: N/A
- Research: N/A
- Spec: N/A
- Legal: N/A
-
Development: Replace
only
parameter in.gitlab-ci.yml
.
Hints for testers
The CI jobs should continue to run under the same conditions as before:
Job | When | Project | Branches |
---|---|---|---|
lint | Automatic | Any, except "adblockplusui-nightlies" | Any |
test | Automatic | Any, except "adblockplusui-nightlies" | Any |
build | Automatic | Any, except "adblockplusui-nightlies" | Only dep-* , feature-* , release-*
|
pages | Automatic | Only "adblockplusui-nightlies" | Only dep-* , feature-* , release-*
|
(translation jobs) | Manual | Any, except "adblockplusui-nightlies" | Only release-*
|
webext | Manual | Any, except "adblockplusui-nightlies" | Any |
Note that translation jobs were unintentionally running in the "adblockplusui-nightlies" project before, and that we removed the "publish" stage from the "webext" child pipeline.
Hints for translators
N/A
Edited by Thomas Greiner