]> 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>
Thu, 14 Sep 2023 17:56:30 +0000 (17:56 +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>
.gitlab-ci-main.yml

index 99dd25e264c1334a49926c05f1901b9f167f6d30..9c1ddc69fd56d19df274ad9d6c1a66959d4cc77e 100644 (file)
@@ -410,8 +410,21 @@ samba-codecheck:
     - 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