software.cfg 1.9 KB
Newer Older
1
[buildout]
2 3 4
extends =
  buildout.hash.cfg
  https://lab.nexedi.com/nexedi/slapos/raw/1.0.112/software/kvm/software.cfg
5

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

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

[runTestSuite_py]
recipe = zc.recipe.egg
eggs =
19
  erp5.util
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 62 63 64 65 66 67 68 69 70 71 72
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]
location = ${:_profile_base_location_}/${:filename}
# configuration
waittime = 360
tries = 80

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

[template-deploy-test]
recipe = slapos.recipe.template
73
url = ${:_profile_base_location_}/${:filename}
74 75 76 77
output = ${buildout:directory}/template.cfg
mode = 0644

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