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>
21 lines
423 B
Bash
21 lines
423 B
Bash
#! /bin/bash
|
|
|
|
set -eux
|
|
|
|
bash ./ci/scripts/create-ci-identifier.sh
|
|
|
|
bash ./ci/docker/debian/install-deps.sh
|
|
|
|
bash ./ci/scripts/install-rust.sh
|
|
|
|
# Configure git for various usage
|
|
git config --global user.email "gstreamer@gstreamer.net"
|
|
git config --global user.name "Gstbuild Runner"
|
|
|
|
bash ./ci/scripts/create-container-user.sh
|
|
|
|
bash ./ci/scripts/create-subprojects-cache.sh
|
|
|
|
# leftover caches
|
|
rm -rf /root/.cache /root/.npm
|