[buildout] # Local development develop = ${:parts-directory}/slapos.cookbook-repository parts = slapos-cookbook redis template template-redis slapos.cookbook-repository check-recipe extends = ../../component/redis/buildout.cfg ../../component/git/buildout.cfg ../../stack/slapos.cfg [template] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance.cfg output = ${buildout:directory}/template.cfg mode = 0644 md5sum = 5d2008c96a569c3ce498ddc0933afea3 [template-redis] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance-redis.cfg output = ${buildout:directory}/template-redis.cfg mode = 0644 md5sum = 438ef8177854f78055218413d468b065 # 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