summaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorKubi <jean.gaoliang@huawei.com>2017-07-05 02:58:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-05 02:58:30 +0000
commite4f9020a21ed9508b177d9764e585bf7c88aa2c6 (patch)
treef1f2ee47d4de538c1c81cd87040ca17082b601cf /tests/ci
parentffe83c920736716f0caea36dceeff7b7e910db7c (diff)
parenta2176af5514fc55ad8421635ad70ce4f26890ed6 (diff)
Merge "Use "OS_INSECURE" variable as the insecure mode indicator"
Diffstat (limited to 'tests/ci')
-rwxr-xr-xtests/ci/clean_images.sh2
-rwxr-xr-xtests/ci/load_images.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci/clean_images.sh b/tests/ci/clean_images.sh
index 5cb0700df..832ade252 100755
--- a/tests/ci/clean_images.sh
+++ b/tests/ci/clean_images.sh
@@ -15,7 +15,7 @@ cleanup()
echo
echo "========== Cleanup =========="
- if [ $OS_CACERT ] && [ "$(echo $OS_CACERT | tr '[:upper:]' '[:lower:]')" = "false" ]; then
+ if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then
SECURE="--insecure"
else
SECURE=""
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index 8e0a2f68a..c2ae4fe7b 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -258,7 +258,7 @@ main()
RAW_IMAGE='/home/opnfv/images/yardstick-image.tar.gz'
fi
- if [ $OS_CACERT ] && [ "$(echo $OS_CACERT | tr '[:upper:]' '[:lower:]')" = "false" ]; then
+ if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then
SECURE="--insecure"
else
SECURE=""