Commit 6c21ddb9 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: overwrite post-notification-run in webrunner

parent 72110501
......@@ -14,7 +14,7 @@
# not need these here).
[template]
filename = instance.cfg
md5sum = bb2628810e873b4fd4b50937ef23645d
md5sum = f0cab61c7b8478afb8b676fc725d50d5
[template-runner]
filename = instance-runner.cfg
......@@ -26,7 +26,7 @@ md5sum = ed2e08c07a6727b2012f15da67c0705d
[instance-runner-import]
filename = instance-runner-import.cfg.in
md5sum = 7a879739afe55320ee96409bcc8a52ab
md5sum = d00ef43da5bc9345e3e2d75d7f1c44f8
[instance-runner-export]
filename = instance-runner-export.cfg.in
......
......@@ -185,3 +185,10 @@ configuration-file-path = ${buildout:directory}/knowledge0.cfg
[monitor-conf-parameters]
private-path-list +=
${directory:logrotate-backup}
[post-notification-run]
recipe = slapos.cookbook:wrapper
command-line = {{ software_release_bin }}/runner-importer-post-notification-run --diff-file ${:diff-file} --proof-signature-file ${:proof-signature-file} --srv-path ${directory:srv} --backup-path ${directory:backup}
wrapper-path = ${rootdirectory:bin}/post-notification-run
output = ${:wrapper-path}
mode = 0700
\ No newline at end of file
......@@ -71,6 +71,7 @@ mode = 640
context =
key template_runner_path instance-base-runner:rendered
key slapparameter_dict slap-configuration:configuration
raw software_release_bin ${buildout:bin-directory}
raw importer_script_path ${template-runner-import-script:location}/${template-runner-import-script:filename}
raw buildout_executable_location ${buildout:executable}
raw bash_executable_location ${bash:location}/bin/bash
......
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