From d39f1809e60106297525acc6268c0f594360c4df Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 17 Sep 2021 10:52:54 -0300 Subject: [PATCH] woodpecker: probar sin hainish --- .woodpecker.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4efa843..d7114ee 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,14 +2,18 @@ pipeline: deploy: image: docker.io/alpine:3.14 commands: - - apk add openssh-client-default make bubblewrap git bash coreutils diffutils - - test "$(pwd)" = /drone/src/gitea.nulo.in/Sutty/sutty + - echo "https://alpine.sutty.nl/alpine/v3.14/sutty" >> "/etc/apk/repositories" + - wget https://alpine.sutty.nl/alpine/sutty.pub -O "/etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub" + - apk add --no-cache openssh-client-default make git bash coreutils diffutils - git clone https://gitea.nulo.in/Sutty/haini.sh /drone/src/gitea.nulo.in/Sutty/haini.sh + - apk add --no-cache "$(cat "/drone/src.gitea.nulo.in/Sutty/haini.sh/packages" | tr "\n" " ")" + - sed -re "s/#(@platforms = )/\1/" -i "/usr/lib/ruby/2.7.0/rubygems.rb" + - install -m 640 "/drone/src.gitea.nulo.in/Sutty/haini.sh/.gemrc" "$HOME/.gemrc" - mkdir ~/.ssh/ - echo $${SSH_KEY} > ~/.ssh/id_ed25519 - - make bundle - - make yarn - - make ota-js + - HAINISH= make bundle + - HAINISH= make yarn + - HAINISH= make ota-js secrets: - ssh_key when: