From a10bcd167100e016a3104f46b3dcebcc6fff10af Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 5 Feb 2022 09:16:49 +0530 Subject: [PATCH] ci: Trigger all jobs on gitlab CI script changes Also fix typo in trigger variable that was causing triggered cerbero pipelines to run deps builds and upload cache. Part-of: --- .gitlab-ci.yml | 5 +++-- ci/gitlab/trigger_cerbero_pipeline.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc6b716ae2..1b2acd4bb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -289,6 +289,7 @@ gst indent: .base_modules_changes: &modules_changes - .gitlab-ci.yml + - ci/gitlab/*.py - meson.build - subprojects/*.wrap - subprojects/gst-devtools/**/* @@ -739,7 +740,7 @@ build documentation: when: never - changes: - .gitlab-ci.yml - - ci/gitlab/freedesktop_doc_importer.sh + - ci/gitlab/*.py - subprojects/*.wrap - subprojects/gst-docs/**/* - subprojects/gst-devtools/**/* @@ -772,7 +773,7 @@ cerbero trigger: when: never - changes: - .gitlab-ci.yml - - ci/gitlab/trigger_cerbero_pipeline.py + - ci/gitlab/*.py - subprojects/gst-devtools/**/* - subprojects/gst-editing-services/**/* - subprojects/gst-libav/**/* diff --git a/ci/gitlab/trigger_cerbero_pipeline.py b/ci/gitlab/trigger_cerbero_pipeline.py index 14dfef5d3f..b349146148 100755 --- a/ci/gitlab/trigger_cerbero_pipeline.py +++ b/ci/gitlab/trigger_cerbero_pipeline.py @@ -46,10 +46,10 @@ if __name__ == "__main__": variables={ "CI_GSTREAMER_URL": os.environ["CI_PROJECT_URL"], "CI_GSTREAMER_REF_NAME": os.environ["CI_COMMIT_REF_NAME"], - # This tells cerebero CI that this is a pipeline started via the + # This tells cerbero CI that this is a pipeline started via the # trigger API, which means it can use a deps cache instead of # building from scratch. - "CI_GSTREMER_TRIGGERED": "true", + "CI_GSTREAMER_TRIGGERED": "true", } )