CI: Add new py2 CI jobs to replace old py3 ones
authorNoel Power <noel.power@suse.com>
Thu, 29 Nov 2018 21:28:11 +0000 (21:28 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:25 +0000 (10:38 +0100)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
.gitlab-ci-private.yml
.gitlab-ci.yml

index 912b28f0d1a6752d03c8254b23f766372ec3eb5d..7513c9df6ea1cf87fae749c051281075822de872 100644 (file)
@@ -14,6 +14,12 @@ build_samba:
     # this one takes about 4 hours to finish
     - python3 script/autobuild.py samba            --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
     # this one takes about 4 hours to finish
     - python3 script/autobuild.py samba            --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
+build_samba_py2:
+  <<: *private_template
+  script:
+    # this one takes about 4 hours to finish
+    - script/autobuild.py samba-py2            --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+
 build_samba_fileserver:
   <<: *private_template
   script:
 build_samba_fileserver:
   <<: *private_template
   script:
@@ -26,3 +32,10 @@ build_samba_ad_dc:
     # this one takes about 1 hours to finish
     - python3 script/autobuild.py samba-ad-dc     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
     # this one takes about 1 hours to finish
     - python3 script/autobuild.py samba-ad-dc     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
+
+build_samba_ad_dc_py2:
+  <<: *private_template
+  script:
+    # this one takes about 1 hours to finish
+    - script/autobuild.py samba-ad-dc-py2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+
index 9b074bb564f1818159bbd9d87476d6160e8950b4..8409dd1827f7e97f776690784413ef4d2d0b1387 100644 (file)
@@ -29,6 +29,12 @@ build_samba_none_env:
     # this one takes about 1 hours to finish
     - python3 script/autobuild.py samba-none-env    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
     # this one takes about 1 hours to finish
     - python3 script/autobuild.py samba-none-env    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
+build_samba_none_env_py2:
+  <<: *shared_template
+  script:
+    # this one takes about 1 hours to finish
+    - script/autobuild.py samba-none-env-py2    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+
 build_samba_nopython:
   <<: *shared_template
   script:
 build_samba_nopython:
   <<: *shared_template
   script:
@@ -55,11 +61,22 @@ build_samba_ad_dc_2:
     # this one takes about 1 hours to finish
     - python3 script/autobuild.py samba-ad-dc-2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
     # this one takes about 1 hours to finish
     - python3 script/autobuild.py samba-ad-dc-2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
+build_samba_ad_dc_2_py2:
+  <<: *shared_template
+  script:
+    # this one takes about 1 hours to finish
+    - script/autobuild.py samba-ad-dc-2-py2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+
 build_samba_libs:
   <<: *shared_template
   script:
     - python3 script/autobuild.py samba-libs       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
 build_samba_libs:
   <<: *shared_template
   script:
     - python3 script/autobuild.py samba-libs       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
+build_samba_libs_py2:
+  <<: *shared_template
+  script:
+    - python3 script/autobuild.py samba-libs-py2       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+
 build_samba_static:
   <<: *shared_template
   script:
 build_samba_static:
   <<: *shared_template
   script: