Commit bd269f8b authored by Jérome Perrin's avatar Jérome Perrin

stack/slapos: new slapos-toolbox section

This section installs slapos.toolbox eggs with dependencies and install
scripts
parent 9a0ca073
...@@ -6,16 +6,13 @@ extends = ...@@ -6,16 +6,13 @@ extends =
parts = parts =
slapos-cookbook slapos-cookbook
slapos-toolbox
nginx-push-stream-module nginx-push-stream-module
nginx-push-stream nginx-push-stream
template template
template-nginx-service template-nginx-service
template-nginx template-nginx
[slapos-cookbook]
eggs +=
slapos.toolbox
[template] [template]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in url = ${:_profile_base_location_}/instance.cfg.in
......
...@@ -150,7 +150,7 @@ eggs = ...@@ -150,7 +150,7 @@ eggs =
erp5.util erp5.util
lock-file lock-file
slapos.recipe.build slapos.recipe.build
slapos.toolbox[flask_auth] ${slapos-toolbox:egg}[flask_auth]
gunicorn gunicorn
# for gunicorn[gthread] # for gunicorn[gthread]
futures futures
......
...@@ -7,9 +7,9 @@ extends = ...@@ -7,9 +7,9 @@ extends =
../../component/dash/buildout.cfg ../../component/dash/buildout.cfg
../../component/openssl/buildout.cfg ../../component/openssl/buildout.cfg
../../component/lxml-python/buildout.cfg ../../component/lxml-python/buildout.cfg
../../component/pycurl/buildout.cfg
../../component/python-cryptography/buildout.cfg ../../component/python-cryptography/buildout.cfg
../../stack/logrotate/buildout.cfg ../../stack/logrotate/buildout.cfg
../../stack/slapos.cfg
parts = parts =
slapos-cookbook slapos-cookbook
...@@ -33,25 +33,14 @@ on-update = true ...@@ -33,25 +33,14 @@ on-update = true
recipe = zc.recipe.egg recipe = zc.recipe.egg
interpreter = monitor-pythonwitheggs interpreter = monitor-pythonwitheggs
eggs = eggs =
${lxml-python:egg}
${pycurl:egg}
${python-cryptography:egg}
plone.recipe.command plone.recipe.command
collective.recipe.template collective.recipe.template
cns.recipe.symlink cns.recipe.symlink
slapos.toolbox
slapos.core
psutil psutil
PyRSS2Gen PyRSS2Gen
Jinja2 Jinja2
scripts = depends =
monitor.bootstrap ${slapos-toolbox:recipe}
monitor.collect
monitor.statistic
monitor.runpromise
monitor.genstatus
monitor.configwrite
check-free-disk
# Monitor templates files # Monitor templates files
......
...@@ -30,6 +30,8 @@ extends = ...@@ -30,6 +30,8 @@ extends =
../component/python-cachecontrol/buildout.cfg ../component/python-cachecontrol/buildout.cfg
../component/python-cryptography/buildout.cfg ../component/python-cryptography/buildout.cfg
../component/python-PyYAML/buildout.cfg ../component/python-PyYAML/buildout.cfg
../component/pycurl/buildout.cfg
# Separate from site eggs # Separate from site eggs
allowed-eggs-from-site-packages = allowed-eggs-from-site-packages =
...@@ -98,6 +100,15 @@ eggs = ...@@ -98,6 +100,15 @@ eggs =
pyOpenSSL pyOpenSSL
slapos.cookbook slapos.cookbook
# slapos.toolbox containing utilities
[slapos-toolbox]
recipe = zc.recipe.egg
eggs =
${lxml-python:egg}
${pycurl:egg}
${python-cryptography:egg}
slapos.toolbox
# Install a slapos command with networkcache enabled in ${buildout:bin-directory} # Install a slapos command with networkcache enabled in ${buildout:bin-directory}
[slapos-command] [slapos-command]
recipe = zc.recipe.egg recipe = zc.recipe.egg
......
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