From cfd42e53e5d091df74eaf25bbc9abefcc01a3c2c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 19 Aug 2024 10:57:47 +0200 Subject: [PATCH] Changing output in .gitlab-ci.yml --- .gitlab-ci.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a18ef2..9846c83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -223,9 +223,19 @@ Linter: - whoami - pwd - which python3 - - 'echo "Environment:"; env | sed -e "s/^ROOT_PASSWORD=.*/ROOT_PASSWORD=********/" | sort -i -f; echo' - - 'echo "Ref name: ${CI_COMMIT_REF_NAME}"; echo "System status: ${SYSTEM_STATUS}"' - | + 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 + + - | + 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}" -- 2.39.5