From: Frank Brehm Date: Mon, 19 Aug 2024 09:04:26 +0000 (+0200) Subject: Changing output in .gitlab-ci.yml X-Git-Tag: 3.3.4~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=00323b235c25b3d6dd53f0ebe757fe5af6e5d1aa;p=pixelpark%2Fcreate-vmware-tpl.git Changing output in .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9846c83..4c6fbd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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.";