diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-25 17:32:16 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-25 17:32:16 -0500 |
commit | df51104e855fb48d76a8b8ed0bff590de719f48e (patch) | |
tree | 4c73892a16d8eaa65eae42634acd5a999150b65f | |
parent | ad461b0686019f7bdc929ddd75baf6192906f709 (diff) | |
download | cl-df51104e855fb48d76a8b8ed0bff590de719f48e.tar.lz cl-df51104e855fb48d76a8b8ed0bff590de719f48e.tar.xz cl-df51104e855fb48d76a8b8ed0bff590de719f48e.zip |
[drone-ci]: change Hyperbola to Alpine image
-rw-r--r-- | .drone.yml | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -2,29 +2,24 @@ kind: pipeline name: default steps: -- name: build - image: rusian/hyperbola:0.4 +- name: alpine + image: alpine:3.15.0 environment: SSH_KEY: from_secret: SSH_KEY commands: - export SHELL=/bin/bash # hack custom shell - - pacman -Syu --noconfirm - - pacman -S python-virtualenv python-setuptools make git openssh --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 + - apk update + - apk add musl-locales openjdk11 make py3-virtualenv git openssh - export LANG=es_ES.UTF-8 LANGUAGE=es_ES - bash devscripts/comments.bash # import comments CL - virtualenv -p python3 venv - source venv/bin/activate - - rm -f /usr/bin/lsb_release # hack fix python-distro - - pip install -U -r requirements.txt + - pip install -r requirements.txt - (cd cl-theme/ && make compile) - cp -v Makefile.example Makefile - - make publish # make validate (disable because java no is present on Hyperbola) + - make validate + - make publish - make onion_publish - name: deploy-tux |