citemplate: make it so docker builds only run for detached pipelines
authorJordan Petridis <jordan@centricular.com>
Tue, 7 Jul 2020 16:25:19 +0000 (19:25 +0300)
committerJordan Petridis <jpetridis@gnome.org>
Sun, 26 Jul 2020 09:57:43 +0000 (09:57 +0000)
commitc44f415a4bf1f0253aff461ea2bb3e143c94c5e1
treea7480d7c317108b4eb2b2a939fc221434c7be785
parentfe54d6d8cde8a271262246fb1656e4abeb6416b7
citemplate: make it so docker builds only run for detached pipelines

Currently, if you have a MR open, there 2 pipelines being
triggered. One normal, and one detached.

Previously, if you were to rebuild an image, the jobs of the
docker build stage would be executed concurrently, race
and end up both rebuilding the image.

Make them manual for normal pipelines to avoid such occurrence
and waste of resources.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/320>
gitlab/ci_template.yml