diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 826556e20e83ca3cf875fd13f6d3040f0b977ef6..1b5543c742177f30069aec9edc55c164ba73f690 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,24 +124,26 @@ sonar_preview: # fusiondirectory-update-locale fusiondirectory-update-locale: + image: php:cli-stretch stage: transifex only: - branches before_script: - apt-get update -qq - - apt-get install -y -qq gettext git php-cli + - apt-get install -y -qq gettext git script: - git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - ../dev-tools/locale-scripts/fusiondirectory-update-locale -g # Update transifex update-transifex: + image: php:cli-stretch stage: transifex only: - /^1.*$/ before_script: - apt-get update -qq - - apt-get install -y -qq gettext git php-cli transifex-client + - apt-get install -y -qq gettext git transifex-client script: - git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\ntoken = '"$TRANSIFEX_API_TOKEN"$'\n' > ~/.transifexrc