Skip to contentSkip to conversation

drm/ci: use shallow clone to avoid timeouts

PATCH Superseded Vignesh Raman 1 participant 1 message Feb 28, 2025

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Vignesh Raman

author maintainer
#0 lore raw

PATCH 1/1 drm/ci: use shallow clone to avoid timeouts

The python-artifacts job has a timeout of 10 minutes, which causes build failures as it was unable to clone the repository within the specified limits. Set GIT_DEPTH to 10 to speed up cloning and avoid build failures due to timeouts when fetching the full repository.

---
 drivers/gpu/drm/ci/gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ci/gitlab-ci.yml +2 -0
index f04aabe8327c..647ef980ad4a 100644
@@ -40,6 +40,8 @@ variables:
   ARTIFACTS_BASE_URL: https://${CI_PROJECT_ROOT_NAMESPACE}.${CI_PAGES_DOMAIN}/-/${CI_PROJECT_NAME}/-/jobs/${CI_JOB_ID}/artifacts
   # Python scripts for structured logger
   PYTHONPATH: "$PYTHONPATH:$CI_PROJECT_DIR/install"
+  # Set to 0 to disable shallow cloning
+  GIT_DEPTH: 10
 
 
 default:
Signature · 1 line
2.47.2