CORD_PLATFORM_VERSION=${CORD_PLATFORM_VERSION:-6.1.0}
SEBA_VERSION=${SEBA_VERSION:-1.0.0}
ATT_WORKFLOW_VERSION=${ATT_WORKFLOW_VERSION:-1.0.2}
-BBSIM_VERSION=${SEBA_VERSION:-1.0.0}
-
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'
# 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}"
# Install the AT&T workflow
helm install -n att-workflow --version "${ATT_WORKFLOW_VERSION}" ${CORD_CHART}/att-workflow
-wait_for 300 'test $(kubectl get pods | grep -vcE "(\s(.+)/\2.*Running|tosca-loader.*Completed)") -eq 1' || true
+wait_for 500 'test $(kubectl get pods | grep -vcE "(\s(.+)/\2.*Running|tosca-loader.*Completed)") -eq 1' || true
-# Install bbsim
-export BBSIM_VERSION
-#helm install -n bbsim --version ${BBSIM_VERSION} ${CORD_CHART}/bbsim