Merge remote-tracking branch 'origin/master' into slapos-testing
[slapos.git] / software / slapos-testing / instance.cfg
1 [buildout]
2 parts = 
3   slapos-test-runner
4
5 eggs-directory = ${buildout:eggs-directory}
6 develop-eggs-directory = ${buildout:develop-eggs-directory}
7 offline = true
8
9 [download-source]
10 recipe = plone.recipe.command
11 location = $${rootdirectory:source-code}/$${:_buildout_section_name_}
12 stop-on-error = true
13 branch = master
14 revision =
15 command = "${git:location}/bin/git" clone --quiet --branch "$${:branch}" "$${:repository}" "$${:location}" && if [ -n "$${:revision}" ]; then cd "$${:location}" && "${git:location}/bin/git" reset --quiet --hard "$${:revision}" ; fi
16 update-command = cd "$${:location}" && "${git:location}/bin/git" fetch && if [ -n "$${:revision}" ]; then "${git:location}/bin/git" reset --hard "$${:revision}"; else "${git:location}/bin/git" reset --hard @{upstream} ; fi
17
18
19 # Local development
20 [slapos.core]
21 <= download-source
22 repository = ${slapos.core-repository:location}
23
24 [slapos.recipe.template]
25 <= download-source
26 repository = ${slapos.recipe.template-repository:location}
27
28 [slapos-test-runner]
29 recipe = slapos.cookbook:egg_test
30
31 run-test-suite = $${buildout:bin-directory}/runTestSuite
32
33 run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
34
35 # The list of executables should be defined here and a combination
36 # of tests should dynamically generated.
37 #python-list = $${}
38
39 test-list = $${slapos.recipe.template:location},$${slapos.core:location}
40
41 [rootdirectory]
42 recipe = slapos.cookbook:mkdirectory
43 etc = $${buildout:directory}/etc
44 srv = $${buildout:directory}/srv
45 source-code = $${:srv}/eggs-source-code
46 bin = $${buildout:directory}/bin