Reflect restructuralization in build-all.sh

This commit is contained in:
Disassembler 2019-06-02 09:34:31 +02:00
parent 6e9e0dffe1
commit 1989b886f5
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 13 additions and 8 deletions

View File

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

View File

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