diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aac810cb992..7fc023e4bfc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,14 @@ build_samba_nt4: # this one takes about 1 hours to finish - python script/autobuild.py samba-nt4 --verbose --tail --testbase /tmp/samba-testbase +build_samba_fileserver: + stage: build + tags: + - autobuild + script: + # this one takes about 1 hours to finish + - python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase + build_samba_ad_dc: stage: build tags: diff --git a/.travis.yml b/.travis.yml index acd6f484100..2ef0a0b1653 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ env: - TASK=samba-nopython - TASK=samba-systemkrb5 - TASK=samba-nt4 + - TASK=samba-fileserver - TASK=samba-ad-dc - TASK=ldb - TASK=tdb diff --git a/script/autobuild.py b/script/autobuild.py index 0294afaae3e..7b3d4bf6b35 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -27,6 +27,7 @@ builddirs = { "ctdb" : "ctdb", "samba" : ".", "samba-nt4" : ".", + "samba-fileserver" : ".", "samba-xc" : ".", "samba-o3" : ".", "samba-ctdb" : ".", @@ -51,6 +52,7 @@ builddirs = { defaulttasks = [ "ctdb", "samba", "samba-nt4", + "samba-fileserver", "samba-xc", "samba-o3", "samba-ctdb", @@ -101,7 +103,9 @@ tasks = { "TESTS='--exclude-env=none " "--exclude-env=nt4_dc " "--exclude-env=nt4_member " - "--exclude-env=ad_dc ", "text/plain"), + "--exclude-env=ad_dc " + "--exclude-env=fileserver'", + "text/plain"), ("install", "make install", "text/plain"), ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"), ("clean", "make clean", "text/plain") ], @@ -114,6 +118,13 @@ tasks = { ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"), ("clean", "make clean", "text/plain") ], + # We split out this so the isolated ad_dc tests do not wait for ad_dc_ntvfs tests (which are long) + "samba-fileserver" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"), + ("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"), + ("make", "make -j", "text/plain"), + ("test", "make test FAIL_IMMEDIATELY=1 TESTS='--include-env=fileserver'", "text/plain"), + ("check-clean-tree", "script/clean-source-tree.sh", "text/plain")], + # We split out this so the isolated ad_dc tests do not wait for ad_dc_ntvfs tests (which are long) "samba-ad-dc" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"), ("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),