MySQL : Going back to manual git clone

parent ca90fd5c
[buildout]
sources = sources
auto-checkout = mysql
slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook
develop =
${:slaposcookbook_recipe_location}
extensions =
slapos.tool.networkcache
slapos.zcbworkarounds
slapos.rebootstrap
mr.developer
find-links +=
http://www.nexedi.org/static/packages/source/slapos.buildout/
......@@ -48,6 +47,11 @@ egg = slapos.cookbook
module = mysql
[instance-recipe-egg]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg
#python = python2.6
eggs = ${instance-recipe:egg}
......@@ -60,6 +64,15 @@ url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
[slaposcookbook]
recipe = plone.recipe.command
git_param =--quiet -b mysql
git = ${git:location}/bin/git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[versions]
# Required by:
# slapos.cookbook==0.1
......
[buildout]
sources = sources
auto-checkout = mysql
slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook
develop =
${:slaposcookbook_recipe_location}
extensions =
slapos.tool.networkcache
slapos.zcbworkarounds
slapos.rebootstrap
mr.developer
find-links +=
http://www.nexedi.org/static/packages/source/slapos.buildout/
......@@ -48,6 +47,11 @@ egg = slapos.cookbook
module = mysql
[instance-recipe-egg]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg
#python = python2.6
eggs = ${instance-recipe:egg}
......@@ -60,6 +64,15 @@ url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
[slaposcookbook]
recipe = plone.recipe.command
git_param =--quiet -b mysql
git = ${git:location}/bin/git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[versions]
# Required by:
# slapos.cookbook==0.1
......
[buildout]
slaposcookbook_recipe_location = ${:parts-directory}/slaposcookbook
develop =
${:slaposcookbook_recipe_location}
extensions =
slapos.tool.networkcache
......
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