Commit d8800c0b by Cédric Le Ninivin

monitor: Download statics files from snapshot

1 parent 0a052f31
......@@ -10,7 +10,6 @@ extends =
parts =
slapos-cookbook
dcron
download-static-files
monitor-eggs
extra-eggs
monitor-bin
......@@ -115,11 +114,12 @@ output = $${directory:services}/crond
mode = 0700
logfile = $${directory:log}/crond.log
[download-static-files]
[download-monitor-static]
recipe = hexagonit.recipe.download
url = https://github.com/SlapOS/staticForMonitoring/blob/8b7050faa2dd22592766e25b66b9efe0d0b216c9/static-files.tar.gz?raw=true
url = http://git.erp5.org/gitweb/slapos.git/snapshot/6f44080d0edacdeee9eed59887957c6834d09775.tar.gz
#url = https://github.com/SlapOS/staticForMonitoring/blob/8b7050faa2dd22592766e25b66b9efe0d0b216c9/static-files.tar.gz?raw=true
download-only = true
md5sum = 05030ff31dc75c2b96559dedc70945f5
filename = static-files.tar.gz
#md5sum = 05030ff31dc75c2b96559dedc70945f5
filename = monitor-static.tar.gz
destination = ${buildout:directory}/parts/monitor-static-files
mode = 0644
......@@ -88,10 +88,11 @@ command = $${make-rss:rendered}
[setup-static-files]
recipe = hexagonit.recipe.download
url = ${download-static-files:destination}/${download-static-files:filename}
url = ${download-monitor-static:destination}/${download-monitor-static:filename}
filename = static
destination = $${monitor-directory:www}
ignore-existing = true
strip-top-level-dir = true
mode = 0644
[deploy-index]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!