[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [manual/translations] Add .gitlab-ci.yml first try. ref: https://gitlab.torproject.org/tpo/web/support/-/snippets/89
commit 1917acf4b5a0a85cf001be02b8eb97451f98806e
Author: emma peel <emmapeel@xxxxxxxxxxxxxx>
Date: Tue Apr 20 07:53:38 2021 +0000
Add .gitlab-ci.yml first try. ref: https://gitlab.torproject.org/tpo/web/support/-/snippets/89
---
.gitlab-ci.yml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..420222f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,25 @@
+image: debian:buster-slim
+
+stages:
+ - production
+
+pages:
+ stage: production
+ script:
+ - apt update
+ - DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends gettext python3-babel python3-pip git python3-inifile python3-dev python3-setuptools python3-venv python3-openssl python3-cryptography -y
+ - pip3 install babel
+ - pip3 install wheel
+ - pip3 install lektor
+ - rm -rf i18n
+ - git clone https://git.torproject.org/translation.git i18n
+ - cd i18n && git checkout support-portal && cd ..
+ - rm -rf lego
+ - git clone https://git.torproject.org/project/web/lego.git lego
+ - cd lego && git checkout origin/master && cd ..
+ - lektor build --output-path public
+ artifacts:
+ paths:
+ - public
+ only:
+ - translations
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits