summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-11-21 02:23:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-21 02:23:05 +0000
commitf3829d1e468ea7ff05c1aa7b447d9e5bbd0e048f (patch)
treea8cffcb7ed35d622182e021be2ceef00c67218fb
parent1af45fbc194814201a067fa040f37c3bc0f84b9c (diff)
parent0ea4055e4e5b7569e4a477aa86c460f4337707ba (diff)
Merge "build: support aarch64 deployment images"
-rwxr-xr-xbuild.sh7
-rw-r--r--build/build-aarch64.yaml41
2 files changed, 47 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 103bbb8f..e70c25a7 100755
--- a/build.sh
+++ b/build.sh
@@ -85,7 +85,12 @@ function prepare_env()
function download_packages()
{
- python $COMPASS_PATH/build/parser.py $COMPASS_PATH/build/build.yaml
+ build_yaml_file=build.yaml
+ if [ -f "$COMPASS_PATH/build/build-$COMPASS_ARCH.yaml" ]; then
+ build_yaml_file=build-$COMPASS_ARCH.yaml
+ fi
+
+ python $COMPASS_PATH/build/parser.py $COMPASS_PATH/build/$build_yaml_file
}
function build_tar()
diff --git a/build/build-aarch64.yaml b/build/build-aarch64.yaml
new file mode 100644
index 00000000..47bd0eb1
--- /dev/null
+++ b/build/build-aarch64.yaml
@@ -0,0 +1,41 @@
+---
+packages:
+ - name: CentOS-7-aarch64-Minimal-1611.iso
+ description: "Centos ISO of each host for provisioning"
+ get_method: cached
+ url: $COMPASS_ISO_REPO/CentOS-7-aarch64-Minimal-1611.iso
+
+ - name: ubuntu-16.04-server-arm64.iso
+ description: "Ubuntu ISO of each host for provisioning"
+ get_method: cached
+ url: $COMPASS_ISO_REPO/ubuntu-16.04-server-arm64.iso
+
+ - name: compass-deck
+ description: "RESTful API and DB Handlers for Compass"
+ get_method: docker
+ url: $COMPASS_DOCKER_REPO/compass-deck:latest
+
+ - name: compass-tasks-k8s
+ description: "compass task container for kubernets deployment via kargo"
+ get_method: docker
+ url: $COMPASS_DOCKER_REPO/compass-tasks-k8s:latest
+
+ - name: compass-cobbler
+ description: "cobbler container for compass"
+ get_method: docker
+ url: $COMPASS_DOCKER_REPO/compass-cobbler:latest
+
+ - name: compass-db
+ description: "datebase container for compass"
+ get_method: docker
+ url: $COMPASS_DOCKER_REPO/compass-db:latest
+
+ - name: compass-mq
+ description: "message queue container for compass"
+ get_method: docker
+ url: $COMPASS_DOCKER_REPO/compass-mq:latest
+
+ - name: compass-docker-compose
+ description: "containerized compass compose ansible"
+ get_method: git
+ url: $COMPASS_GIT_REPO/compass-docker-compose