citemplate: tweak merge-request rules
authorJordan Petridis <jordan@centricular.com>
Wed, 14 Oct 2020 18:26:35 +0000 (21:26 +0300)
committerJordan Petridis <jordan@centricular.com>
Fri, 16 Oct 2020 16:32:59 +0000 (19:32 +0300)
commit5dc5de23960778f5e6601e760395b8ef887d2ccd
tree7b5c1130868d113851d95f25e5b049994ae686a5
parent75129af3b4604968c1b84fdcfd0f671c7a2108f7
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: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/369>
gitlab/ci_template.yml