slaprunner: git repos should'n be always readable by anonymous
[slapos.git] / software / etherpad-lite / common.cfg
1 [buildout]
2
3 versions = versions
4
5 extends =
6   ../../stack/slapos.cfg
7   ../../component/gcc/buildout.cfg
8   ../../component/openssl/buildout.cfg
9   ../../component/curl/buildout.cfg
10   ../../component/dash/buildout.cfg
11   ../../component/dcron/buildout.cfg
12   ../../component/logrotate/buildout.cfg
13   ../../component/lxml-python/buildout.cfg
14   ../../component/python-2.7/buildout.cfg
15   ../../component/gzip/buildout.cfg
16   ../../component/git/buildout.cfg
17   ../../component/nodejs/buildout.cfg
18   ../../component/postgresql/buildout.cfg
19
20 parts =
21   postgresql
22   nodejs
23   etherpad-lite-repository
24   install-deps
25   template
26   lxml-python
27   eggs
28   instance-recipe-egg
29
30 unzip= true
31
32 [eggs]
33 recipe = zc.recipe.egg
34 eggs =
35
36 [instance-recipe]
37 egg = slapos.cookbook
38 module = etherpad-lite
39
40 [instance-recipe-egg]
41 recipe = zc.recipe.egg
42 eggs = ${instance-recipe:egg}
43
44 [etherpad-lite-repository]
45 recipe = slapos.recipe.build:gitclone
46 repository = http://github.com/ether/etherpad-lite.git
47 branch = develop
48 git-executable = ${git:location}/bin/git
49
50 [template]
51 # Default template for the instance.
52 recipe = slapos.recipe.template
53 url = ${:_profile_base_location_}/instance.cfg
54 md5sum = 7ab2a242df988bf5c10bf8002acac3bd
55 output = ${buildout:directory}/template.cfg
56 mode = 0644
57
58 [instance-etherpad-lite]
59 recipe = slapos.recipe.template
60 url = ${:_profile_base_location_}/instance-etherpad-lite.cfg
61 md5sum = fd7249be8988155110234c7bb877abb9
62 output = ${buildout:directory}/template-etherpad-lite.cfg
63 mode = 0644
64
65 [template-conf]
66 recipe = slapos.recipe.download
67 url = ${:_profile_base_location_}/templates/${:filename}
68 mode = 0644
69 filename = settings.json.in
70 md5sum = 19ab39e6b3256c82fd54ce074488b136
71 location = ${buildout:parts-directory}/${:_buildout_section_name_}
72
73 [template-run-script]
74 recipe = slapos.recipe.download
75 url = ${:_profile_base_location_}/templates/${:filename}
76 mode = 0644
77 filename = run.sh.in
78 md5sum = eac870b5f30e735e109a48913af2fae3
79 location = ${buildout:parts-directory}/${:_buildout_section_name_}
80
81 [template-deps-script]
82 recipe = slapos.recipe.template
83 url = ${:_profile_base_location_}/templates/${:filename}
84 etherpad-location = ${etherpad-lite-repository:location}
85 nodejs-location = ${nodejs:location}
86 curl-location = ${curl:location}
87 postgre-location = ${postgresql:location}
88 mode = 0755
89 md5sum = 53d0d53d419bd9ee592d3e1a1c84c758
90 filename = installDeps.sh.in
91 output = ${etherpad-lite-repository:location}/bin/installDeps.sh
92
93 [install-deps]
94 recipe = plone.recipe.command
95 command = ${template-deps-script:output}
96 update-command = command