ci: Run tests post merge

This will make tracking new races much easier

Mark other jobs as manual when pipeline is running on master

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1129>
This commit is contained in:
Thibault Saunier 2021-10-12 22:35:38 -03:00 committed by GStreamer Marge Bot
parent 7a25a4ce02
commit 4c046c9e8a

View file

@ -118,10 +118,8 @@ trigger:
- if: '$CI_MERGE_REQUEST_ASSIGNEES != "gstreamer-merge-bot"'
when: 'manual'
allow_failure: false
# If this matches, it means the pipeline is running against either the main
# or a stable branch, so make it manual
# Alway run tests post merged
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: 'manual'
.fedora image:
variables:
@ -345,6 +343,10 @@ gst indent:
rules:
- changes:
*modules_changes
# If this matches, it means the pipeline is running against either the main
# or a stable branch, so make it manual
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: manual
build nodebug fedora x86_64:
extends:
@ -393,6 +395,10 @@ build clang fedora x86_64:
rules:
- changes:
*modules_changes
# If this matches, it means the pipeline is running against either the main
# or a stable branch, so make it manual
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: manual
before_script:
- ci/scripts/handle-subprojects-cache.py subprojects/
script:
@ -542,6 +548,10 @@ gstreamer-full:
- "*"
- scripts/*
- ci/**/*
# If this matches, it means the pipeline is running against either the main
# or a stable branch, so make it manual
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: manual
script:
- *build
@ -744,6 +754,8 @@ build documentation:
- subprojects/gstreamer/**/*
- subprojects/gstreamer-vaapi/**/*
- subprojects/gst-rtsp-server/**/*
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: never
# FIXME: Using trigger: causes permission issues, workaround using old REST API.
# https://gitlab.com/gitlab-org/gitlab/-/issues/341737
@ -772,3 +784,5 @@ cerbero trigger:
- subprojects/gstreamer/**/*
- subprojects/gst-rtsp-server/**/*
- subprojects/gst-examples/**/*
- if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: never