[drone-ci]: change Hyperbola to Alpine image

This commit is contained in:
Jesús 2021-12-25 17:32:16 -05:00
parent ad461b0686
commit df51104e85
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -2,29 +2,24 @@ kind: pipeline
name: default name: default
steps: steps:
- name: build - name: alpine
image: rusian/hyperbola:0.4 image: alpine:3.15.0
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: SSH_KEY from_secret: SSH_KEY
commands: commands:
- export SHELL=/bin/bash # hack custom shell - export SHELL=/bin/bash # hack custom shell
- pacman -Syu --noconfirm - apk update
- pacman -S python-virtualenv python-setuptools make git openssh --noconfirm - apk add musl-locales openjdk11 make py3-virtualenv git openssh
- 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 - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
- bash devscripts/comments.bash # import comments CL - bash devscripts/comments.bash # import comments CL
- virtualenv -p python3 venv - virtualenv -p python3 venv
- source venv/bin/activate - source venv/bin/activate
- rm -f /usr/bin/lsb_release # hack fix python-distro - pip install -r requirements.txt
- 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 publish # make validate (disable because java no is present on Hyperbola) - make validate
- make publish
- make onion_publish - make onion_publish
- name: deploy-tux - name: deploy-tux