Required for pipelines to run after some infrastructure changes, see
https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
# Ubuntu container builder template
- '/templates/ubuntu.yml'
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
stages:
- sanity check # CI/commit checks
- prep # prep work like rebuilding the container images if there is a change
- '/templates/{{distro.name}}.yml'
{% endfor %}
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
stages:
- sanity check # CI/commit checks
- prep # prep work like rebuilding the container images if there is a change