From b19f6c667231f40b3e3e389bc7249af42d092b1b Mon Sep 17 00:00:00 2001 From: jialv01 Date: Wed, 10 Apr 2019 11:38:48 +0800 Subject: [PATCH] Add Base-k8s repo as submodule and support arm64 1.forked SEBA componants`s repo to IEC repo,include: kubernetes-synchronizer, sadis-server, tosca-loader 2.Add patch files inorder to aarch64 docker image support src/use_cases/seba_on_arm/docker/build/kubernetes-synchronizer/build.arm src/use_cases/seba_on_arm/docker/build/sadis-server/build.arm src/use_cases/seba_on_arm/docker/build/tosca-loader/build.arm src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer src/use_cases/seba_on_arm/src_repo/sadis-server src/use_cases/seba_on_arm/src_repo/tosca-loader Change-Id: Ia8a4007183618e96540d05fdd1822913f4ed0c87 Signed-off-by: jialv01 --- .gitmodules | 11 +++++++++++ .../docker/build/kubernetes-synchronizer/build.arm | 10 ++++++++++ src/use_cases/seba_on_arm/docker/build/sadis-server/build.arm | 10 ++++++++++ src/use_cases/seba_on_arm/docker/build/tosca-loader/build.arm | 11 +++++++++++ src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer | 1 + src/use_cases/seba_on_arm/src_repo/sadis-server | 1 + src/use_cases/seba_on_arm/src_repo/tosca-loader | 1 + 7 files changed, 45 insertions(+) create mode 100755 src/use_cases/seba_on_arm/docker/build/kubernetes-synchronizer/build.arm create mode 100755 src/use_cases/seba_on_arm/docker/build/sadis-server/build.arm create mode 100755 src/use_cases/seba_on_arm/docker/build/tosca-loader/build.arm create mode 160000 src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer create mode 160000 src/use_cases/seba_on_arm/src_repo/sadis-server create mode 160000 src/use_cases/seba_on_arm/src_repo/tosca-loader diff --git a/.gitmodules b/.gitmodules index 4cfd792..b4f3f86 100644 --- a/.gitmodules +++ b/.gitmodules @@ -39,3 +39,14 @@ [submodule "xos-ws"] path = src/use_cases/seba_on_arm/src_repo/xos-ws url = https://github.com/iecedge/xos-rest-gw.git +[submodule "tosca-loader"] + path = src/use_cases/seba_on_arm/src_repo/tosca-loader + url = https://github.com/iecedge/xos-tosca.git + branch = 1.1.5 +[submodule "kubernetes-synchronizer"] + path = src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer + url = https://github.com/iecedge/cord-kubernetes-service.git + branch = 2.1.25 +[submodule "sadis-server"] + path = src/use_cases/seba_on_arm/src_repo/sadis-server + url = https://github.com/iecedge/sadis-server.git diff --git a/src/use_cases/seba_on_arm/docker/build/kubernetes-synchronizer/build.arm b/src/use_cases/seba_on_arm/docker/build/kubernetes-synchronizer/build.arm new file mode 100755 index 0000000..81a5cc0 --- /dev/null +++ b/src/use_cases/seba_on_arm/docker/build/kubernetes-synchronizer/build.arm @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# This script builds the kubernetes-synchronizer docker image +set -o errexit +set -o xtrace + +#cd $KUBERNETES-SYNCHRONIZER _PATH + +#building kubernetes-synchronizer docker image +docker build -t iecedge/kubernetes-synchronizer_arm64:1.1.3 -f Dockerfile.synchronizer . diff --git a/src/use_cases/seba_on_arm/docker/build/sadis-server/build.arm b/src/use_cases/seba_on_arm/docker/build/sadis-server/build.arm new file mode 100755 index 0000000..d148a07 --- /dev/null +++ b/src/use_cases/seba_on_arm/docker/build/sadis-server/build.arm @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# This script builds the sadis-server docker image +set -o errexit +set -o xtrace + +#cd $SADIS-SERVER_PATH + +#building sadis-server docker image +docker build -t iecedge/sadis-server_arm64:1.0.1 . diff --git a/src/use_cases/seba_on_arm/docker/build/tosca-loader/build.arm b/src/use_cases/seba_on_arm/docker/build/tosca-loader/build.arm new file mode 100755 index 0000000..314bb6b --- /dev/null +++ b/src/use_cases/seba_on_arm/docker/build/tosca-loader/build.arm @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# This script builds the tosca-loader docker image +set -o errexit +set -o xtrace + +#cd $TOSCA-LOADER_PATH + +#building tosca-loader docker image +cd loader/ +docker build -f Dockerfile.tosca-loader -t iecedge/tosca-loader_arm64:1.1.5 . diff --git a/src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer b/src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer new file mode 160000 index 0000000..ae8734f --- /dev/null +++ b/src/use_cases/seba_on_arm/src_repo/kubernetes-synchronizer @@ -0,0 +1 @@ +Subproject commit ae8734f79fa99cde901f73f849a90e78a3943530 diff --git a/src/use_cases/seba_on_arm/src_repo/sadis-server b/src/use_cases/seba_on_arm/src_repo/sadis-server new file mode 160000 index 0000000..988c04a --- /dev/null +++ b/src/use_cases/seba_on_arm/src_repo/sadis-server @@ -0,0 +1 @@ +Subproject commit 988c04a47d16a7ca4995722042759b37898c6684 diff --git a/src/use_cases/seba_on_arm/src_repo/tosca-loader b/src/use_cases/seba_on_arm/src_repo/tosca-loader new file mode 160000 index 0000000..45be57a --- /dev/null +++ b/src/use_cases/seba_on_arm/src_repo/tosca-loader @@ -0,0 +1 @@ +Subproject commit 45be57abaa422d7fbd93e79ec5e43b80838834b2 -- 2.16.6