Skip to contentSkip to conversation

Gitlab CI: Rework our tag usage again

PATCH In review Tom Rini 2 participants 4 messages Oct 30, 2025 – Nov 7, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Gitlab CI: Rework our tag usage again

Now that we've had jobs running on both amd64 and arm64 hosts for a while, we have enough data to look at usage and findings. For the world build job, make use of the new DEFAULT_FAST_TAG and only build it once, on either amd64 or arm64 as we don't run in to host specific results there. For sandbox, continue to build on both arm64 and amd64 hosts as we can find host specific breakage that way. Remove the mistaken restriction on sandbox64_lwip.

---
 .gitlab-ci.yml | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)
.gitlab-ci.yml +2 -16
index 73ff975e5746..a9a57f1d58e7 100644
@@ -2,10 +2,8 @@
 
 variables:
   DEFAULT_ALL_TAG: "all"
-  DEFAULT_ARM64_TAG: "arm64"
-  DEFAULT_FAST_ARM64_TAG: "fast arm64"
   DEFAULT_AMD64_TAG: "amd64"
-  DEFAULT_FAST_AMD64_TAG: "fast amd64"
+  DEFAULT_FAST_TAG: "fast"
   MIRROR_DOCKER: docker.io
   SJG_LAB: ""
   PLATFORM: linux/amd64,linux/arm64
@@ -134,12 +132,8 @@ stages:
 build all platforms in a single job:
   stage: world build
   dependencies: []
-  parallel:
-    matrix:
-      - HOST: "fast arm64"
-      - HOST: "fast amd64"
   tags:
-    - ${HOST}
+    - ${DEFAULT_FAST_TAG}
   script:
     # Prepare python environment
     - python3 -m venv /tmp/venv;
@@ -309,12 +303,6 @@ sandbox64 with clang test.py:
   <<: *buildman_and_testpy_dfn
 
 sandbox64_lwip test.py:
-  parallel:
-    matrix:
-      - HOST: "arm64"
-      - HOST: "amd64"
-  tags:
-    - ${HOST}
   variables:
     TEST_PY_BD: "sandbox64_lwip"
   <<: *buildman_and_testpy_dfn
@@ -361,8 +349,6 @@ evb-ast2500 test.py:
   <<: *buildman_and_testpy_dfn
 
 sandbox_flattree test.py:
-  tags:
-    - ${DEFAULT_AMD64_TAG}
   variables:
     TEST_PY_BD: "sandbox_flattree"
   <<: *buildman_and_testpy_dfn
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 9 lines · Tom Rini

Now that we've had jobs running on both amd64 and arm64 hosts for a while, we have enough data to look at usage and findings. For the world build job, make use of the new DEFAULT_FAST_TAG and only build it once, on either amd64 or arm64 as we don't run in to host specific results there. For sandbox, continue to build on both arm64 and amd64 hosts as we can find host specific breakage that way. Remove the mistaken restriction on sandbox64_lwip.

[...]

Applied to u-boot/master, thanks!

[1/1] Gitlab CI: Rework our tag usage again

      commit: ddc916334a7a7e180b532dbb2cf1b778466d2b9b
Signature · 1 line
Tom
#2 lore raw

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 8 lines · Tom Rini

Now that we've had jobs running on both amd64 and arm64 hosts for a while, we have enough data to look at usage and findings. For the world build job, make use of the new DEFAULT_FAST_TAG and only build it once, on either amd64 or arm64 as we don't run in to host specific results there. For sandbox, continue to build on both arm64 and amd64 hosts as we can find host specific breakage that way. Remove the mistaken restriction on sandbox64_lwip.

Quoted 10 lines
Quoted 1 line

[...]

Applied to u-boot/master, thanks!

[1/1] Gitlab CI: Rework our tag usage again

      commit: ddc916334a7a7e180b532dbb2cf1b778466d2b9b

--
Tom

Good to see this! I would again like to suggest breaking the world build into parts.

Regards,
Simon

author
#3 lore raw
Quoted 25 lines · Simon Glass

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 8 lines · Tom Rini

Now that we've had jobs running on both amd64 and arm64 hosts for a while, we have enough data to look at usage and findings. For the world build job, make use of the new DEFAULT_FAST_TAG and only build it once, on either amd64 or arm64 as we don't run in to host specific results there. For sandbox, continue to build on both arm64 and amd64 hosts as we can find host specific breakage that way. Remove the mistaken restriction on sandbox64_lwip.

Quoted 10 lines
Quoted 1 line

[...]

Applied to u-boot/master, thanks!

[1/1] Gitlab CI: Rework our tag usage again

      commit: ddc916334a7a7e180b532dbb2cf1b778466d2b9b

--
Tom

Quoted 2 lines

Good to see this! I would again like to suggest breaking the world build into parts.

I would like to ask you to stop suggesting things about CI until you're willing to honestly address and review the feedback I have given you about your suggestions and why they don't work for many of our use cases.

Signature · 1 line
Tom