Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
33d37dd1
Commit
33d37dd1
authored
Nov 08, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: gives access to resilient.log from the takeover web page
parent
2d89a14b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
software/slaprunner/common.cfg
software/slaprunner/common.cfg
+2
-2
software/slaprunner/instance-runner-import.cfg.in
software/slaprunner/instance-runner-import.cfg.in
+1
-0
software/slaprunner/template/resilient_software_release_information.py.in
...ner/template/resilient_software_release_information.py.in
+3
-1
No files found.
software/slaprunner/common.cfg
View file @
33d37dd1
...
@@ -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
...
...
software/slaprunner/instance-runner-import.cfg.in
View file @
33d37dd1
...
@@ -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]
...
...
software/slaprunner/template/resilient_software_release_information.py.in
View file @
33d37dd1
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment