Remove i18n related stuff from gitlab-ci
This commit is contained in:
parent
aca1b57dfc
commit
780392bb37
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user