[PATCH v2 1/2] drm/ci: python-artifacts: use shallow clone

Helen Koike koike at igalia.com
Tue May 6 18:23:08 UTC 2025



On 05/05/2025 11:11, Vignesh Raman wrote:
> 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.
> 
> Signed-off-by: Vignesh Raman <vignesh.raman at collabora.com>

Acked-by: Helen Koike <helen.fornazier at gmail.com>

> ---
> 
> v2:
>    - Set GIT_DEPTH only for python-artifacts job.
> 
> ---
>   drivers/gpu/drm/ci/gitlab-ci.yml | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/gpu/drm/ci/gitlab-ci.yml b/drivers/gpu/drm/ci/gitlab-ci.yml
> index 65adcd97e06b..193f67121328 100644
> --- a/drivers/gpu/drm/ci/gitlab-ci.yml
> +++ b/drivers/gpu/drm/ci/gitlab-ci.yml
> @@ -230,6 +230,11 @@ stages:
>         - _build/meson-logs/strace
>   
>   
> +python-artifacts:
> +  variables:
> +    GIT_DEPTH: 10
> +
> +
>   # Git archive
>   make git archive:
>     extends:



More information about the dri-devel mailing list