Skip to content
Snippets Groups Projects
Verified Commit 9404c0ef authored by Ana Aviles's avatar Ana Aviles Committed by Varac
Browse files

Comment out references to keycloak password on ci-bootstrap

parent 6d8fd1fb
No related branches found
No related tags found
No related merge requests found
......@@ -262,16 +262,16 @@ def write_behave_config(settings=None):
if settings is None:
with open(SETTINGS_FILE) as stream:
settings = yaml.safe_load(stream)
with open('./secrets/keycloak_admin_password', 'r') as stream:
keycloak_admin_password = yaml.safe_load(stream)
# with open('./secrets/keycloak_admin_password', 'r') as stream:
# keycloak_admin_password = yaml.safe_load(stream)
behave_config = configparser.ConfigParser()
behave_config['behave'] = {'stop': True}
behave_config['behave.userdata'] = {}
behave_config['behave.userdata']['keycloak.admin.url'] = \
'https://auth.{}/auth/admin/master/console/'.format(settings['domain'])
behave_config['behave.userdata']['keycloak.admin.username'] = 'keycloak'
behave_config['behave.userdata']['keycloak.admin.password'] = \
keycloak_admin_password
# behave_config['behave.userdata']['keycloak.admin.password'] = \
# keycloak_admin_password
with open('./behave/behave.ini', 'w') as configfile:
behave_config.write(configfile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment