From: Ciprian Barbu Date: Wed, 15 Jul 2020 23:18:03 +0000 (+0300) Subject: Export SEBAVALUES for known projects X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=f2feb61b3cbb690e475cee8731a3e08102965cf3;p=iec.git Export SEBAVALUES for known projects This helps automation-tools/seba-in-a-box configure the helm-charts accordingly to the environment where it is running. For the known projects iec and rec, the difference is primarily the underlying default cni, calico and flannel respectively Signed-off-by: Ciprian Barbu Change-Id: Id7090a8b0dfc27318ee92bd95d701287120a22ef --- diff --git a/src/use_cases/seba_on_arm/test/ponsim/install.sh b/src/use_cases/seba_on_arm/test/ponsim/install.sh index e7a0d0a..9d31604 100755 --- a/src/use_cases/seba_on_arm/test/ponsim/install.sh +++ b/src/use_cases/seba_on_arm/test/ponsim/install.sh @@ -16,9 +16,11 @@ if [ "$#" -gt 0 ]; then UPSTREAM_PROJECT="$1"; fi case "${UPSTREAM_PROJECT}" in "iec") HELM_CHARTS_REV="${HELM_CHARTS_REV_IEC}" + SEBAVALUES="configs/seba-ponsim-iec-arm64.yaml" ;; "rec") HELM_CHARTS_REV="${HELM_CHARTS_REV_REC}" + SEBAVALUES="configs/seba-ponsim-rec-arm64.yaml" ;; *) echo "Invalid upstream project ${UPSTREAM_PROJECT}" @@ -28,9 +30,9 @@ case "${UPSTREAM_PROJECT}" in esac export M="/tmp/milestones" -export SEBAVALUE= export WORKSPACE="${HOME}" export HELM_CHARTS_REV +export SEBAVALUES # Using opencord automation-tools from the cord-6.1 maintenance branch AUTO_TOOLS="${WORKSPACE}/automation-tools"