From 3c0df7e84ee40436c241c75c8a2262ee2599229b Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Mon, 20 Aug 2018 09:23:26 +0000 Subject: [PATCH 1/3] Aggiungi '.drone.yml' --- .drone.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a779f48 --- /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: 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 \ No newline at end of file From a1ad4a7412b6aeac5d9ad6b545365079231f2b45 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 15 Sep 2018 14:48:02 +0200 Subject: [PATCH 2/3] updated repo url --- APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APKBUILD b/APKBUILD index 2c0a0f7..2610117 100644 --- a/APKBUILD +++ b/APKBUILD @@ -4,7 +4,7 @@ pkgname=openpdu pkgver=0.1.2 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 i2c-tools" From 35a850927390be4f121b947bb4f7770720172051 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 15 Sep 2018 14:48:15 +0200 Subject: [PATCH 3/3] updated build image --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index a779f48..ba4a03a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ platform: linux/arm workspace: base: /home/builder/package path: / - + clone: default: image: plugins/git:linux-arm @@ -11,7 +11,7 @@ clone: pipeline: build: - image: arm32v6/abuild:latest + image: openpdu/builder:3.7 environment: - REPODEST=/home/builder/package secrets: @@ -31,4 +31,4 @@ pipeline: secrets: [ gitea_token ] base_url: https://git.asperti.com when: - event: tag \ No newline at end of file + event: tag