ci: Allow the documentation job to always run post-merge
authorJordan Petridis <jordan@centricular.com>
Mon, 24 Oct 2022 18:58:52 +0000 (21:58 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 27 Oct 2022 17:45:06 +0000 (17:45 +0000)
We want the docs to be deployed on every post-merge pipeline
on the main branch. In order to do that however we have to
also have the fedora build job always running.

This won't affect the documentation job run by MRs.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3258>

.gitlab-ci.yml

index d08078f..24d6713 100644 (file)
@@ -130,8 +130,7 @@ fedora amd64 docker:
     - '.fedora image'
     - '.fdo.container-build@fedora'
   stage: 'preparation'
-  needs:
-    - "trigger"
+  needs: []
   tags:
     - 'packet.net'
 
@@ -702,7 +701,6 @@ documentation:
   extends:
     - '.documentation'
   needs:
-    - "trigger"
     - "fedora amd64 docker"
   rules:
     - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == "main"'