aboutsummaryrefslogtreecommitdiffstats
path: root/ci/prepare_env.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-04 11:47:40 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-05-04 14:35:07 +0200
commit6790e17eb7c1a3eaaccfe97ac90932e3c15eea6d (patch)
tree06697206e1323dd3acdce742a2e1e5d5bb4b232f /ci/prepare_env.py
parent7ad2ce42a2bc2c8dc17fbc9423da71a95fed4d87 (diff)
Refactor improvements
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'ci/prepare_env.py')
-rw-r--r--ci/prepare_env.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/prepare_env.py b/ci/prepare_env.py
index b462f9634..520db44ec 100644
--- a/ci/prepare_env.py
+++ b/ci/prepare_env.py
@@ -171,7 +171,7 @@ def source_rc_file():
logger.debug("Executing command: %s" % cmd)
p = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE)
output = p.communicate()[0]
- logger.debug(output)
+ logger.debug("\n%s" % output)
if p.returncode != 0:
logger.error("Failed to fetch credentials from installer.")
sys.exit(1)
@@ -268,7 +268,7 @@ def main():
sys.exit()
if args.action == "start":
- print ("\n######### Preparing Functest environment #########\n")
+ logger.info("\n######### Preparing Functest environment #########\n")
check_env_variables()
create_directories()
source_rc_file()