IEC_DIR="/var/lib/akraino/iec"
KUBE_DIR="~${K8S_SSH_USER}/.kube"
UPSTREAM_PROJECT='rec'
+ # The REC cluster do not have a clone of the iec repo
+ IEC_REPO="https://gerrit.akraino.org/r/iec.git"
+ IEC_DIR="~${CLUSTER_SSH_USER}/iec"
+ IEC_CLONE_CMD="'if ! [ -d "$IEC_DIR" ];\
+ then\
+ mkdir -p $IEC_DIR;\
+ git clone $IEC_REPO $IEC_DIR;
+ fi'"
+ run_on_k8s_master ssh "${IEC_CLONE_CMD}"
;;
*)
echo "Cannot determine installer from ${JOB_NAME}"
export K8S_MASTER_IP UPSTREAM_PROJECT="${UPSTREAM_PROJECT:-${PROJECT}}"
+
case "${JOB_NAME}" in
*-install-seba_on_arm*)
- INSTALL_CMD="'cd ${IEC_DIR}/src/use_cases/seba_on_arm/install; ./install.sh ${UPSTREAM_PROJECT}'"
+ INSTALL_CMD="'cd ${IEC_DIR}/src/use_cases/seba_on_arm/install; K8S_MASTER_IP=${K8S_MASTER_IP} ./install.sh ${UPSTREAM_PROJECT}'"
run_on_k8s_master ssh "${INSTALL_CMD}"
;;
*-test-seba_on_arm*)