1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-02 07:20:37 +02:00

gitlab-ci: simplify ubuntu_jammy_pip job, babel is not needed

Babel runs on install now, before it was used to pre-generated the
compiled gettext files.
This commit is contained in:
Hans-Christoph Steiner 2022-10-31 12:55:20 +01:00
parent ffc3fbe288
commit ca13325913
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,4 @@
---
variables:
pip: pip3 --timeout 100 --retries 10
@ -136,16 +137,14 @@ ubuntu_jammy_pip:
<<: *apt-template
script:
- apt-get install git default-jdk-headless python3-pip python3-venv rsync
- rm -rf env
- python3 -m venv env
- . env/bin/activate
- $pip install --upgrade babel pip setuptools
# setup venv to act as release build machine
- python -m venv sdist-env
- python3 -m venv sdist-env
- . sdist-env/bin/activate
- ./setup.py sdist
- deactivate
- tar tzf dist/fdroidserver-*.tar.gz
# back to bare machine to act as user's install machine
- export ANDROID_HOME=/opt/android-sdk
- $pip install sdkmanager

5
.yamllint Normal file
View File

@ -0,0 +1,5 @@
---
extends: default
rules:
line-length: disable