From e12a5ef7fa61256acdc2d44df637bdb3aee370f3 Mon Sep 17 00:00:00 2001
From: Petr Ospalý
Date: Wed, 11 Sep 2019 17:03:03 +0200
Subject: Add support for HTTPS in SDC sanity/uiSanity tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
New variable: SDC_TEST_HTTPS
Adjusted robot test too and fixed bad naming there - it was not
the SDC BE container but SDC FE.
For this change to work the upstream change in SDC has to be merged
too - or use this only with a local repo and with some proper setup.
+ Added quotes around shell variables
Issue-ID: SDC-2564
Signed-off-by: Petr Ospalý
Change-Id: I3db9f2e1c22a539df3b6c356bd91f67f0328cbd7
Signed-off-by: Petr Ospalý
---
plans/sdc/uiSanity/setup.sh | 3 +++
1 file changed, 3 insertions(+)
(limited to 'plans/sdc/uiSanity/setup.sh')
diff --git a/plans/sdc/uiSanity/setup.sh b/plans/sdc/uiSanity/setup.sh
index b02cd7be..bfb9a153 100644
--- a/plans/sdc/uiSanity/setup.sh
+++ b/plans/sdc/uiSanity/setup.sh
@@ -15,6 +15,9 @@
# limitations under the License.
#
+# It can enable HTTPS for SDC uiSanity tests
+export SDC_TEST_HTTPS="${SDC_TEST_HTTPS:-false}"
+
# By default all images are from remote upstream registry, this option
# provides the chance to test locally built images
export SDC_LOCAL_IMAGES="${SDC_LOCAL_IMAGES:-false}"
--
cgit 1.2.3-korg