software.cfg 2 KB
Newer Older
1
[buildout]
2
extends = https://lab.nexedi.com/nexedi/slapos/raw/1.0.111/software/kvm/software.cfg
3

4 5 6 7
# PyPi servers from new host since some time and change is not incorporated in extended KVM SR
allow-hosts +=
  files.pythonhosted.org

8 9 10 11 12 13 14 15 16
parts =
  eggs
  template-deploy-test
  runTestSuite_py
  playbook

[runTestSuite_py]
recipe = zc.recipe.egg
eggs =
17
  erp5.util
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
interpreter = ${:_buildout_section_name_}

[python-with-eggs]
recipe = plone.recipe.command

location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command =
  rm -fr ${:location} &&
  mkdir -p ${:location} &&
  ln -s ${buildout:bin-directory}/pythonwitheggs ${:location}/python &&
  ln -s ${buildout:bin-directory}/pythonwitheggs ${:location}/python2.7
update-command = ${:command}

[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}

[test-location]
base = ${slapos-package:location}

[slapos-package]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/slapos.package.git
branch = cdn-test
git-executable = ${git:location}/bin/git

[template]
output = ${buildout:directory}/template-original.kvm.cfg

[deploy-script-controller-script]
filename = deploy-script-controller
location = ${:_profile_base_location_}/${:filename}
62
md5sum = f0f5dd379361eb37f84e0bc7639f645f
63 64 65 66 67 68 69 70 71 72 73 74
# configuration
waittime = 360
tries = 80

[standalone-local-playbook]
filename = standalone-local-playbook
location = ${:_profile_base_location_}/${:filename}

[template-deploy-test]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/template.cfg
75
md5sum = 616abb7fb4608321e11ade0a43b0ce4b
76 77 78
mode = 0644

[versions]
Rafael Monnerat's avatar
Rafael Monnerat committed
79
erp5.util = 0.4.51