[PATCH] CI: Use different containers for concurrent runner

Simon Glass sjg at chromium.org
Mon Feb 3 17:25:54 CET 2025


When running multiple runners on the same machine, each should be in its
own container to avoid them interfering with either other.

Add a container name for this. Ensure it is removed after use.

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

 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d4d3a85741..3487ad7e579 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,10 @@ default:
 # in the u-boot tree at tools/docker/Dockerfile
 image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20240911.1-08Dec2024
 
+services:
+  - name: container:${CI_JOB_ID}`
+    command: ["--rm"]
+
 # We run some tests in different order, to catch some failures quicker.
 stages:
   - testsuites
-- 
2.43.0



More information about the U-Boot mailing list