]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Minor change to .gitlab-ci.yml
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 23 Jun 2020 16:28:32 +0000 (18:28 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 23 Jun 2020 16:28:32 +0000 (18:28 +0200)
.gitlab-ci.yml

index df1c085bc7a9607eeedeb6a212a10893da58769c..5eefc2f099e3e089b0fb40dc13651c336554afba 100644 (file)
@@ -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: