Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-05-27 21:58:42 +0300
committernachoparker <nacho@ownyourbits.com>2018-05-27 22:12:55 +0300
commit5ea64fdc1209bbec1a3b99afa8105e7622f143d1 (patch)
tree8f20c29b2d0f02a29076f5bd6ce8d5c039077872 /batch.sh
parentf64df286d37fe483e9ced6c4578a7f68f452f34c (diff)
build: add bananapi build script
Diffstat (limited to 'batch.sh')
-rwxr-xr-xbatch.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/batch.sh b/batch.sh
index f548237a..b2a30290 100755
--- a/batch.sh
+++ b/batch.sh
@@ -8,16 +8,22 @@
# Usage: ./batch.sh <DHCP QEMU image IP>
#
-source buildlib.sh # initializes $IMGNAME
+set -e
-IP=$1 # First argument is the QEMU Raspbian IP address
+IP=${1:-192.168.0.145} # For QEMU automated testing
## BUILDING
+source buildlib.sh # initializes $IMGNAME
# Raspbian
-./build-SD.sh "$IP"
+./build-SD-rpi.sh "$IP"
-# docker x86
+# Armbian
+./build-SD-odroidHC2.sh
+./build-SD-rock64.sh
+./build-SD-bananapi.sh
+
+# Docker x86
docker pull debian:stretch-slim
make nextcloudplus-x86 && {
docker push ownyourbits/nextcloudplus-x86
@@ -26,7 +32,7 @@ make nextcloudplus-x86 && {
docker push ownyourbits/debian-ncp-x86
# keep old container updated, at least for a while
- docker tag ownyourbits/nextcloudplus-x86 ownyourbits/nextcloudpi-x86
+ docker tag ownyourbits/nextcloudplus-x86 ownyourbits/nextcloudpi-x86
docker push ownyourbits/nextcloudpi-x86
}
@@ -35,9 +41,6 @@ make nextcloudplus-x86 && {
./installer.sh docker-armhf/docker-env.sh "$IP" raspbian_lite.img # && mv
./installer.sh docker-armhf/build-container.sh "$IP" docker-armhf/raspbian_docker.img
-# armbian
-./build-SD-odroid.sh
-
# License
#
# This script is free software; you can redistribute it and/or modify it