X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Fuse_cases%2Fseba_on_arm%2Finstall%2Finstall.sh;fp=src%2Fuse_cases%2Fseba_on_arm%2Finstall%2Finstall.sh;h=b28d492accc9cf88b5a61c9d2320cc7d6b864da3;hb=198720e083d4343999f97763370afcec083f7976;hp=eb9fbc11775945a1902f12de73e2a6ac32d52180;hpb=c7c2e17cc7acadf458cda48c2c81e2f778c6c778;p=iec.git diff --git a/src/use_cases/seba_on_arm/install/install.sh b/src/use_cases/seba_on_arm/install/install.sh index eb9fbc1..b28d492 100755 --- a/src/use_cases/seba_on_arm/install/install.sh +++ b/src/use_cases/seba_on_arm/install/install.sh @@ -12,6 +12,7 @@ CORD_CHART=${CORD_CHART:-${basepath}/../src_repo/seba_charts} # TODO(alav): Make each step re-entrant +# shellcheck source=/dev/null source util.sh wait_for 10 'test $(kubectl get pods --all-namespaces | grep -ce "tiller.*Running") -eq 1' @@ -19,9 +20,11 @@ wait_for 10 'test $(kubectl get pods --all-namespaces | grep -ce "tiller.*Runnin # Add the CORD repository and update indexes if [ "$(uname -m)" == "aarch64" ]; then - if [ ! -d ${CORD_CHART}/cord-platform ]; 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 --init seba_charts + cd "$(git rev-parse --show-toplevel)" + git submodule update --init "${CORD_CHART}" + cd "${basepath}/../src_repo" fi else helm repo add cord "${CORD_REPO}"