9 eggs-directory = ${buildout:eggs-directory}
10 develop-eggs-directory = ${buildout:develop-eggs-directory}
14 recipe = slapos.cookbook:slapconfiguration
15 computer = $${slap-connection:computer-id}
16 partition = $${slap-connection:partition-id}
17 url = $${slap-connection:server-url}
18 key = $${slap-connection:key-file}
19 cert = $${slap-connection:cert-file}
22 recipe = slapos.cookbook:mkdirectory
23 bin = $${buildout:directory}/bin
24 etc = $${buildout:directory}/etc
25 services = $${:etc}/run
26 srv = $${buildout:directory}/srv
27 source-code = $${:srv}/eggs-source-code
30 recipe = slapos.recipe.build:gitclone
31 git-executable = ${git:location}/bin/git
36 repository = ${slapos.core-repository:location}
39 recipe = plone.recipe.command
40 command = echo "Updating setup...";cd $${slapos.core:location}; export PATH="$${slapos-test-runner:prepend-path}:$PATH"; export CPPFLAGS="$${environment:CPPFLAGS}"; export LDFLAGS="$${environment:LDFLAGS}"; export PYTHONPATH="$${environment:PYTHONPATH}"; export LOCAL_IPV4="$${environment:LOCAL_IPV4}"; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n
41 update-command = $${:command}
45 repository = ${slapos.package-repository:location}
47 [slapos.recipe.template]
49 repository = ${slapos.recipe.template-repository:location}
53 repository = ${slapos.recipe.build-repository:location}
57 repository = ${slapos.recipe.cmmi-repository:location}
61 repository = ${erp5-util-repository:location}
64 recipe = plone.recipe.command
65 command = echo "Updating setup...";cd $${erp5-util:location}; export PATH="$${slapos-test-runner:prepend-path}:$PATH"; export CPPFLAGS="$${environment:CPPFLAGS}"; export LDFLAGS="$${environment:LDFLAGS}"; export PYTHONPATH="$${environment:PYTHONPATH}"; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n; ${python2.7:location}/bin/python setup.py test -n
66 update-command = $${:command}
70 repository = ${officejs-repository:location}
74 repository = ${jio-repository:location}
77 recipe = slapos.cookbook:egg_test
78 run-test-suite = $${create-directory:bin}/runTestSuite
79 run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
80 # The list of executables should be defined here and a combination
81 # of tests should dynamically generated.
84 $${slapos.core:location}
85 $${slapos.package:location}
86 $${slapos.recipe.template:location}
87 $${slapos.recipe.build:location}
88 $${slapos.recipe.cmmi:location}
89 $${erp5-util:location}
92 prepend-path = ${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
93 environment = environment
96 CPPFLAGS = -I${python2.7:location}/include/python2.7 -I${libxml2:location}/include -I${libxslt:location}/include
97 LDFLAGS = -L${python2.7:location}/lib -L${libxml2:location}/lib -L${libxslt:location}/lib -L${libxslt:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${python2.7:location}/lib -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${libxslt:location}/lib -Wl,-rpath=${zlib:location}/lib
98 LD_LIBRARY_PATH = ${python2.7:location}/lib:${libxml2:location}/lib:${libxslt:location}/lib:${libxslt:location}/lib:${zlib:location}/lib
99 PYTHONPATH = ${python-setuptools:pythonpath}:${buildout:eggs-directory}
100 LOCAL_IPV4 = $${slap-configuration:ipv4-random}
103 # Section exposes testing default environment as sh file. It is thus easy
104 # to directly develop and test the egg inside of this instance.
105 recipe = collective.recipe.template
107 export PATH="$${slapos-test-runner:prepend-path}:$PATH"
108 export CPPFLAGS="$${environment:CPPFLAGS}"
109 export LDFLAGS="$${environment:LDFLAGS}"
110 export PYTHONPATH="$${environment:PYTHONPATH}"
111 export PS1="[slapos-testing env Active] $PS1"
112 output = $${create-directory:bin}/environment.sh
116 recipe = slapos.cookbook:wrapper
117 command-line = ${phantomjs:location}/phantomjs-slapos
118 wrapper-path = $${create-directory:bin}/phantomjs
119 parameters-extra = true