From c7edb68cadbfa02c23699f7ab43356e272268c79 Mon Sep 17 00:00:00 2001 From: Benoit Mortier <benoit.mortier@opensides.be> Date: Wed, 2 May 2018 22:32:40 +0200 Subject: [PATCH] :ambulance: fix(gitlab) Use precompiled images for transifex stage base on php-cli stretch Signed-off-by: Benoit Mortier <benoit.mortier@opensides.be> --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 826556e20..1b5543c74 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 -- GitLab