2019-02-26 20:24:02 +01:00
|
|
|
#!/bin/sh
|
|
|
|
set -ev
|
|
|
|
|
2019-06-02 09:34:31 +02:00
|
|
|
ROOT=$(dirname $(dirname $(realpath "${0}")))
|
2019-02-26 20:24:02 +01:00
|
|
|
|
2019-03-19 14:04:13 +01:00
|
|
|
# Build documentation
|
2019-06-05 13:19:22 +02:00
|
|
|
cd ${ROOT}/doc
|
2019-03-19 14:04:13 +01:00
|
|
|
make html
|
|
|
|
|
2019-11-17 15:24:26 +01:00
|
|
|
# Build basic tar
|
2019-06-05 13:19:22 +02:00
|
|
|
cd ${ROOT}/vm
|
2020-03-13 00:19:00 +01:00
|
|
|
tar czpf /srv/build/vm.tar.gz *
|
2019-02-26 20:24:02 +01:00
|
|
|
|
|
|
|
# Build native apps
|
2020-10-12 21:36:39 +02:00
|
|
|
cd ${ROOT}/apk/py3-secure-cookie
|
|
|
|
apk add -U py3-setuptools py3-pytest py3-werkzeug
|
|
|
|
abuild -F
|
|
|
|
|
2020-03-13 20:05:46 +01:00
|
|
|
cd ${ROOT}/apk/spoc
|
2019-06-02 09:51:21 +02:00
|
|
|
abuild -F
|
|
|
|
|
2019-06-02 09:34:31 +02:00
|
|
|
cd ${ROOT}/apk/vmmgr
|
2019-02-26 20:24:02 +01:00
|
|
|
abuild -F
|
|
|
|
|
2020-03-12 22:56:40 +01:00
|
|
|
# Build runtimes
|
2019-06-02 09:34:31 +02:00
|
|
|
cd ${ROOT}/lxc-shared
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-image build -p alpine3.8/image
|
2020-04-04 00:17:24 +02:00
|
|
|
spoc-image build -p alpine3.8-java8/image
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-image build -p alpine3.8-ruby2.4/image
|
2020-03-13 21:12:16 +01:00
|
|
|
spoc-image build -p alpine3.10/image
|
2020-04-04 00:17:24 +02:00
|
|
|
spoc-image build -p alpine3.10-nodejs10/image
|
2020-03-13 13:22:47 +01:00
|
|
|
spoc-image build -p alpine3.11/image
|
|
|
|
spoc-image build -p alpine3.11-python2.7/image
|
2020-10-13 21:13:53 +02:00
|
|
|
spoc-image build -p alpine3.12/image
|
2020-10-22 20:53:40 +02:00
|
|
|
spoc-image build -p alpine3.12-java8/image
|
|
|
|
spoc-image build -p alpine3.12-php7.3/image
|
|
|
|
spoc-image build -p alpine3.12-python3.8/image
|
|
|
|
spoc-image build -p alpine3.12-ruby2.4/image
|
2020-11-21 09:25:40 +01:00
|
|
|
spoc-image build -p alpine3.12-ruby2.7/image
|
2020-10-22 20:53:40 +02:00
|
|
|
spoc-image build -p alpine3.12-tomcat7/image
|
|
|
|
spoc-image build -p alpine3.12-tomcat8.5/image
|
2019-02-26 20:24:02 +01:00
|
|
|
|
|
|
|
# Build services
|
2019-06-02 09:34:31 +02:00
|
|
|
cd ${ROOT}/lxc-services
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-image build -p activemq/image
|
|
|
|
spoc-image build -p mariadb/image
|
|
|
|
spoc-image build -p postgres/image
|
|
|
|
spoc-image build -p postgis/image
|
|
|
|
spoc-image build -p rabbitmq/image
|
|
|
|
spoc-image build -p redis/image
|
|
|
|
spoc-image build -p solr6/image
|
2019-02-26 20:24:02 +01:00
|
|
|
|
|
|
|
# Build applications
|
2019-06-02 09:34:31 +02:00
|
|
|
cd ${ROOT}/lxc-apps
|
2020-03-12 22:56:40 +01:00
|
|
|
|
2020-03-13 17:36:50 +01:00
|
|
|
spoc-image build -p ckan/ckan.image
|
|
|
|
spoc-image build -p ckan/ckan-datapusher.image
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-app publish ckan/app
|
|
|
|
|
|
|
|
spoc-image build -p crisiscleanup/image
|
|
|
|
spoc-app publish crisiscleanup/app
|
|
|
|
|
|
|
|
spoc-image build -p cts/image
|
|
|
|
spoc-app publish cts/app
|
|
|
|
|
2020-11-21 09:25:40 +01:00
|
|
|
spoc-image build -p decidim/decidim-nginx.image
|
|
|
|
spoc-image build -p decidim/decidim.image
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-app publish decidim/app
|
|
|
|
|
2020-11-09 07:45:55 +01:00
|
|
|
spoc-image build -p dhis2/image
|
|
|
|
spoc-app publish dhis2/app
|
|
|
|
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-image build -p frontlinesms/image
|
|
|
|
spoc-app publish frontlinesms/app
|
|
|
|
|
|
|
|
spoc-image build -p gnuhealth/image
|
|
|
|
spoc-app publish gnuhealth/app
|
|
|
|
|
|
|
|
spoc-image build -p kanboard/image
|
|
|
|
spoc-app publish kanboard/app
|
|
|
|
|
|
|
|
spoc-image build -p mifosx/image
|
|
|
|
spoc-app publish mifosx/app
|
|
|
|
|
|
|
|
spoc-image build -p motech/image
|
|
|
|
spoc-app publish motech/app
|
|
|
|
|
|
|
|
spoc-image build -p odoo/image
|
|
|
|
spoc-app publish odoo/app
|
|
|
|
|
2020-04-04 00:17:24 +02:00
|
|
|
spoc-image build -p opendatakit/opendatakit.image
|
|
|
|
spoc-image build -p opendatakit/opendatakit-build.image
|
2020-03-12 22:56:40 +01:00
|
|
|
spoc-app publish opendatakit/app
|
|
|
|
|
|
|
|
spoc-image build -p openmapkit/image
|
|
|
|
spoc-app publish openmapkit/app
|
|
|
|
|
|
|
|
spoc-image build -p pandora/image
|
|
|
|
spoc-app publish pandora/app
|
|
|
|
|
|
|
|
spoc-image build -p sahana/image
|
|
|
|
spoc-app publish sahana/app
|
|
|
|
spoc-app publish sahana-demo/app
|
|
|
|
spoc-app publish sambro/app
|
2020-04-14 14:18:01 +02:00
|
|
|
spoc-app publish safire/app
|
|
|
|
spoc-app publish share/app
|
2020-03-12 22:56:40 +01:00
|
|
|
|
|
|
|
spoc-image build -p seeddms/image
|
|
|
|
spoc-app publish seeddms/app
|
|
|
|
|
|
|
|
spoc-image build -p ushahidi/image
|
|
|
|
spoc-app publish ushahidi/app
|