From 15ef826bcfffe7b18e64b287cb8830c38f4eaa28 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 9 Apr 2025 10:14:11 +0300 Subject: [PATCH] ci: Force git-fetch-with-cli on windows as well We already do this on linux, do this on windows as well We need this as git has better handling of redirects, and we are running into issues after gitlab.freedesktop.org switched to using a cdn proxy. Similar to the original issue [1] [1]: https://gitlab.freedesktop.org/gstreamer/gst-ci/-/issues/71 Part-of: --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2119c1324..6fd837997 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -278,6 +278,11 @@ documentation: - 'windows' - '2022' - "gstreamer-windows" + before_script: + - New-Item -Force -Path ".cargo" -ItemType "directory" + - $git_config="[net]`ngit-fetch-with-cli = true`n" + - $git_config | out-file -encoding utf8 .cargo/config.toml + - Get-Content -Path .cargo/config.toml script: # Set the code page to UTF-8 - chcp 65001