ctdb-event: Force EVENTSCRIPTS_TESTS_VAR_DIR to be absolute
[amitay/samba.git] / .gitlab-ci-private.yml
index 46acf77..c386068 100644 (file)
@@ -2,47 +2,40 @@ include:
  - '/.gitlab-ci.yml'
 
 
-build_samba:
+.private_template: &private_template
   stage: build
   tags:
     - docker
     - private
+
+build_samba:
+  <<: *private_template
   script:
     # this one takes about 4 hours to finish
-    - python script/autobuild.py samba            --verbose --tail --testbase /tmp/samba-testbase
+    - script/autobuild.py samba            --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
-build_samba_nt4:
-  stage: build
-  tags:
-    - docker
-    - private
+build_samba_py2:
+  <<: *private_template
   script:
-    # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-nt4        --verbose --tail --testbase /tmp/samba-testbase
+    # this one takes about 4 hours to finish
+    - script/autobuild.py samba-py2            --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
 build_samba_fileserver:
-  stage: build
-  tags:
-    - docker
-    - private
+  <<: *private_template
   script:
     # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase
+    - script/autobuild.py samba-fileserver --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
 build_samba_ad_dc:
-  stage: build
-  tags:
-    - docker
-    - private
+  <<: *private_template
   script:
     # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-ad-dc     --verbose --tail --testbase /tmp/samba-testbase
+    - script/autobuild.py samba-ad-dc     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
 
-build_samba_ad_dc_2:
-  stage: build
-  tags:
-    - docker
-    - private
+
+build_samba_ad_dc_py2:
+  <<: *private_template
   script:
     # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-ad-dc-2     --verbose --tail --testbase /tmp/samba-testbase
+    - script/autobuild.py samba-ad-dc-py2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
+