X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Fuse_cases%2Fseba_on_arm%2Finstall%2Finstall.sh;h=7a9281baf95a7e82b04de47d197ee3ccbf9f6100;hb=ca97a83a42facfde1c43cbc4714e663d064256c8;hp=daf2223b40647b9ebe7bbfc15797b7d7047e53a5;hpb=86f779eb36059f19e59f5dd7e17ec028e9245154;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 deleted file mode 100755 index daf2223..0000000 --- a/src/use_cases/seba_on_arm/install/install.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -ex -# shellcheck disable=SC2016 - -#Modified from https://github.com/cachengo/seba_charts/blob/master/scripts/installSEBA.sh - -basepath=$(cd "$(dirname "$0")"; pwd) -CORD_REPO=${CORD_REPO:-https://charts.opencord.org} -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 - -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 - #git clone https://github.com/iecedge/seba_charts ${CORD_CHART} - cd ${basepath}/../src_repo && git submodule update --init seba_charts - fi -else - helm repo add cord "${CORD_REPO}" - helm repo update - CORD_CHART=cord -fi - - -# Install the CORD platform -helm install -n cord-platform ${CORD_CHART}/cord-platform --version="${CORD_PLATFORM_VERSION}" -# Wait until 3 etcd CRDs are present in Kubernetes -wait_for 300 'test $(kubectl get crd | grep -ice etcd) -eq 3' || true - -# Install the SEBA profile -helm install -n seba --version "${SEBA_VERSION}" ${CORD_CHART}/seba -wait_for 500 'test $(kubectl get pods | grep -vcE "(\s(.+)/\2.*Running|tosca-loader.*Completed)") -eq 1' || true - -# 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 - -# Install bbsim -export BBSIM_VERSION -#helm install -n bbsim --version ${BBSIM_VERSION} ${CORD_CHART}/bbsim diff --git a/src/use_cases/seba_on_arm/install/install.sh b/src/use_cases/seba_on_arm/install/install.sh new file mode 120000 index 0000000..7a9281b --- /dev/null +++ b/src/use_cases/seba_on_arm/install/install.sh @@ -0,0 +1 @@ +../test/ponsim/install.sh \ No newline at end of file