autobuild: Add -py2 tests for new split backup/restore testenvs
authorAndrew Bartlett <abartlet@samba.org>
Mon, 11 Mar 2019 01:20:55 +0000 (14:20 +1300)
committerKarolin Seeger <kseeger@samba.org>
Mon, 11 Mar 2019 07:55:37 +0000 (07:55 +0000)
This ensures Python2 coverage for this code while it remains supported.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13780

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
.gitlab-ci.yml
script/autobuild.py

index 70366944bd5a60796e17e29fe3e4a32f4e7a0a98..f4946a99a363841fb7d5cbf717d9f37b57df3729 100644 (file)
@@ -66,6 +66,11 @@ build_samba_ad_dc_backup:
   script:
     - script/autobuild.py samba-ad-dc-backup    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
+build_samba_ad_dc_backup_py2:
+  <<: *shared_template
+  script:
+    - script/autobuild.py samba-ad-dc-backup-py2    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+
 build_samba_ad_dc_2_py2:
   <<: *shared_template
   script:
index 00f0d2202a3d8b40741c37990afbe61f976c4b18..67c18a1aa35df6ee6378d70d5ebbef490a0bcafc 100755 (executable)
@@ -52,6 +52,7 @@ builddirs = {
     "samba-ad-dc-2": ".",
     "samba-ad-dc-2-py2": ".",
     "samba-ad-dc-backup": ".",
+    "samba-ad-dc-backup-py2": ".",
     "samba-systemkrb5": ".",
     "samba-nopython": ".",
     "samba-buildpy2-only": ".",