- 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}"
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
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"
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.";