]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Reducing waiting times for different deploy jobs
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 1 Sep 2020 05:12:12 +0000 (07:12 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 1 Sep 2020 05:12:12 +0000 (07:12 +0200)
.gitlab-ci.yml

index 163c06b63c0b48366f0dff5fe4756ac0ca36aae7..bcabfe82e8f2c8dc7d0cf61ac059fa51eed8abc8 100644 (file)
@@ -1,5 +1,9 @@
 ---
 
+# Cron patterns:
+# test:   15  3 *  *  1
+# master: 35  5 *  *  1-5
+
 stages:
   - test
   - linter
@@ -276,7 +280,7 @@ Create Centos7 template:
        echo "-->";
        cat "${CONFIG_FILE}" | sed -e "s/^\(root_password\) .*/\1 = ********/" -e "s/^\(password\) .*/\1 = ********/";
        echo "<-- EOF"'
-    - bin/waitfor 600
+    - bin/waitfor 5
     - bin/create-vmware-template --verbose --color yes --config "${CONFIG_FILE}"
   environment:
     name: ${SYSTEM_STATUS}
@@ -349,7 +353,7 @@ Create Centos8 template:
        echo "-->";
        cat "${CONFIG_FILE}" | sed -e "s/^\(root_password\) .*/\1 = ********/" -e "s/^\(password\) .*/\1 = ********/";
        echo "<-- EOF"'
-    - bin/waitfor 1200
+    - bin/waitfor 10
     - bin/create-vmware-template --verbose --color yes --config "${CONFIG_FILE}"
   environment:
     name: ${SYSTEM_STATUS}