Commit 7e048948 authored by Alain Takoudjou's avatar Alain Takoudjou

Add local development for redis server

parent e03789b2
[buildout]
# Local development
develop =
${:parts-directory}/slapos.cookbook-repository
parts =
slapos-cookbook
......@@ -8,6 +11,7 @@ parts =
extends =
../../component/redis/buildout.cfg
../../component/git/buildout.cfg
../../stack/slapos.cfg
[template]
......@@ -22,4 +26,20 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-redis.cfg
output = ${buildout:directory}/template-redis.cfg
mode = 0644
md5sum = cadef83b41f95d28ffdfca8801cdc28d
\ No newline at end of file
md5sum = cadef83b41f95d28ffdfca8801cdc28d
# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = grid-computing
revision =
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
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