From: Stefan Metzmacher Date: Wed, 30 Dec 2020 00:33:00 +0000 (+0100) Subject: script/autobuild.py: split samba-no-opath into two tests X-Git-Tag: tevent-0.11.0~1165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a9c3b29529e60643eeae2ef99e8b0ef7d43710;p=thirdparty%2Fsamba.git script/autobuild.py: split samba-no-opath into two tests This was is basically a combination of 'samba-nt4' and 'samba-fileserver'. As a single job it used more than 1h only for testing, while the samba-no-nopath-build uses ~ 10mins (with a filled ccache). Now we have two test jobs with ~ 30mins. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/.gitlab-ci-main.yml b/.gitlab-ci-main.yml index 1850db0a66a..e98b8fed3c9 100644 --- a/.gitlab-ci-main.yml +++ b/.gitlab-ci-main.yml @@ -378,7 +378,10 @@ samba-nt4: samba-ad-dc-1-mitkrb5: extends: .needs_samba-mit-build-private -samba-no-opath: +samba-no-opath1: + extends: .needs_samba-no-opath-build-private + +samba-no-opath2: extends: .needs_samba-no-opath-build-private # 'pages' is a special job which can publish artifacts in `public` dir to gitlab pages @@ -411,6 +414,8 @@ pages: - samba-schemaupgrade - samba-ad-dc-1-mitkrb5 - samba-fips + - samba-no-opath1 + - samba-no-opath2 script: - ./configure.developer - make -j diff --git a/script/autobuild.py b/script/autobuild.py index 25e6291d7e5..a340d471297 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -442,12 +442,12 @@ tasks = { ], }, - "samba-no-opath": { + "samba-no-opath1": { "dependency": "samba-no-opath-build", "sequence": [ ("random-sleep", random_sleep(300, 900)), ("test", make_test( - cmd="make test DISABLE_OPATH=1", + cmd="make testonly DISABLE_OPATH=1", include_envs=[ "nt4_dc", "nt4_dc_smb1", @@ -455,6 +455,19 @@ tasks = { "nt4_dc_schannel", "nt4_member", "simpleserver", + ])), + ("lcov", LCOV_CMD), + ("check-clean-tree", "script/clean-source-tree.sh"), + ], + }, + + "samba-no-opath2": { + "dependency": "samba-no-opath-build", + "sequence": [ + ("random-sleep", random_sleep(300, 900)), + ("test", make_test( + cmd="make testonly DISABLE_OPATH=1", + include_envs=[ "fileserver", "fileserver_smb1", "fileserver_smb1_done",