From: Stefan Metzmacher Date: Mon, 28 Dec 2020 14:56:57 +0000 (+0100) Subject: script/autobuild.py: split samba-ad-dc-backup into samba-ad-back{1,2} X-Git-Tag: tevent-0.11.0~1173 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63853b823c6a263c69c06f91163bcada4f3646c9;p=thirdparty%2Fsamba.git script/autobuild.py: split samba-ad-dc-backup into samba-ad-back{1,2} This will make it possible to run them in parallel (hopefully on shared gitlab runners). Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 577aacea54d..b1ccf49484b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -350,7 +350,10 @@ samba-fips: - .needs_samba-no-opath-build - .private_runner -samba-ad-dc-backup: +samba-ad-back1: + extends: .needs_samba-def-build-private + +samba-ad-back2: extends: .needs_samba-def-build-private samba-fileserver: @@ -396,7 +399,8 @@ pages: - samba-ad-dc-ntvfs - samba-admem-mit - samba-ad-dc-4-mitkrb5 - - samba-ad-dc-backup + - samba-ad-back1 + - samba-ad-back2 - samba-fileserver - samba-ad-dc-1 - samba-nt4 diff --git a/script/autobuild.py b/script/autobuild.py index 55b27291acb..5f0a77f3590 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -579,8 +579,8 @@ tasks = { }, # run the backup/restore testenvs separately as they're fairly standalone - # (and CI seems to max out at ~8 different DCs running at once) - "samba-ad-dc-backup": { + # (and CI seems to max out at ~3 different DCs running at once) + "samba-ad-back1": { "dependency": "samba-def-build", "sequence": [ ("random-sleep", random_sleep(300, 900)), @@ -588,6 +588,17 @@ tasks = { "backupfromdc", "restoredc", "renamedc", + ])), + ("lcov", LCOV_CMD), + ("check-clean-tree", CLEAN_SOURCE_TREE_CMD), + ], + }, + "samba-ad-back2": { + "dependency": "samba-def-build", + "sequence": [ + ("random-sleep", random_sleep(300, 900)), + ("test", make_test(include_envs=[ + "backupfromdc", "offlinebackupdc", "labdc", ])),