Commit ec29d1f8 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

runner: isSoftwareReady now configure the proxy

parent 344018d7
...@@ -792,6 +792,7 @@ def isSoftwareReleaseReady(config): ...@@ -792,6 +792,7 @@ def isSoftwareReleaseReady(config):
if software_name[-1] == '/': if software_name[-1] == '/':
software_name = software_name[:-1] software_name = software_name[:-1]
software_name = software_name.split('/')[-1] software_name = software_name.split('/')[-1]
updateInstanceParameter(config)
config_SR_folder(config) config_SR_folder(config)
if os.path.exists(os.path.join(config['runner_workdir'], if os.path.exists(os.path.join(config['runner_workdir'],
'softwareLink', software_name, '.completed')): 'softwareLink', software_name, '.completed')):
...@@ -802,7 +803,6 @@ def isSoftwareReleaseReady(config): ...@@ -802,7 +803,6 @@ def isSoftwareReleaseReady(config):
if isSoftwareRunning(config): if isSoftwareRunning(config):
return "2" return "2"
elif config['auto_deploy'] in TRUE_VALUES: elif config['auto_deploy'] in TRUE_VALUES:
configNewSR(config, path)
runSoftwareWithLock(config) runSoftwareWithLock(config)
config_SR_folder(config) config_SR_folder(config)
time.sleep(15) time.sleep(15)
......
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