diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ba4a03a --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/APKBUILD b/APKBUILD index d850ccf..e929be8 100644 --- a/APKBUILD +++ b/APKBUILD @@ -4,7 +4,7 @@ pkgname=openpdu pkgver=0.2.0 pkgrel=1 pkgdesc="OpenPDU project - main binary" -url="https://github.com/openpdu/openpdu" +url="https://git.asperti.com/OpenPDU/openpdu" arch="noarch" license="GPL2" depends="python py-argh apk-cron py-bottle i2c-tools"