Commit 523eba29 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Cédric de Saint Martin

Develop slapos.toolbox directly from git.

parent 6ec741bf
...@@ -2,16 +2,20 @@ ...@@ -2,16 +2,20 @@
extends = extends =
../../component/python-2.7/buildout.cfg ../../component/python-2.7/buildout.cfg
../../component/lxml-python/buildout.cfg ../../component/lxml-python/buildout.cfg
../../component/git/buildout.cfg
../../stack/slapos.cfg ../../stack/slapos.cfg
develop = develop =
${:parts-directory}/slapos.cookbook-repository ${:parts-directory}/slapos.cookbook-repository
${:parts-directory}/slapos.toolbox-repository
parts = parts =
template template
template-agent template-agent
slapos.cookbook-repository slapos.cookbook-repository
check-recipe check-recipe
slapos.toolbox-repository
check-recipe-toolbox
eggs eggs
instance-recipe-egg instance-recipe-egg
python2.7 python2.7
...@@ -32,6 +36,20 @@ stop-on-error = true ...@@ -32,6 +36,20 @@ stop-on-error = true
update-command = ${:command} update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
[slapos.toolbox-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = agent
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = ${git:location}/bin/git clone --branch ${:branch} --quiet http://git.erp5.org/repos/slapos.toolbox.git ${:location}
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[check-recipe-toolbox]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.toolbox.egg-link
[instance-recipe] [instance-recipe]
egg = slapos.cookbook egg = slapos.cookbook
module = agent module = agent
......
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