ci: Add a variable to identify triggered cerbero pipelines

This commit is required for proper functioning of the following
cerbero merge request: https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/800

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1638>
This commit is contained in:
Nirbheek Chauhan 2022-02-04 20:19:57 +05:30 committed by Tim-Philipp Müller
parent f0b045a69b
commit 9359aa5590

View file

@ -46,6 +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
# trigger API, which means it can use a deps cache instead of
# building from scratch.
"CI_GSTREMER_TRIGGERED": "true",
}
)