From ce53dd9cf41f195ba784f40f74910891895bf695 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 16 Aug 2018 13:53:20 +1200 Subject: [PATCH] gitlab-ci: Run the new python3 autobuild tasks These additional tasks should be less complex than the full build and help get us to a pure python3 build eventually Signed-off-by: Andrew Bartlett Reviewed-by: Gary Lockyer --- .gitlab-ci-private.yml | 18 ++++++++++++++++++ .gitlab-ci.yml | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/.gitlab-ci-private.yml b/.gitlab-ci-private.yml index bf045ca3ce6..bbbeae2cc83 100644 --- a/.gitlab-ci-private.yml +++ b/.gitlab-ci-private.yml @@ -14,12 +14,24 @@ build_samba: # this one takes about 4 hours to finish - python script/autobuild.py samba --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_py3: + <<: *private_template + script: + # this one takes about 4 hours to finish + - python script/autobuild.py samba-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + build_samba_nt4: <<: *private_template script: # this one takes about 1 hours to finish - python script/autobuild.py samba-nt4 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_nt4_py3: + <<: *private_template + script: + # this one takes about 1 hours to finish + - python script/autobuild.py samba-nt4-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + build_samba_fileserver: <<: *private_template script: @@ -32,3 +44,9 @@ build_samba_ad_dc: # this one takes about 1 hours to finish - python script/autobuild.py samba-ad-dc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_ad_dc_py3: + <<: *private_template + script: + # this one takes about 1 hours to finish + - python script/autobuild.py samba-ad-dc-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 42a425ea68d..9aa9fb28ccf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,12 @@ build_samba_none_env: # this one takes about 1 hours to finish - python script/autobuild.py samba-none-env --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_none_env_py3: + <<: *shared_template + script: + # this one takes about 1 hours to finish + - python script/autobuild.py samba-none-env-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + build_samba_nopython: <<: *shared_template script: @@ -55,11 +61,22 @@ build_samba_ad_dc_2: # this one takes about 1 hours to finish - python script/autobuild.py samba-ad-dc-2 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_ad_dc_2_py3: + <<: *shared_template + script: + # this one takes about 1 hours to finish + - python script/autobuild.py samba-ad-dc-2-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + build_samba_libs: <<: *shared_template script: - python script/autobuild.py samba-libs --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase +build_samba_libs_py3: + <<: *shared_template + script: + - python script/autobuild.py samba-libs-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase + build_samba_static: <<: *shared_template script: -- 2.34.1