[drone-ci]: update
This commit is contained in:
parent
8b3dc159d2
commit
d364f8a629
18
.drone.yml
18
.drone.yml
@ -3,19 +3,23 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: alpine
|
- name: alpine
|
||||||
image: alpine:3.13.5
|
image: alpine:3.13.7
|
||||||
commands:
|
commands:
|
||||||
|
- export SHELL=/bin/bash # hack custom shell
|
||||||
- apk update
|
- apk update
|
||||||
- apk add musl-locales openjdk11 py3-pip make
|
- apk add musl-locales openjdk11 py3-pip make py3-virtualenv
|
||||||
- pip3 install babel beautifulsoup4 html5validator markdown pelican css-html-js-minify
|
|
||||||
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
||||||
|
- virtualenv -p python3 venv
|
||||||
|
- source venv/bin/activate
|
||||||
|
- pip install -r requirements.txt
|
||||||
- (cd libretube-theme/ && make compile)
|
- (cd libretube-theme/ && make compile)
|
||||||
- cp -v Makefile.example Makefile
|
- mv -T Makefile.example Makefile
|
||||||
- make validate
|
- make validate
|
||||||
|
|
||||||
- name: debian
|
- name: debian
|
||||||
image: debian:bullseye
|
image: debian:bullseye
|
||||||
commands:
|
commands:
|
||||||
|
- export SHELL=/bin/bash # hack custom shell
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y locales openjdk-11-jre python3-pip
|
- apt-get install -y locales openjdk-11-jre python3-pip
|
||||||
- sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
|
- sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
|
||||||
@ -23,8 +27,10 @@ steps:
|
|||||||
- sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
|
- sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
|
||||||
- sed -e 's|^# fr_FR.UTF-8 UTF-8|fr_FR.UTF-8 UTF-8|g' -i /etc/locale.gen
|
- sed -e 's|^# fr_FR.UTF-8 UTF-8|fr_FR.UTF-8 UTF-8|g' -i /etc/locale.gen
|
||||||
- dpkg-reconfigure --frontend=noninteractive locales
|
- dpkg-reconfigure --frontend=noninteractive locales
|
||||||
- pip3 install babel beautifulsoup4 html5validator markdown pelican css-html-js-minify
|
|
||||||
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
||||||
|
- virtualenv -p python3 venv
|
||||||
|
- source venv/bin/activate
|
||||||
|
- pip install -r requirements.txt
|
||||||
- (cd libretube-theme/ && make compile)
|
- (cd libretube-theme/ && make compile)
|
||||||
- cp -v Makefile.example Makefile
|
- mv -T Makefile.example Makefile
|
||||||
- make validate
|
- make validate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user