From 0ff51425d3a8e979ee9f1b0535b54e11ed4e5918 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 17 Aug 2020 13:42:58 +0200 Subject: [PATCH] add: armv7h packaging --- .drone.yml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ webapp/PKGBUILD | 2 +- 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 321f0cc..18d7dd7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -116,6 +116,65 @@ steps: depends_on: - upload-packages +--- +kind: pipeline +name: makepkg-on-armv7h + +workspace: + path: /drone/src + +platform: + arch: arm + +steps: +- name: makepkg-core + image: serguzim/emgauwa-packager:armv7h + commands: + - cd core/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-core-testing + image: serguzim/emgauwa-packager:armv7h + commands: + - cd core-testing/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-controller + image: serguzim/emgauwa-packager:armv7h + commands: + - cd controller/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-controller-testing + image: serguzim/emgauwa-packager:armv7h + commands: + - cd controller-testing/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-webapp + image: serguzim/emgauwa-packager:armv7h + commands: + - cd webapp/ + - makepkg -s -f --cleanbuild --noconfirm +- name: upload-packages + image: serguzim/drone-webdav:armv7h + settings: + file: \ls /drone/src/*/emgauwa-*-armv7h.pkg.tar.* + destination: https://serguzim.me/repo/archlinux/armv7h/emgauwa/ + username: + from_secret: webdav_username + password: + from_secret: webdav_password + depends_on: + - makepkg-core + - makepkg-core-testing + - makepkg-controller + - makepkg-controller-testing + - makepkg-webapp +- name: send-webhook + image: plugins/webhook + settings: + urls: + from_secret: webhook_url + depends_on: + - upload-packages + --- kind: pipeline name: makepkg-on-x86_64 diff --git a/webapp/PKGBUILD b/webapp/PKGBUILD index 9c78b0a..ec3b40c 100644 --- a/webapp/PKGBUILD +++ b/webapp/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.0.8 pkgrel=1 epoch= pkgdesc="" -arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') +arch=('any') url="https://git.serguzim.me/emgauwa/client" license=('unknown') groups=()