diff --git a/horizon/Chart.yaml b/horizon/Chart.yaml index 37f6f7104e..6158b8a87d 100644 --- a/horizon/Chart.yaml +++ b/horizon/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Horizon name: horizon -version: 0.2.0 +version: 0.2.1 home: https://docs.openstack.org/horizon/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png sources: diff --git a/horizon/templates/bin/_selenium-test.py.tpl b/horizon/templates/bin/_selenium-test.py.tpl index a14733588a..14cae8adfc 100644 --- a/horizon/templates/bin/_selenium-test.py.tpl +++ b/horizon/templates/bin/_selenium-test.py.tpl @@ -17,6 +17,7 @@ limitations under the License. import os import sys import logging + from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait @@ -37,6 +38,7 @@ formatter = logging.Formatter( ch.setFormatter(formatter) logger.addHandler(ch) + def get_variable(env_var): if env_var in os.environ: logger.info('Found "{}"'.format(env_var)) @@ -45,6 +47,7 @@ def get_variable(env_var): logger.critical('Variable "{}" is not defined!'.format(env_var)) sys.exit(1) + keystone_user = get_variable('OS_USERNAME') keystone_password = get_variable('OS_PASSWORD') horizon_uri = get_variable('HORIZON_URI') diff --git a/releasenotes/notes/horizon.yaml b/releasenotes/notes/horizon.yaml index acc15bba43..ff0464c9a6 100644 --- a/releasenotes/notes/horizon.yaml +++ b/releasenotes/notes/horizon.yaml @@ -10,4 +10,5 @@ horizon: - 0.1.7 Update glance default policy values - 0.1.8 Implement "CSRF_COOKIE_HTTPONLY" option support in horizon - 0.2.0 Remove support for releases before T + - 0.2.1 Make python script PEP8 compliant ...