software.cfg 2.31 KB
Newer Older
1
[buildout]
2 3
slaposcookbook_location = ${:parts-directory}/slaposcookbook

4 5 6 7 8
#develop = ${:slaposcookbook_location}

sources = sources
auto-checkout = cloudooo

9
extensions =
10 11
  slapos.tool.networkcache
  slapos.zcbworkarounds
12
  slapos.rebootstrap
13
  mr.developer
14

15 16 17 18
find-links =
    http://www.nexedi.org/static/packages/source/slapos.buildout/

extends =
19
  ../../component/git/buildout.cfg
20
  ../../component/mysql-5.1/buildout.cfg
21
  ../../component/dcron/buildout.cfg
22
  ../../component/logrotate/buildout.cfg
23
  ../../component/python-2.7/buildout.cfg
24

25 26 27 28 29 30
#mysql-tritonn-5.0
#mariadb
versions = versions

parts +=
# Create instance template
31
#TODO : list here all parts.
32
  template
33
  instance-recipe-egg
34 35 36 37 38 39

# XXX: Workaround of SlapOS limitation
# Unzippig of eggs is required, as SlapOS do not yet provide nicely working
# development / fast switching environment for whole software
unzip = true

40 41 42 43
[sources]
# Include information related to official cloudooo source code.
cloudooo = git http://git.erp5.org/repos/slapos.git branch=mysql

44
[rebootstrap]
45
# Default first version of rebootstrapped python
46 47
version = 2
section = python2.7
48

49 50 51
[slaposcookbook]
recipe = plone.recipe.command
git_param =--quiet -b mysql
52
git = ${git:location}/bin/git
53 54
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
55
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
56
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
57

58
[instance-recipe]
59 60 61 62
egg = slapos.cookbook
module = mysql

[instance-recipe-egg]
63 64 65 66 67 68 69
# 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
70
eggs = ${instance-recipe:egg}
71 72

[template]
73
# Default template for the instance.
74
recipe = slapos.recipe.template
75
url = ${:_profile_base_location_}/instance.cfg
76
#md5sum = 1b29b27aedcc7fa5f30f1053e8eab13f
77 78 79 80 81 82
output = ${buildout:directory}/template.cfg
mode = 0644

[versions]
# Required by:
# slapos.cookbook==0.1
83 84 85 86
collective.recipe.template = 1.8
slapos.slap = 1.2.dev-r4679
netaddr = 0.7.5
xml-marshaller = 0.9.7
87

88 89
zc.buildout=1.5.3-dev-SlapOS-002
setuptools = 0.6c12dev-r88795