aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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