From: Frank Brehm Date: Tue, 23 Jun 2020 16:33:49 +0000 (+0200) Subject: Fixing .gitlab-ci.yml X-Git-Tag: 2.1.2^2~9^2~19 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=506a1d15a1b171b4a90b81a65a8fba7eecd20c71;p=pixelpark%2Fcreate-vmware-tpl.git Fixing .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5eefc2f..af93e51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,8 +44,8 @@ variables: - pip install --upgrade --upgrade-strategy eager --requirement requirements.txt - pip list --format columns - if [ -x bin/compile-xlate-msgs.sh ] ; then bin/compile-xlate-msgs.sh; fi - - if [ "$CI_COMMIT_REF_NAME" = 'master' ] ; then SYSTEM_STATUS="production"; elif [ "$CI_COMMIT_REF_NAME" = 'test' ] ; then SYSTEM_STATUS="testing"; else SYSTEM_STATUS="development"; fi - - echo "System status: ${SYSTEM_STATUS}" + - 'if [ "$CI_COMMIT_REF_NAME" = "master" ] ; then SYSTEM_STATUS="production"; elif [ "$CI_COMMIT_REF_NAME" = "test" ] ; then SYSTEM_STATUS="testing"; else SYSTEM_STATUS="development"; fi' + - 'echo "System status: ${SYSTEM_STATUS}"' tags: - deploy after_script: