Merge "CI: Fix TLS upgrade test"

This commit is contained in:
Zuul 2020-02-26 11:21:59 +00:00 committed by Gerrit Code Review
commit e5844e49c0

View File

@ -10,7 +10,7 @@ export PYTHONUNBUFFERED=1
function upgrade {
RAW_INVENTORY=/etc/kolla/inventory
# generate self-signed certificates for the optional internal TLS tests
if [[ $SCENARIO == "tls" ]]; then
if [[ "$TLS_ENABLED" = "True" ]]; then
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv certificates > /tmp/logs/ansible/certificates
fi
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks &> /tmp/logs/ansible/upgrade-prechecks