Export SEBAVALUES for known projects 23/3623/4
authorCiprian Barbu <ciprian.barbu@enea.com>
Wed, 15 Jul 2020 23:18:03 +0000 (02:18 +0300)
committerCiprian Barbu <ciprian.barbu@enea.com>
Mon, 27 Jul 2020 09:11:26 +0000 (12:11 +0300)
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 <ciprian.barbu@enea.com>
Change-Id: Id7090a8b0dfc27318ee92bd95d701287120a22ef

src/use_cases/seba_on_arm/test/ponsim/install.sh

index e7a0d0a..9d31604 100755 (executable)
@@ -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"