Merge branch 'feature/drone' into develop

This commit is contained in:
Paolo Asperti 2018-09-15 15:03:22 +02:00
commit fbadb31efd
2 changed files with 35 additions and 1 deletions

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
platform: linux/arm
workspace:
base: /home/builder/package
path: /
clone:
default:
image: plugins/git:linux-arm
depth: 50
pipeline:
build:
image: openpdu/builder:3.7
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

View File

@ -4,7 +4,7 @@ pkgname=openpdu
pkgver=0.1.2 pkgver=0.1.2
pkgrel=1 pkgrel=1
pkgdesc="OpenPDU project - main binary" pkgdesc="OpenPDU project - main binary"
url="https://github.com/openpdu/openpdu" url="https://git.asperti.com/OpenPDU/openpdu"
arch="noarch" arch="noarch"
license="GPL2" license="GPL2"
depends="python py-argh apk-cron i2c-tools" depends="python py-argh apk-cron i2c-tools"