Merge branch 'feature/drone' into develop
This commit is contained in:
commit
fbadb31efd
34
.drone.yml
Normal file
34
.drone.yml
Normal 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
|
2
APKBUILD
2
APKBUILD
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user