]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing dependecies
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Nov 2021 16:06:20 +0000 (17:06 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 11 Nov 2021 16:06:20 +0000 (17:06 +0100)
.gitlab-ci.yml

index 0ea082e8d0da08e7a3f38b77c30799dee614ff30..2cb502e07f074393654929d71ced1f6b6cc9c2a4 100644 (file)
@@ -143,6 +143,8 @@ Test source:
 Linter:
   <<: *job_definition
   stage: linter
+  needs:
+    - 'Test source'
   script:
     - pip install --upgrade --upgrade-strategy eager flake8 pylint
     - flake8 --max-line-length=$FLAKE8_MAX_LINE_LENGTH --max-complexity=$FLAKE8_MAX_COMPLEXITY --ignore=$FLAKE8_IGNORE_ERRORS bin lib
@@ -157,6 +159,8 @@ Linter:
 Create Centos8 template:
   <<: *job_definition
   stage: deploy
+  needs:
+    - 'Linter'
   variables:
     OS_ID: centos8
     VM_OS_VERSION: 'centos8_64Guest'
@@ -215,7 +219,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 1200
     - bin/create-vmware-template --verbose --color yes --config "${CONFIG_FILE}"
   environment:
     name: ${SYSTEM_STATUS}
@@ -230,6 +234,8 @@ Create Centos8 template:
 Create Centos7 template:
   <<: *job_definition
   stage: deploy
+  needs:
+    - 'Create Centos8 template'
   variables:
     OS_ID: centos7
     VM_OS_VERSION: 'centos7_64Guest'
@@ -288,7 +294,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 600
     - bin/create-vmware-template --verbose --color yes --config "${CONFIG_FILE}"
   environment:
     name: ${SYSTEM_STATUS}
@@ -303,6 +309,8 @@ Create Centos7 template:
 Create OracleLinux7 template:
   <<: *job_definition
   stage: deploy
+  needs:
+    - 'Create Centos7 template'
   variables:
     OS_ID: oel7
     VM_OS_VERSION: 'oracleLinux7_64Guest'