CI: Use different git-directory for each runner
PATCH 1/1 CI: Use different git-directory for each runner
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 <[email protected]>
---
.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
@@ -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:
Signature · 1 line
2.43.0
Quoted 7 lines · Simon Glass
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 <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 1 line
Tom