ci: Set GIT_DEPTH variable
authorJordan Petridis <jordan@centricular.com>
Tue, 30 Nov 2021 14:29:18 +0000 (16:29 +0200)
committerJordan Petridis <jordan@centricular.com>
Tue, 30 Nov 2021 15:01:52 +0000 (17:01 +0200)
This switches gitlab-runner to using shallow clones

related #841

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1400>

.gitlab-ci.yml

index ae7d5f4..5d19692 100644 (file)
@@ -13,6 +13,8 @@ stages:
   - 'integrate'
 
 variables:
+  GIT_DEPTH: 1
+
   # Branch to track for modules that have no ref specified in the manifest
   GST_UPSTREAM_BRANCH: 'main'
   ORC_UPSTREAM_BRANCH: 'master'