Commit c3438854 authored by Łukasz Nowak's avatar Łukasz Nowak

Create playbook from slapos-package

parent f2635656
......@@ -3,9 +3,9 @@ extends = ../kvm/software.cfg
parts =
eggs
slapos-package
template-cdn-test
runTestSuite_py
playbook
[runTestSuite_py]
recipe = zc.recipe.egg
......@@ -13,6 +13,21 @@ eggs =
erp5.util
interpreter = ${:_buildout_section_name_}
[playbook]
recipe = plone.recipe.command
stop-on-error = true
environment = export PATH=${tar:location}/bin:${gzip:location}/bin:$PATH
location = ${buildout:parts-directory}/${:_buildout_section_name_}
output = ${:location}/playbook.tar.gz
command =
${:environment}
rm -fr ${:location}
mkdir -p ${:location}
cd ${slapos-package:location}/playbook
tar czf ${:output} .
update-command = ${:command}
[slapos-package]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/slapos.package.git
......
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