[drone-ci]: remove debian and update alpine image
This commit is contained in:
parent
d47a3e25af
commit
6ae495e29b
21
.drone.yml
21
.drone.yml
@ -3,7 +3,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: alpine
|
||||
image: alpine:3.13.7
|
||||
image: alpine:3.15.0
|
||||
commands:
|
||||
- export SHELL=/bin/bash # hack custom shell
|
||||
- apk update
|
||||
@ -15,22 +15,3 @@ steps:
|
||||
- (cd libretube-theme/ && make compile)
|
||||
- cp -v Makefile.example Makefile
|
||||
- make validate
|
||||
|
||||
- name: debian
|
||||
image: debian:bullseye
|
||||
commands:
|
||||
- export SHELL=/bin/bash # hack custom shell
|
||||
- apt-get update -y
|
||||
- apt-get install -y locales openjdk-11-jre virtualenv
|
||||
- sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
|
||||
- sed -e 's|^# en_US.UTF-8 UTF-8|en_US.UTF-8 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
|
||||
- dpkg-reconfigure --frontend=noninteractive locales
|
||||
- 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)
|
||||
- cp -v Makefile.example Makefile
|
||||
- make validate
|
||||
|
Loading…
x
Reference in New Issue
Block a user