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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1641>
This commit is contained in:
Nirbheek Chauhan 2022-02-05 09:16:49 +05:30
parent 701ed92d27
commit a10bcd1671
2 changed files with 5 additions and 4 deletions

View file

@ -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/**/*

View file

@ -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",
}
)