autobuild: Drop py2 autobuild jobs
[amitay/samba.git] / .gitlab-ci-private.yml
index 46acf77041f7bf46a962c62e790a4cee723b9614..4e83c197b8929dd853a6dddf5fd37a48eec237fb 100644 (file)
@@ -2,47 +2,29 @@ include:
  - '/.gitlab-ci.yml'
 
 
-build_samba:
-  stage: build
+.private_template:
+  extends: .shared_template
   tags:
     - docker
     - private
-  script:
-    # this one takes about 4 hours to finish
-    - python script/autobuild.py samba            --verbose --tail --testbase /tmp/samba-testbase
+  before_script:
+    - uname -a
+    - lsb_release -a
+    - mount
+    - df -h
+    - free -h
 
-build_samba_nt4:
-  stage: build
-  tags:
-    - docker
-    - private
-  script:
-    # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-nt4        --verbose --tail --testbase /tmp/samba-testbase
+samba:
+  extends: .private_template
+  # this one takes about 4 hours to finish
 
-build_samba_fileserver:
-  stage: build
-  tags:
-    - docker
-    - private
-  script:
-    # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase
+samba-fileserver:
+  extends: .private_template
+  # this one takes about 1 hours to finish
 
-build_samba_ad_dc:
-  stage: build
-  tags:
-    - docker
-    - private
-  script:
-    # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-ad-dc     --verbose --tail --testbase /tmp/samba-testbase
+samba-ad-dc:
+  extends: .private_template
+  # this one takes about 1 hours to finish
 
-build_samba_ad_dc_2:
-  stage: build
-  tags:
-    - docker
-    - private
-  script:
-    # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-ad-dc-2     --verbose --tail --testbase /tmp/samba-testbase
+samba-nt4:
+  extends: .private_template