From 8dcfb0d494df01e1de2b455d9d066bac112c7afa Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 11 Jul 2018 14:05:25 +0200 Subject: [PATCH] Disable everything Zanata related for now Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e95d0a2..0533642 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,19 +18,19 @@ test: paths: - vendor/ -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 +# 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: @@ -99,11 +99,11 @@ funky: - 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 +# 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