From: Frank Brehm Date: Tue, 23 Jun 2020 16:28:32 +0000 (+0200) Subject: Minor change to .gitlab-ci.yml X-Git-Tag: 2.1.2^2~9^2~20 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=5fbf62416e352c28eb896d44093c03fc5a3bdb72;p=pixelpark%2Fcreate-vmware-tpl.git Minor change to .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df1c085..5eefc2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ variables: JOB_LANGUAGE: 'de_DE.utf8' LANG: $JOB_LANGUAGE LC_ALL: $JOB_LANGUAGE + SYSTEM_STATUS: 'unknown' .template_job: &job_definition before_script: @@ -43,6 +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}" tags: - deploy after_script: