.gitlab-ci.yml: Re-indent comments on test times
[amitay/samba.git] / .gitlab-ci-private.yml
index c3860685a8091deeb7c376b44ed9d69af90ce330..4a6e5036f80edef9d1f7af00bc201436de060d16 100644 (file)
@@ -2,40 +2,37 @@ 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
-    - 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:
-    # this one takes about 1 hours to finish
-    - 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
-    - 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
-
+  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-py2:
+  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-ad-dc-py2:
+  extends: .private_template
+  # this one takes about 1 hours to finish
+
+samba-nt4:
+  extends: .private_template