add: armv7h packaging

This commit is contained in:
Tobias Reisinger 2020-08-17 13:42:58 +02:00
parent 0403ca37e0
commit 0ff51425d3
2 changed files with 60 additions and 1 deletions

View file

@ -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

View file

@ -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=()