Commit 26775105 authored by Lu Xu's avatar Lu Xu 👀

WIP

parent 3df8c8bc
......@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum = 1ad346cbc34cfb09f8827d4d0358ada9
md5sum = 5c64d566e6c6bfccfc3c43c38dc8e664
[amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py
......
......@@ -234,27 +234,9 @@ context =
import json_module json
key slave_instance_list slap-configuration:configuration.slave-list
[gadget-template-base]
recipe = slapos.recipe.template:jinja2
output = /srv/slapgrid/slappart16/srv/monitor/public/gadget/$${:filename}
content =
raw $${:filename} ${$${:filename}:target}
[promise-gadget-js]
< = gadget-template-base
filename = promise.gadget.js
[software-cfg-html]
< = gadget-template-base
filename = software.cfg.html
[promise-gadget-js]
< = gadget-template-base
filename = promise.gadget.js
[renderjs-js]
< = gadget-template-base
filename = renderjs.js
[rsvp-js]
< = gadget-template-base
filename = rsvp.js
[g-chart-line-js]
< = gadget-template-base
filename = g-chart.line.js
[copy-gadget-to-monitor]
recipe = slapos.recipe.build
source = ${gadget-directory:location}
location = $${monitor-directory:gadget}/ors-gadget
install =
self.copyTree(options['source'], location)
\ 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