.gitlab-ci.yml: Re-indent comments on test times
[amitay/samba.git] / .gitlab-ci-private.yml
index 46acf77041f7bf46a962c62e790a4cee723b9614..4a6e5036f80edef9d1f7af00bc201436de060d16 100644 (file)
@@ -2,47 +2,37 @@ 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-py2:
+  extends: .private_template
+  # this one takes about 4 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-fileserver:
+  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-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