[tor-commits] [manual/develop] add new l10n test, remove unuccesful try to cache the translation.git repo
gus at torproject.org
gus at torproject.org
Fri Jul 9 17:07:35 UTC 2021
commit a9ab18348923a96ce13304edae1cb958adf6f5fb
Author: emma peel <emma.peel at riseup.net>
Date: Thu May 20 09:58:04 2021 +0200
add new l10n test, remove unuccesful try to cache the translation.git repo
---
.gitlab-ci.yml | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40c8948..47a1c71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,18 +40,18 @@ before_script:
- pip3 install wheel
- pip3 install lektor
- echo 'checking out translations'
- - >
- if [ "i18n" ]; then
- cd i18n && git checkout tbmanual-contentspot && git reset --hard && git pull && cd ..
- else
- git clone https://git.torproject.org/translation.git i18n
- cd i18n && git checkout tbmanual-contentspot && cd ..
- fi
+ - rm -rf i18n
+ - git clone https://git.torproject.org/translation.git i18n
+ - cd i18n && git checkout tbmanual-contentspot && cd ..
+ - git clone https://gitlab.torproject.org/tpo/community/l10n.git
+ - pip3 install polib
pages:
script:
- echo 'building lektor 3 times to get translations in place'
- lektor build --output-path public && lektor build --output-path public && lektor build --output-path public
+ - echo 'lets see if there are any updates in the strings for translation'
+ - l10n/bin/check_po_status.py tbmanual-contentspot
artifacts:
paths:
- public
@@ -61,6 +61,4 @@ pages:
check_l10n:
script:
- - git clone https://gitlab.torproject.org/tpo/community/l10n.git
- - pip3 install polib
- l10n/bin/check_markdown_links.py i18n/
More information about the tor-commits
mailing list