mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03: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:
parent
ffc3fbe288
commit
ca13325913
2 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
pip: pip3 --timeout 100 --retries 10
|
pip: pip3 --timeout 100 --retries 10
|
||||||
|
@ -136,16 +137,14 @@ ubuntu_jammy_pip:
|
||||||
<<: *apt-template
|
<<: *apt-template
|
||||||
script:
|
script:
|
||||||
- apt-get install git default-jdk-headless python3-pip python3-venv rsync
|
- 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
|
# setup venv to act as release build machine
|
||||||
- python -m venv sdist-env
|
- python3 -m venv sdist-env
|
||||||
- . sdist-env/bin/activate
|
- . sdist-env/bin/activate
|
||||||
- ./setup.py sdist
|
- ./setup.py sdist
|
||||||
- deactivate
|
- deactivate
|
||||||
- tar tzf dist/fdroidserver-*.tar.gz
|
- tar tzf dist/fdroidserver-*.tar.gz
|
||||||
|
|
||||||
# back to bare machine to act as user's install machine
|
# back to bare machine to act as user's install machine
|
||||||
- export ANDROID_HOME=/opt/android-sdk
|
- export ANDROID_HOME=/opt/android-sdk
|
||||||
- $pip install sdkmanager
|
- $pip install sdkmanager
|
||||||
|
|
5
.yamllint
Normal file
5
.yamllint
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
extends: default
|
||||||
|
rules:
|
||||||
|
line-length: disable
|
Loading…
Add table
Add a link
Reference in a new issue