From 5fbf62416e352c28eb896d44093c03fc5a3bdb72 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 23 Jun 2020 18:28:32 +0200 Subject: [PATCH] Minor change to .gitlab-ci.yml --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.5