Commit 4d357a41 authored by Vincent Pelletier's avatar Vincent Pelletier

Provide and use run_directory instead of computing it.

parent 0cd300b9
......@@ -92,6 +92,7 @@ class Recipe(BaseSlapRecipe):
test_node_title=self.parameter_dict.get('test_node_title'),
project_title=self.parameter_dict.get('project_title'),
bin_directory=self.bin_directory,
run_directory=self.run_directory,
# botenvironemnt is splittable string of key=value to substitute
# environment of running bot
bot_environment=self.parameter_dict.get('bot_environment', ''),
......
......@@ -84,7 +84,7 @@ PROFILE_PATH_KEY = 'profile_path'
def run(args):
config = args[0]
slapgrid = None
supervisord_pid_file = os.path.join(config['instance_root'], 'var', 'run',
supervisord_pid_file = os.path.join(config['run_directory'],
'supervisord.pid')
subprocess.check_call([config['git_binary'],
"config", "--global", "http.sslVerify", "false"])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment