autobuild: Drop py2 autobuild jobs
[metze/samba/wip.git] / .gitlab-ci-private.yml
index 21db1b3ba4ac70693183460db4c69abbddeb7a92..4e83c197b8929dd853a6dddf5fd37a48eec237fb 100644 (file)
@@ -2,51 +2,29 @@ include:
  - '/.gitlab-ci.yml'
 
 
-.private_template: &private_template
-  stage: build
+.private_template:
+  extends: .shared_template
   tags:
     - docker
     - private
-
-build_samba:
-  <<: *private_template
-  script:
-    # 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:
-    # this one takes about 1 hours to finish
-    - python script/autobuild.py samba-fileserver --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-
-build_samba_ad_dc:
-  <<: *private_template
-  script:
-    # 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_purepy3-ad-dc:
-   <<: *private_template
-   script:
-     # this one takes about 1 hours to finish
-   - python3 script/autobuild.py samba-purepy3-ad-dc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-
+  before_script:
+    - uname -a
+    - lsb_release -a
+    - mount
+    - df -h
+    - free -h
+
+samba:
+  extends: .private_template
+  # this one takes about 4 hours to finish
+
+samba-fileserver:
+  extends: .private_template
+  # this one takes about 1 hours to finish
+
+samba-ad-dc:
+  extends: .private_template
+  # this one takes about 1 hours to finish
+
+samba-nt4:
+  extends: .private_template