JOB_LANGUAGE: 'de_DE.utf8'
LANG: $JOB_LANGUAGE
LC_ALL: $JOB_LANGUAGE
+ SYSTEM_STATUS: 'unknown'
.template_job: &job_definition
before_script:
- 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: