]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing output in .gitlab-ci.yml
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 19 Aug 2024 09:04:26 +0000 (11:04 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 19 Aug 2024 09:04:26 +0000 (11:04 +0200)
.gitlab-ci.yml

index 9846c831e77e1ebcaf09e150d859d447093c57cf..4c6fbd4c785f1fa29e96ca7d6f398c97cbb3bd2e 100644 (file)
@@ -224,18 +224,16 @@ Linter:
     - pwd
     - which python3
     - |
-      echo " "
       echo "Environment:"
       env | sed -e "s/^ROOT_PASSWORD=.*/ROOT_PASSWORD=********/" \
                 -e "s/^RHSM_PWD=.*/RHSM_PWD=********/" \
-                -e "s/^\(VSPHERE_API_PASSWD_[^=]*\)=./\1=********/"  | sort -i -f
-
-    - |
+                -e "s/^\(VSPHERE_API_PASSWD_[^=]*\)=.*/\1=********/"  | sort -i -f
       echo " "
+    - |
       echo "Ref name: ${CI_COMMIT_REF_NAME}"
       echo "System status: ${SYSTEM_STATUS}"
-    - |
       echo " "
+    - |
       echo "Generating configuration file: '${CONFIG_FILE}'"
       echo "[vSphere]"                                                     > "${CONFIG_FILE}"
       echo "host = ${VSPHERE_HOST}"                                       >> "${CONFIG_FILE}"
@@ -285,6 +283,7 @@ Linter:
       echo "max_wait_for_finish_install = ${MAX_WAIT_FOR_FINISH_INSTALL}" >> "${CONFIG_FILE}"
       echo ""                                                             >> "${CONFIG_FILE}"
       echo "; vim: filetype=dosini"                                       >> "${CONFIG_FILE}"
+      echo " "
     - |
       echo "Generated '${CONFIG_FILE}':"
       ls -l "${CONFIG_FILE}" || true
@@ -293,6 +292,7 @@ Linter:
       cat "${CONFIG_FILE}" | sed -e "s/^\(root_password\) .*/\1 = ********/" -e "s/^\(password\) .*/\1 = ********/" -e "s/^\(rhsm_pwd\) .*/\1 = ********/"
       echo "<-- EOF"
     # - bin/waitfor 1200
+      echo " "
     - |
       echo "Creating 'etc/ldap.yaml' ..."
       echo "---"                             > "etc/ldap.yaml"
@@ -305,13 +305,15 @@ Linter:
       echo "    base_dn: '${LDAP_BASE_DN}'" >> "etc/ldap.yaml"
       echo "    bind_dn: '${LDAP_BIND_DN}'" >> "etc/ldap.yaml"
       echo "    bind_pw: '${LDAP_BIND_PW}'" >> "etc/ldap.yaml"
+      echo " "
     - |
       echo "Generated etc/ldap.yaml:"
       ls -l "etc/ldap.yaml" || true;
-      echo
+      echo " "
       echo "-->"
       sed -e "s/\(bind_pw: \).*/\1********/" "etc/ldap.yaml"
       echo "<-- EOF"
+      echo " "
     - |
       if [ "${SYSTEM_STATUS}" = "development" ] ; then
           echo "No build is done.";