diff options
-rw-r--r-- | .gitlab-ci.yml | 5 | ||||
-rwxr-xr-x | script/autobuild.py | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cc21033f53..908c29ec9d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,6 +67,11 @@ build_samba_ad_dc_2: # this one takes about 1 hours to finish - script/autobuild.py samba-ad-dc-2 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_ad_dc_backup: + <<: *shared_template + script: + - script/autobuild.py samba-ad-dc-backup --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + build_samba_ad_dc_2_py2: <<: *shared_template script: diff --git a/script/autobuild.py b/script/autobuild.py index 2ea9e55b932..00f0d2202a3 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -51,6 +51,7 @@ builddirs = { "samba-ad-dc-py2": ".", "samba-ad-dc-2": ".", "samba-ad-dc-2-py2": ".", + "samba-ad-dc-backup": ".", "samba-systemkrb5": ".", "samba-nopython": ".", "samba-buildpy2-only": ".", @@ -166,6 +167,17 @@ tasks = { "--include-env=vampire_2000_dc " "--include-env=fl2000dc " "--include-env=ad_dc_no_nss " + "'", + "text/plain"), + ("check-clean-tree", "script/clean-source-tree.sh", "text/plain")], + + # 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": [("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='${PY3_ONLY}" "--include-env=backupfromdc " "--include-env=restoredc " "--include-env=renamedc " |