Commit 5dc5de23 authored by Jordan Petridіs's avatar Jordan Petridіs 🌱
Browse files

citemplate: tweak merge-request rules

With the MergeRequest rules template, its was impossible
to manually create or trigger a pipeline for a branch/commit
that was not part of a merge request.

This tweaks the workflow:rules such that there will always be
a pipeline for each commit (which will be set to a manual job trigger).

There is the downside that we will now be triggering 2 pipelines in
case of merge requests, but they will require manual action to be
started.

Part-of: <!369>
parent 75129af3
Pipeline #214801 waiting for manual action with stages
in 36 seconds
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
stages:
- 'build docker'
- 'preparation'
......@@ -88,6 +85,11 @@ variables:
--variants werror
--timestamps
workflow:
rules:
- if: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH
#
# Global CI policy
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment