Runner: Merge development into master for release
[slapos.git] / software / unstable / thelia / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache-php
7   mariadb
8   eggs
9   instance-recipe-egg
10   downloadcache-workaround
11   
12 extends =
13   ../../stack/lamp.cfg
14
15 [application]
16 recipe = hexagonit.recipe.download
17 url = http://thelia.net/fichiers/thelia_1.5.1.zip
18 md5sum = 7be32154c75e450b39bdb4478658848b
19 #If provided tarball does not contain top directory, option shall be changed to false
20 strip-top-level-dir = true
21   
22 [instance-recipe]
23 egg = slapos.cookbook
24 module = lamp.simple
25
26 [template]
27 # Default template for the instance.
28 recipe = slapos.recipe.template
29 url = ${:_profile_base_location_}/instance.cfg
30 #md5sum = Student shall put md5 of instance.cfg here
31 output = ${buildout:directory}/template.cfg
32 mode = 0644
33
34 [instance-recipe-egg]
35 recipe = zc.recipe.egg
36 #eggs = ${instance-recipe:egg}
37 eggs =
38     ${mysql-python:egg}
39     ${instance-recipe:egg}
40     slapos.toolbox[lampconfigure]
41
42 [versions]
43 # Use SlapOS patched zc.buildout
44
45 [downloadcache-workaround]
46 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
47 # creates download cache, which in turn switches builout to "semi-offline" mode
48 recipe = plone.recipe.command
49 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
50 # to ${buildout:directory}/downloads but this variable is available late, that's
51 # why it is hardcoded only for required case
52 download-cache = ${buildout:directory}/downloads
53 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
54 update-command = ${:command}
55 stop-on-error = True