From 780392bb3731134e33093f19ac1b5ba162883df4 Mon Sep 17 00:00:00 2001 From: Nicolas Bouilleaud Date: Thu, 18 Apr 2019 18:07:06 +0200 Subject: [PATCH] Remove i18n related stuff from gitlab-ci --- .gitlab-ci.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb8c0c1..156a22f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,25 +87,6 @@ db:migration:postgresql:9.6: services: - 'postgres:9.6' -check:missing:trads: - stage: test - script: - - ./scripts/check-translations.py - -# check-trad: -# stage: test -# allow_failure: true -# script: -# - if [ -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then echo "*** Unable to check if translations need to be pulled, exiting ***"; exit 1; fi -# - export ORIG=$(git diff-files --shortstat) -# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then mkdir -p ${HOME}/.config; echo -e "${ZANATA_CONFIG_FRAMABOT}" > ${HOME}/.config/zanata.ini; fi -# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make push-locales; fi -# - git status > /dev/null 2>&1 -# - export CHANGES=$(git diff-files --shortstat) -# - if [[ $CHANGES != $ORIG ]]; then echo "*** There is changes in locales ***"; echo "*** You need to do `make pull-locales` in your repo ***"; exit 1; fi -# only: -# - develop - # Create artifacts on master pages: stage: deploy @@ -137,8 +118,6 @@ beta: script: - composer install -o --no-interaction --no-progress --prefer-dist --no-dev - composer dump-autoload --optimize --no-dev --classmap-authoritative -# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then mkdir -p ${HOME}/.config; echo -e "${ZANATA_CONFIG_FRAMABOT}" > ${HOME}/.config/zanata.ini; fi -# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make pull-locales; fi - mkdir .public - cp -r * .public - cp -r .git .public @@ -169,14 +148,3 @@ funky: - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then rsync -a --delete --exclude admin/.stdout.log --exclude admin/.htpasswd --exclude app/inc/config.php --exclude stats/ --exclude error/ public/ ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:../../web/; fi only: - funky - -# Push new translations strings to https://trad.framasoft.org -# trads: -# stage: deploy -# image: framasoft/push-trad:latest -# script: -# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then mkdir -p ${HOME}/.config; echo -e "${ZANATA_CONFIG_FRAMABOT}" > ${HOME}/.config/zanata.ini; fi -# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make push-locales; fi -# only: -# - develop -# - master