summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2021-10-12 22:35:38 -0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-10-13 18:40:51 +0000
commit4c046c9e8af6488f68a7e068a34c4a7693c23ee9 (patch)
tree3be88fd58e86af4ef0f57fde8592df42a3c5c09d /.gitlab-ci.yml
parent7a25a4ce025a92fe5dd637e3643d0f8861de39f9 (diff)
downloadgstreamer-4c046c9e8af6488f68a7e068a34c4a7693c23ee9.tar.gz
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>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml20
1 files changed, 17 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bac16dc759..60a5bc0e7f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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