diff options
author | Kubi <jean.gaoliang@huawei.com> | 2017-07-05 02:58:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-05 02:58:30 +0000 |
commit | e4f9020a21ed9508b177d9764e585bf7c88aa2c6 (patch) | |
tree | f1f2ee47d4de538c1c81cd87040ca17082b601cf /tests/ci | |
parent | ffe83c920736716f0caea36dceeff7b7e910db7c (diff) | |
parent | a2176af5514fc55ad8421635ad70ce4f26890ed6 (diff) |
Merge "Use "OS_INSECURE" variable as the insecure mode indicator"
Diffstat (limited to 'tests/ci')
-rwxr-xr-x | tests/ci/clean_images.sh | 2 | ||||
-rwxr-xr-x | tests/ci/load_images.sh | 2 |
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="" |