upgpkg: controller-testing v0.3.1
upgpkg: core-testing v0.3.1 add: skip drone steps when not changed (based on git)
This commit is contained in:
parent
f50c5321e4
commit
6e5004f18b
4 changed files with 27 additions and 7 deletions
20
.drone.yml
20
.drone.yml
|
@ -13,26 +13,31 @@ steps:
|
||||||
image: serguzim/emgauwa-packager:aarch64
|
image: serguzim/emgauwa-packager:aarch64
|
||||||
commands:
|
commands:
|
||||||
- cd core/
|
- cd core/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-core-testing
|
- name: makepkg-core-testing
|
||||||
image: serguzim/emgauwa-packager:aarch64
|
image: serguzim/emgauwa-packager:aarch64
|
||||||
commands:
|
commands:
|
||||||
- cd core-testing/
|
- cd core-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller
|
- name: makepkg-controller
|
||||||
image: serguzim/emgauwa-packager:aarch64
|
image: serguzim/emgauwa-packager:aarch64
|
||||||
commands:
|
commands:
|
||||||
- cd controller/
|
- cd controller/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller-testing
|
- name: makepkg-controller-testing
|
||||||
image: serguzim/emgauwa-packager:aarch64
|
image: serguzim/emgauwa-packager:aarch64
|
||||||
commands:
|
commands:
|
||||||
- cd controller-testing/
|
- cd controller-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-webapp
|
- name: makepkg-webapp
|
||||||
image: serguzim/emgauwa-packager:aarch64
|
image: serguzim/emgauwa-packager:aarch64
|
||||||
commands:
|
commands:
|
||||||
- cd webapp/
|
- cd webapp/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: upload-packages
|
- name: upload-packages
|
||||||
image: serguzim/drone-webdav:aarch64
|
image: serguzim/drone-webdav:aarch64
|
||||||
|
@ -72,26 +77,31 @@ steps:
|
||||||
image: serguzim/emgauwa-packager:armv6h
|
image: serguzim/emgauwa-packager:armv6h
|
||||||
commands:
|
commands:
|
||||||
- cd core/
|
- cd core/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-core-testing
|
- name: makepkg-core-testing
|
||||||
image: serguzim/emgauwa-packager:armv6h
|
image: serguzim/emgauwa-packager:armv6h
|
||||||
commands:
|
commands:
|
||||||
- cd core-testing/
|
- cd core-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller
|
- name: makepkg-controller
|
||||||
image: serguzim/emgauwa-packager:armv6h
|
image: serguzim/emgauwa-packager:armv6h
|
||||||
commands:
|
commands:
|
||||||
- cd controller/
|
- cd controller/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller-testing
|
- name: makepkg-controller-testing
|
||||||
image: serguzim/emgauwa-packager:armv6h
|
image: serguzim/emgauwa-packager:armv6h
|
||||||
commands:
|
commands:
|
||||||
- cd controller-testing/
|
- cd controller-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-webapp
|
- name: makepkg-webapp
|
||||||
image: serguzim/emgauwa-packager:armv6h
|
image: serguzim/emgauwa-packager:armv6h
|
||||||
commands:
|
commands:
|
||||||
- cd webapp/
|
- cd webapp/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: upload-packages
|
- name: upload-packages
|
||||||
image: serguzim/drone-webdav:armv7h
|
image: serguzim/drone-webdav:armv7h
|
||||||
|
@ -131,26 +141,31 @@ steps:
|
||||||
image: serguzim/emgauwa-packager:armv7h
|
image: serguzim/emgauwa-packager:armv7h
|
||||||
commands:
|
commands:
|
||||||
- cd core/
|
- cd core/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-core-testing
|
- name: makepkg-core-testing
|
||||||
image: serguzim/emgauwa-packager:armv7h
|
image: serguzim/emgauwa-packager:armv7h
|
||||||
commands:
|
commands:
|
||||||
- cd core-testing/
|
- cd core-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller
|
- name: makepkg-controller
|
||||||
image: serguzim/emgauwa-packager:armv7h
|
image: serguzim/emgauwa-packager:armv7h
|
||||||
commands:
|
commands:
|
||||||
- cd controller/
|
- cd controller/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller-testing
|
- name: makepkg-controller-testing
|
||||||
image: serguzim/emgauwa-packager:armv7h
|
image: serguzim/emgauwa-packager:armv7h
|
||||||
commands:
|
commands:
|
||||||
- cd controller-testing/
|
- cd controller-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-webapp
|
- name: makepkg-webapp
|
||||||
image: serguzim/emgauwa-packager:armv7h
|
image: serguzim/emgauwa-packager:armv7h
|
||||||
commands:
|
commands:
|
||||||
- cd webapp/
|
- cd webapp/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: upload-packages
|
- name: upload-packages
|
||||||
image: serguzim/drone-webdav:armv7h
|
image: serguzim/drone-webdav:armv7h
|
||||||
|
@ -190,26 +205,31 @@ steps:
|
||||||
image: serguzim/emgauwa-packager:x86_64
|
image: serguzim/emgauwa-packager:x86_64
|
||||||
commands:
|
commands:
|
||||||
- cd core/
|
- cd core/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-core-testing
|
- name: makepkg-core-testing
|
||||||
image: serguzim/emgauwa-packager:x86_64
|
image: serguzim/emgauwa-packager:x86_64
|
||||||
commands:
|
commands:
|
||||||
- cd core-testing/
|
- cd core-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller
|
- name: makepkg-controller
|
||||||
image: serguzim/emgauwa-packager:x86_64
|
image: serguzim/emgauwa-packager:x86_64
|
||||||
commands:
|
commands:
|
||||||
- cd controller/
|
- cd controller/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-controller-testing
|
- name: makepkg-controller-testing
|
||||||
image: serguzim/emgauwa-packager:x86_64
|
image: serguzim/emgauwa-packager:x86_64
|
||||||
commands:
|
commands:
|
||||||
- cd controller-testing/
|
- cd controller-testing/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: makepkg-webapp
|
- name: makepkg-webapp
|
||||||
image: serguzim/emgauwa-packager:x86_64
|
image: serguzim/emgauwa-packager:x86_64
|
||||||
commands:
|
commands:
|
||||||
- cd webapp/
|
- cd webapp/
|
||||||
|
- [ -z "$(git diff HEAD^ .)" ] || exit 0
|
||||||
- makepkg -s -f --cleanbuild --noconfirm
|
- makepkg -s -f --cleanbuild --noconfirm
|
||||||
- name: upload-packages
|
- name: upload-packages
|
||||||
image: serguzim/drone-webdav:x86_64
|
image: serguzim/drone-webdav:x86_64
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
|
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
|
||||||
pkgname=emgauwa-controller-testing
|
pkgname=emgauwa-controller-testing
|
||||||
pkgver=0.3.0
|
pkgver=0.3.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc=""
|
pkgdesc=""
|
||||||
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
|
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
|
||||||
|
@ -19,8 +19,8 @@ source=("https://git.serguzim.me/emgauwa/controller/archive/testing-v$pkgver.tar
|
||||||
"emgauwa-controller-testing.service"
|
"emgauwa-controller-testing.service"
|
||||||
"emgauwa-controller-testing.sysusers"
|
"emgauwa-controller-testing.sysusers"
|
||||||
"emgauwa-controller-testing.tmpfiles")
|
"emgauwa-controller-testing.tmpfiles")
|
||||||
sha256sums=('cd8f995b42f67f60d278be51b9ea77af9200329dae169d38d3f15dc098873f53'
|
sha256sums=('80376f1f37ec4866ca96042e4bb1af802592177a433e895484715b1642294a2c'
|
||||||
'cfbf05b5e3045c9aad3979f366bdda6c5ca7d47e1bb4ad3bf855a39b99e88417'
|
'5bfbe580ef1a373e3c025f28f3de591ba7ce57c4aba20bd1cc62555043d7bd13'
|
||||||
'0bbc44d680be2011800c553ae863663148be0820f08349993578c88e9a23b143'
|
'0bbc44d680be2011800c553ae863663148be0820f08349993578c88e9a23b143'
|
||||||
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
||||||
'e62f47b41f0c4f116007ca0e05e0a50b45446763ccfa91b946b9d451c83ff5b4')
|
'e62f47b41f0c4f116007ca0e05e0a50b45446763ccfa91b946b9d451c83ff5b4')
|
||||||
|
|
|
@ -8,7 +8,7 @@ mqtt-port = 1884
|
||||||
mqtt-host = localhost
|
mqtt-host = localhost
|
||||||
|
|
||||||
relay-count = 10
|
relay-count = 10
|
||||||
database = /var/lib/emgauwa/controller/db.lmdb
|
database = /var/lib/emgauwa/controller/db.sqlite
|
||||||
log-level = debug
|
log-level = debug
|
||||||
log-file = /var/log/emgauwa/controller.log
|
log-file = /var/log/emgauwa/controller.log
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
|
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
|
||||||
pkgname=emgauwa-core-testing
|
pkgname=emgauwa-core-testing
|
||||||
pkgver=0.3.0
|
pkgver=0.3.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc=""
|
pkgdesc=""
|
||||||
|
@ -17,7 +17,7 @@ source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz"
|
||||||
"emgauwa-core-testing.service"
|
"emgauwa-core-testing.service"
|
||||||
"emgauwa-core-testing.sysusers"
|
"emgauwa-core-testing.sysusers"
|
||||||
"emgauwa-core-testing.tmpfiles")
|
"emgauwa-core-testing.tmpfiles")
|
||||||
sha256sums=('6fb8f24faf4dc60b83bcae88fa63b1a71888b954f6ac57729b86878e9f250f43'
|
sha256sums=('7fd169ce8223dddba8da572c5f6b23796d98a16c107fba16f44b2848ee6df398'
|
||||||
'210c8a05bae65e5f19c0c168b0f8c63d064706a9e7885a22a57ca7b04ea4e00f'
|
'210c8a05bae65e5f19c0c168b0f8c63d064706a9e7885a22a57ca7b04ea4e00f'
|
||||||
'c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec'
|
'c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec'
|
||||||
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
||||||
|
|
Reference in a new issue