GST-Tensordecoder-ov_ep/ci/scripts/create-ci-identifier.sh
Jordan Petridis 936a3cefcd ci: Add a metadata file into the images we build
Create a file we can check at runtime, and identify if the
environment we run against is one of our CI build images.
Useful mostly for our internal scritps so we can  match against
metadata rather than heuristics, ex. if /subprojects exists

Conceptually similar to /.flatpak-info

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8763>
2025-07-02 12:17:59 +00:00

13 lines
467 B
Bash

#! /bin/bash
# Create a file we can check at runtime, and identify if the environment we
# run against is one of our CI build images.
# Useful mostly for our internal scripts so we can match against metadata
# rather than heuristics, ex. if /subprojects exists
#
# Conceptually similar to /.flatpak-info
# We can also later on add various metadata once we need to.
# Preferebly in an .ini format
touch /.gstreamer-ci-linux-image
chmod 644 /.gstreamer-ci-linux-image