]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
gitlab-ci: Create a single samba-fips runner
authorAndreas Schneider <asn@samba.org>
Tue, 19 May 2020 05:21:25 +0000 (07:21 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 24 May 2020 23:55:36 +0000 (23:55 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
.gitlab-ci.yml
script/autobuild.py

index 489ac476784060695b1a1d83773c875994d0e981..7177d3b5c444c591199a50031f1969f8b55199f9 100644 (file)
@@ -181,11 +181,7 @@ samba-admem-mit:
 samba-ad-dc-4-mitkrb5:
   extends: .shared_template
 
-samba-ad-dc-fips:
-  extends: .shared_template
-  image: $SAMBA_CI_CONTAINER_IMAGE_fedora31
-
-samba-admem-fips:
+samba-fips:
   extends: .shared_template
   image: $SAMBA_CI_CONTAINER_IMAGE_fedora31
 
@@ -253,7 +249,7 @@ pages:
     - samba-nt4
     - samba-schemaupgrade
     - samba-ad-dc-1-mitkrb5
-    - samba-ad-dc-fips
+    - samba-fips
   script:
     - ./configure.developer
     - make -j
index 840ed4e964881512c24500cd1ebfa02c67c89bf7..1d63111f992bffcacd80ab274e7d92fcb99c9fbc 100755 (executable)
@@ -458,11 +458,11 @@ tasks = {
         ],
 
     # Test fips compliance
-    "samba-ad-dc-fips": [
-        ("random-sleep", random_sleep(1, 1)),
+    "samba-fips": [
+        ("random-sleep", random_sleep(100, 500)),
         ("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
         ("make", "make -j"),
-        ("test", make_test(include_envs=["ad_dc_fips"])),
+        ("test", make_test(include_envs=["ad_dc_fips", "ad_member_fips"])),
         ("lcov", LCOV_CMD),
         ("check-clean-tree", "script/clean-source-tree.sh"),
         ],
@@ -499,17 +499,6 @@ tasks = {
         ("check-clean-tree", "script/clean-source-tree.sh"),
         ],
 
-    "samba-admem-fips": [
-        ("random-sleep", random_sleep(1, 1)),
-        ("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
-        ("make", "make -j"),
-        ("test", make_test(include_envs=[
-            "ad_member_fips",
-            ])),
-        ("lcov", LCOV_CMD),
-        ("check-clean-tree", "script/clean-source-tree.sh"),
-        ],
-
     "samba-ad-dc-1-mitkrb5": [
         ("random-sleep", random_sleep(1, 1)),
         ("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
@@ -838,8 +827,7 @@ defaulttasks.remove("pass")
 defaulttasks.remove("fail")
 defaulttasks.remove("samba-test-only")
 defaulttasks.remove("samba-fuzz")
-defaulttasks.remove("samba-ad-dc-fips")
-defaulttasks.remove("samba-admem-fips")
+defaulttasks.remove("samba-fips")
 if os.environ.get("AUTOBUILD_SKIP_SAMBA_O3", "0") == "1":
     defaulttasks.remove("samba-o3")