Commit 5c311963 authored by bmortier's avatar bmortier
Browse files

Merge branch...

Merge branch '5830-use-precompiled-images-for-transifex-stage-base-on-php-cli-stretch' into '1.3-dev'

Resolve "Use precompiled images for transifex stage base on php-cli stretch"

Closes #5830

See merge request fusiondirectory/fd!257

(cherry picked from commit 3c888fd7)

c7edb68c :ambulance: fix(gitlab) Use precompiled images for transifex stage base on php-cli stretch
6c017e0c :ambulance: fix(gitlab-ci) Use precompiled images for transifex stage base on php-cli stretch
12cfe799 :ambulance: fix(gitlab-ci) Use precompiled images for transifex stage base on php-cli stretch
fc310275 Revert ":ambulance: fix(gitlab-ci) Use precompiled images for transifex stage…
100534ed Revert ":ambulance: fix(gitlab-ci) Use precompiled images for transifex stage…
Showing with 4 additions and 2 deletions
+4 -2
......@@ -88,24 +88,26 @@ create_manpages_lint_report:
# 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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment