]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Minor change to .gitlab-ci.yml
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 24 Jun 2020 07:49:40 +0000 (09:49 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 24 Jun 2020 07:49:40 +0000 (09:49 +0200)
.gitlab-ci.yml

index 51566f50025ed7775c8798788e099d448c658528..9929b1364e69f04522b2ad94ee9a3e7557f65bf8 100644 (file)
@@ -118,7 +118,7 @@ Create Centos8 template:
     - whoami
     - pwd
     - which python3
-    - 'echo "Environment:"; env | sort -i -f; echo'
+    - '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 "VCenter Host: \"${VSPHERE_HOST}\""'
     - 'echo "Configuration file: \"${CONFIG_FILE}\""'
@@ -130,6 +130,10 @@ Create Centos8 template:
     - /^dev\/.*$/
     - /^hf.*$/
     - tags
+  after_script:
+    - 'CONFIG_FILE=etc/create-${OS_ID}-${SYSTEM_STATUS}.ini'
+    - 'ls -l "${CONFIG_FILE}" || true'
+    - 'rm -fv "${CONFIG_FILE}"'
 
 #Deploy OEL7 template image:
 #  <<: *job_definition