Code Review
/
iec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[seba] Fix compat with older git client"
[iec.git]
/
src
/
use_cases
/
seba_on_arm
/
install
/
install.sh
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
(executable)
--- 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
# 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'
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
# 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}
#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}"
fi
else
helm repo add cord "${CORD_REPO}"