aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-12-22 15:20:56 -0500
committerJesús <heckyel@hyperbola.info>2021-12-22 15:20:56 -0500
commit5f862ca25b2e4582b6a87ee9e9d78438bf7107cd (patch)
treefa969de59c06e15f2ba15c5a816862f8d751bd4b
parent147c446fb3c5afb771894c7d0408413170396c10 (diff)
downloadcl-5f862ca25b2e4582b6a87ee9e9d78438bf7107cd.tar.lz
cl-5f862ca25b2e4582b6a87ee9e9d78438bf7107cd.tar.xz
cl-5f862ca25b2e4582b6a87ee9e9d78438bf7107cd.zip
[drone-ci]: change to hyperbola image
-rw-r--r--.drone.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.drone.yml b/.drone.yml
index 82d5723..d848791 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -13,18 +13,20 @@ steps:
- cp -v Makefile.example Makefile
- make validate || true
-- name: debian
- image: debian:buster
+- name: hyperbola
+ image: rusian/hyperbola:0.4
commands:
- - apt-get update -y
- - apt-get install -y locales openjdk-11-jre python3-pip
+ - pacman -Syu --noconfirm
+ - 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|^# 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
- - pip3 install babel beautifulsoup4 html5validator markdown pelican
+ - locale-gen
- 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)
- cp -v Makefile.example Makefile
- - make validate || true
+ - make validate