]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
.gitlab-ci: Allow ext4 jobs to run on shared runners
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 Sep 2023 21:37:19 +0000 (09:37 +1200)
committerStefan Metzmacher <metze@samba.org>
Tue, 9 Jul 2024 13:27:12 +0000 (13:27 +0000)
At the time of this commit, GitLab shared runners
tagged "gce" were 2x AMD EPYC 7B12 with 8GB ram.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 19fb9a97dff2c0222d89a19bc9b0cd27f0306408)

.gitlab-ci-main.yml

index 41c75bc490b7bc828a808fabf713b3ea3294efb0..525a29a368b5c8a5df261e5dc034207109ed079b 100644 (file)
@@ -416,8 +416,21 @@ samba-shellcheck:
     - if: $SUPPORT_PRIVATE_TEST == "yes"
 
 .needs_ext4_support:
-  # Our private runners provide an ext4 filesystem
-  extends: .private_test_only
+  # All runners provide an ext4 filesystem
+  #
+  # Note: we don't use
+  # extends: .shared_template_test_only
+  # as that somehow resets the needs section
+  # and generates problems for something
+  # like this (which is used below)
+  #
+  # .needs_samba-SOME-build-ext4:
+  #   extends:
+  #     - .needs_samba-SOME-build
+  #     - .needs_ext4_support
+  #
+  # So we only set stage again instead...
+  stage: test_only
 
 .needs_5_15_kernel:
   # Our private runners are based on