Fix seba_charts submodule update 81/581/2
authorCiprian Barbu <ciprian.barbu@enea.com>
Wed, 24 Apr 2019 15:35:03 +0000 (18:35 +0300)
committerCiprian Barbu <ciprian.barbu@enea.com>
Thu, 25 Apr 2019 12:20:40 +0000 (12:20 +0000)
The submodule needs to first be initialized before use, or simply use
the git submodule update --init

Change-Id: Ie0133cd0da05717d164984ec5a0b2962b2ef42f0
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
src/use_cases/seba_on_arm/install/install.sh

index cda8322..1208325 100755 (executable)
@@ -39,7 +39,7 @@ wait_for 10 'test $(kubectl get pods --all-namespaces | grep -ce "tiller.*Runnin
 if [ "$(uname -m)" == "aarch64" ]; then
   if [ ! -d ${CORD_CHART}/cord-platform ]; then
     #git clone https://github.com/iecedge/seba_charts ${CORD_CHART}
-    cd ${basepath}/../src_repo && git submodule update seba_charts
+    cd ${basepath}/../src_repo && git submodule update --init seba_charts
   fi
 else
   helm repo add cord "${CORD_REPO}"