rules:
# If the MR is assigned to the Merge bot, trigger the pipeline automatically
- if: '$CI_MERGE_REQUEST_ASSIGNEES == "gstreamer-merge-bot"'
+ # Alway run tests post merged
+ - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
# When the assignee isn't the merge bot, require an explicit action to trigger the pipeline
# to avoid wasting CI resources
- if: '$CI_MERGE_REQUEST_ASSIGNEES != "gstreamer-merge-bot"'
when: 'manual'
allow_failure: false
- # Alway run tests post merged
- - if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
.fedora image:
variables:
when: "always"
paths:
- 'meson-logs/'
+ rules:
+ # If this matches, it means the pipeline is running against either the main
+ # or a stable branch, so make it manual
+ - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
+ when: manual
+ - changes:
+ *modules_changes
.build fedora x86_64:
extends:
- "fedora amd64 docker"
variables:
MESON_ARGS: *simple_build
- 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:
-Dgst-plugins-base:pango=enabled
-Dgst-plugins-good:cairo=enabled
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'
+ - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: manual
+ - changes:
+ *modules_changes
before_script:
- ci/scripts/handle-subprojects-cache.py subprojects/
script:
- >
./gst-env.py
gst-validate-launcher ${TEST_SUITE}
+ --check-bugs
--dump-on-failure
--mute
--shuffle
extends: '.test fedora x86_64'
parallel: 4
variables:
- EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --check-bugs --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX} --sync"
+ EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX} --sync"
TEST_SUITE: "validate ges"
# gstreamer-full:
-Dintrospection=disabled
$MESON_GST_WERROR
rules:
+ # If this matches, it means the pipeline is running against either the main
+ # or a stable branch, so make it manual
+ - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
+ when: manual
- changes:
- "*"
- 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
- plugins-cache-diffs/
#
-# This jobs runs in gsrtreamer namespace when after the merge into main branch.
+# This jobs runs in gstreamer namespace when after the merge into main branch.
# The produced artifact is later used to automatically update the web page.
#
documentation:
needs:
- "trigger"
rules:
+ # Never run post merge, we have the `documentation` always running for that
+ - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
+ when: never
- changes:
- .gitlab-ci.yml
- ci/gitlab/freedesktop_doc_importer.sh
- 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
- ci/gitlab/trigger_cerbero_pipeline.py
rules:
+ # Never run post merge
+ - if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
+ when: never
- changes:
- .gitlab-ci.yml
- ci/gitlab/trigger_cerbero_pipeline.py
- subprojects/gstreamer/**/*
- subprojects/gst-rtsp-server/**/*
- subprojects/gst-examples/**/*
- - if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
- when: never