From: Frank Brehm Date: Wed, 6 Feb 2019 17:05:43 +0000 (+0100) Subject: Fixing .gitlab-ci.yml X-Git-Tag: 1.1.0^2~22 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=db877bb1340b4a5a00c9afd9b15bf97d9a04a5b8;p=pixelpark%2Fcreate-vmware-tpl.git Fixing .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35f508a..cd69013 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ variables: VSPHERE_HOST: 'vcs01.ppbrln.internal' VSPHERE_API_PORT: 443 VSPHERE_API_USER: 'Administrator@vsphere.local' - VSPHERE_API_PASSWD: 'secret' + VSPHERE_API_PASSWD_PROD: 'secret' VSPHERE_DC: 'vmcc' VSPHERE_CLUSTER: 'vmcc-l105-01' VSPHERE_VM_FOLDER: 'templates' @@ -85,11 +85,11 @@ Deploy OEL7 template image: - 'echo "host = ${VSPHERE_HOST}" >> etc/create.ini' - 'echo "port = ${VSPHERE_API_PORT}" >> etc/create.ini' - 'echo "user = ${VSPHERE_API_USER}" >> etc/create.ini' - - 'echo "password = ${VSPHERE_API_PASSWD}" >> etc/create.ini' + - 'echo "password = ${VSPHERE_API_PASSWD_PROD}" >> etc/create.ini' - 'echo "dc = ${VSPHERE_DC}" >> etc/create.ini' - 'echo "cluster = ${VSPHERE_CLUSTER}" >> etc/create.ini' - 'echo "folder = ${VSPHERE_VM_FOLDER}" >> etc/create.ini' - - 'echo "max_nr_templates_stay = ${AX_NR_TEMPLATES_STAY}" >> etc/create.ini' + - 'echo "max_nr_templates_stay = ${MAX_NR_TEMPLATES_STAY}" >> etc/create.ini' - 'echo "" >> etc/create.ini' - 'echo "[Template]" >> etc/create.ini' - 'echo "vm = ${TEMPLATE_VM_NAME}" >> etc/create.ini'