Commit 33d37dd1 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: gives access to resilient.log from the takeover web page

parent 2d89a14b
...@@ -76,7 +76,7 @@ mode = 0644 ...@@ -76,7 +76,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner-import.cfg.in url = ${:_profile_base_location_}/instance-runner-import.cfg.in
output = ${buildout:directory}/instance-runner-import.cfg output = ${buildout:directory}/instance-runner-import.cfg
md5sum = 0950285e9a579a47e501d98d7e79e0fa md5sum = e75257bb7590ae1f0c518d2c05ee634c
mode = 0644 mode = 0644
[template-runner-export-script] [template-runner-export-script]
...@@ -201,7 +201,7 @@ mode = 0644 ...@@ -201,7 +201,7 @@ mode = 0644
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
ignore-existing = true ignore-existing = true
download-only = true download-only = true
md5sum = 922498a301ab3defe412602f626e02ec md5sum = 2451072826a9ad9425d62c9e9c7f6284
url = ${:_profile_base_location_}/template/${:filename} url = ${:_profile_base_location_}/template/${:filename}
filename = resilient_software_release_information.py.in filename = resilient_software_release_information.py.in
mode = 0644 mode = 0644
......
...@@ -139,6 +139,7 @@ mode = 755 ...@@ -139,6 +139,7 @@ mode = 755
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${template-resilient-software-release-information:destination}/${template-resilient-software-release-information:filename} url = ${template-resilient-software-release-information:destination}/${template-resilient-software-release-information:filename}
output = $${directory:cgi-bin}/resilient_software_release_information.py output = $${directory:cgi-bin}/resilient_software_release_information.py
resilient-log-url = $${publish:monitor-base-url}/log/$${importer:resilient-log-basename}
mode = 0600 mode = 0600
[slap-parameter] [slap-parameter]
......
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
# takeover interface of the Resilient stack # takeover interface of the Resilient stack
def main(): def main():
return {} return {
\ No newline at end of file 'Read the log from the importer': '<a href="${:resilient-log-url}">${:resilient-log-url}</a>',
}
\ No newline at end of file
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