Commit d8800c0b authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

monitor: Download statics files from snapshot

parent 0a052f31
...@@ -10,7 +10,6 @@ extends = ...@@ -10,7 +10,6 @@ extends =
parts = parts =
slapos-cookbook slapos-cookbook
dcron dcron
download-static-files
monitor-eggs monitor-eggs
extra-eggs extra-eggs
monitor-bin monitor-bin
...@@ -115,11 +114,12 @@ output = $${directory:services}/crond ...@@ -115,11 +114,12 @@ output = $${directory:services}/crond
mode = 0700 mode = 0700
logfile = $${directory:log}/crond.log logfile = $${directory:log}/crond.log
[download-static-files] [download-monitor-static]
recipe = hexagonit.recipe.download 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 download-only = true
md5sum = 05030ff31dc75c2b96559dedc70945f5 #md5sum = 05030ff31dc75c2b96559dedc70945f5
filename = static-files.tar.gz filename = monitor-static.tar.gz
destination = ${buildout:directory}/parts/monitor-static-files destination = ${buildout:directory}/parts/monitor-static-files
mode = 0644 mode = 0644
...@@ -88,10 +88,11 @@ command = $${make-rss:rendered} ...@@ -88,10 +88,11 @@ command = $${make-rss:rendered}
[setup-static-files] [setup-static-files]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${download-static-files:destination}/${download-static-files:filename} url = ${download-monitor-static:destination}/${download-monitor-static:filename}
filename = static filename = static
destination = $${monitor-directory:www} destination = $${monitor-directory:www}
ignore-existing = true ignore-existing = true
strip-top-level-dir = true
mode = 0644 mode = 0644
[deploy-index] [deploy-index]
......
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