33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: hyperbola
|
|
image: rusian/hyperbola:0.4
|
|
commands:
|
|
- 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
|
|
- 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
|
|
|
|
- name: alpine
|
|
image: alpine:3.13.7
|
|
commands:
|
|
- apk update
|
|
- apk add musl-locales openjdk11 py3-pip make
|
|
- pip3 install babel beautifulsoup4 html5validator markdown pelican
|
|
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
|
- (cd cl-theme/ && make compile)
|
|
- cp -v Makefile.example Makefile
|
|
- make validate || true
|