[drone-ci]: change to hyperbola image
This commit is contained in:
parent
147c446fb3
commit
5f862ca25b
16
.drone.yml
16
.drone.yml
@ -13,18 +13,20 @@ steps:
|
|||||||
- cp -v Makefile.example Makefile
|
- cp -v Makefile.example Makefile
|
||||||
- make validate || true
|
- make validate || true
|
||||||
|
|
||||||
- name: debian
|
- name: hyperbola
|
||||||
image: debian:buster
|
image: rusian/hyperbola:0.4
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- pacman -Syu --noconfirm
|
||||||
- apt-get install -y locales openjdk-11-jre python3-pip
|
- pacman -S python-virtualenv python-setuptools --noconfirm
|
||||||
- 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
|
||||||
- sed -e 's|^# en_US.UTF-8 UTF-8|en_US.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|^# 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
|
- locale-gen
|
||||||
- pip3 install babel beautifulsoup4 html5validator markdown pelican
|
|
||||||
- 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 -U -r requirements.txt
|
||||||
- (cd cl-theme/ && make compile)
|
- (cd cl-theme/ && make compile)
|
||||||
- cp -v Makefile.example Makefile
|
- cp -v Makefile.example Makefile
|
||||||
- make validate || true
|
- make validate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user