Reflect restructuralization in build-all.sh

This commit is contained in:
Disassembler 2019-06-02 09:34:31 +02:00
parent 6e9e0dffe1
commit 1989b886f5
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 13 additions and 8 deletions

View File

@ -1,24 +1,24 @@
#!/bin/sh
set -ev
cd $(realpath $(dirname "${0}"))
ROOT=$(dirname $(dirname $(realpath "${0}")))
# Build documentation
cd ../_doc
cd ${ROOT}/_doc
make html
# Build basic.tar
cd ../_vm
cd ${ROOT}/_vm
tar cpf /srv/build/_vm.tar *
# Build native apps
cd ../acme-sh
cd ${ROOT}/apk/acme-sh
abuild -F
cd ../vmmgr
cd ${ROOT}/apk/vmmgr
abuild -F
cd ..
# Build runtimes
# Build apd pack runtimes
cd ${ROOT}/lxc-shared
lxc-build alpine3.8
lxc-build alpine3.8-php5.6
lxc-build alpine3.8-nodejs8
@ -34,6 +34,7 @@ lxc-build alpine3.9-tomcat7
lxc-build alpine3.9-tomcat8.5
# Build services
cd ${ROOT}/lxc-services
lxc-build activemq
lxc-build mariadb
lxc-build postgres
@ -42,6 +43,7 @@ lxc-build redis
lxc-build solr
# Build applications
cd ${ROOT}/lxc-apps
lxc-build ckan-datapusher
lxc-build ckan
lxc-build crisiscleanup
@ -66,6 +68,7 @@ lxc-build sigmah
lxc-build ushahidi
# Pack runtimes
cd ${ROOT}/lxc-shared
lxc-pack alpine3.8
lxc-pack alpine3.8-php5.6
lxc-pack alpine3.8-nodejs8
@ -81,6 +84,7 @@ lxc-pack alpine3.9-tomcat7
lxc-pack alpine3.9-tomcat8.5
# Pack services
cd ${ROOT}/lxc-services
lxc-pack activemq
lxc-pack mariadb
lxc-pack postgres
@ -89,6 +93,7 @@ lxc-pack redis
lxc-pack solr
# Pack applications
cd ${ROOT}/lxc-apps
lxc-pack ckan-datapusher
lxc-pack ckan
lxc-pack crisiscleanup

View File

@ -14,7 +14,7 @@ SRCDEST=/var/cache/distfiles
# uncomment line below to store built packages in other location
# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
# where $repo is the name of the parent directory of $startdir.
REPODEST=/srv/build/packages/
REPODEST=/srv/build
# PACKAGER and MAINTAINER are used by newapkbuild when creating new aports for
# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.