From b979ca5455d6d35afbe504a5bdbfd2a0500a13e3 Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 27 Aug 2018 17:38:41 +0200 Subject: [PATCH] test drone build test again test Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' Aggiornare '.drone.yml' updated drone support --- .drone.yml | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index aaee368..c57068e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,34 @@ +platform: linux/arm + +workspace: + base: /home/builder/package + path: / + +clone: + default: + image: plugins/git:linux-arm + depth: 50 + pipeline: build: - image: alpine:3.7 - commands: - - apk -U add abuild - - abuild-apk update - - abuild -r + image: arm32v6/abuild:latest + environment: + - REPODEST=/home/builder/package + secrets: + - source: abuild_ssh_key + target: RSA_PRIVATE_KEY + - source: abuild_ssh_key_name + target: RSA_PRIVATE_KEY_NAME + + gitea_release: + image: plugins/gitea-release:linux-arm + files: builder/armhf/*.apk + checksum: + - md5 + - sha1 + - sha256 + - sha512 + secrets: [ gitea_token ] + base_url: https://git.asperti.com + when: + event: tag