[PATCH] CI: Use different git-directory for each runner

Simon Glass sjg at chromium.org
Sat Feb 8 14:34:24 CET 2025


It seems that the new approach doesn't go far enough, since when there
are multiple independent runners on a machine, they end up sharing the
same git directory.

Add $CI_RUNNER_ID as well, so they are kept separate.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index edce2b8a680..8c49d5b0a79 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ variables:
   MIRROR_DOCKER: docker.io
   SJG_LAB: ""
   PLATFORM: linux/amd64,linux/arm64
-  GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/u-boot
+  GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_RUNNER_ID/$CI_CONCURRENT_ID/u-boot
 
 default:
   tags:
-- 
2.43.0



More information about the U-Boot mailing list