From 6c12fa0be9346be29cd75faeeede5ec25b8c6065 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 17 Aug 2020 12:41:26 +0200 Subject: [PATCH] add: aarch64 auto build --- .drone.yml | 59 +++++++++++++++++++++++++++++++++++++ controller-testing/PKGBUILD | 2 +- controller/PKGBUILD | 2 +- core-testing/PKGBUILD | 2 +- core/PKGBUILD | 2 +- webapp/PKGBUILD | 2 +- 6 files changed, 64 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7e85d82..1c8e0eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,62 @@ +--- +kind: pipeline +name: makepkg-on-aarch64 + +workspace: + path: /drone/src + +platform: + arch: arm64 + +steps: +- name: makepkg-core + image: serguzim/emgauwa-packager:aarch64 + commands: + - cd core/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-core-testing + image: serguzim/emgauwa-packager:aarch64 + commands: + - cd core-testing/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-controller + image: serguzim/emgauwa-packager:aarch64 + commands: + - cd controller/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-controller-testing + image: serguzim/emgauwa-packager:aarch64 + commands: + - cd controller-testing/ + - makepkg -s -f --cleanbuild --noconfirm +- name: makepkg-webapp + image: serguzim/emgauwa-packager:aarch64 + commands: + - cd webapp/ + - makepkg -s -f --cleanbuild --noconfirm +- name: upload-packages + image: serguzim/drone-webdav:aarch64 + settings: + file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.* + destination: https://serguzim.me/repo/archlinux/armv6h/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-armv6h diff --git a/controller-testing/PKGBUILD b/controller-testing/PKGBUILD index 160be3c..a7e0497 100644 --- a/controller-testing/PKGBUILD +++ b/controller-testing/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.2.7 pkgrel=1 epoch= pkgdesc="" -arch=('any') +arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://git.serguzim.me/emgauwa/controller" license=('unknown') groups=() diff --git a/controller/PKGBUILD b/controller/PKGBUILD index 0e1e28a..d1d71ba 100644 --- a/controller/PKGBUILD +++ b/controller/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.2.7 pkgrel=1 epoch= pkgdesc="" -arch=('any') +arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://git.serguzim.me/emgauwa/controller" license=('unknown') groups=() diff --git a/core-testing/PKGBUILD b/core-testing/PKGBUILD index d3baee2..c2eb2d1 100644 --- a/core-testing/PKGBUILD +++ b/core-testing/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.2.15 pkgrel=1 epoch= pkgdesc="" -arch=('any') +arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://git.serguzim.me/emgauwa/core" license=('unknown') groups=() diff --git a/core/PKGBUILD b/core/PKGBUILD index dd83c27..4349e61 100644 --- a/core/PKGBUILD +++ b/core/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.2.15 pkgrel=1 epoch= pkgdesc="" -arch=('any') +arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://git.serguzim.me/emgauwa/core" license=('unknown') groups=() diff --git a/webapp/PKGBUILD b/webapp/PKGBUILD index ec3b40c..9c78b0a 100644 --- a/webapp/PKGBUILD +++ b/webapp/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.0.8 pkgrel=1 epoch= pkgdesc="" -arch=('any') +arch=('x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://git.serguzim.me/emgauwa/client" license=('unknown') groups=()