Publish sphinx urls
[slapos.git] / software / erp5 / instance-erp5-development.cfg
1 #############################
2 #
3 # Request erp5 development environnment
4 #
5 #############################
6 [buildout]
7
8 extends = ${template-zope:output}
9 parts +=
10   request-mariadb
11   request-cloudooo
12   request-memcached
13   request-kumofs
14   basedirectory
15   erp5-update
16   test-runner
17
18 eggs-directory = ${buildout:eggs-directory}
19 develop-eggs-directory = ${buildout:develop-eggs-directory}
20 offline = true
21
22 [slap-parameter]
23 # default site id
24 site-id = erp5
25
26 [test-runner]
27 recipe = slapos.cookbook:erp5.test
28 certificate-authority-path = $${test-certificate-authority:ca-dir}
29 mysql-url = $${request-mariadb:connection-url}
30 kumofs-url = $${request-kumofs:connection-url}
31 memcached-url = $${request-memcached:connection-url}
32 cloudooo-url = $${request-cloudooo:connection-url}
33 test-instance-path = $${directory:unit-test-path}
34
35 prepend-path = $${buildout:bin-directory}
36 run-unit-test = $${buildout:bin-directory}/runUnitTest
37 run-test-suite = $${buildout:bin-directory}/runTestSuite
38
39 openssl-binary = $${test-certificate-authority:openssl-binary}
40 run-unit-test-binary = ${buildout:bin-directory}/runUnitTest
41 run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
42
43 [test-certificate-authority]
44 recipe = slapos.cookbook:certificate_authority
45 openssl-binary = ${openssl:location}/bin/openssl
46 ca-dir = $${directory:test-ca-dir}
47 requests-directory = $${test-cadirectory:requests}
48 wrapper = $${basedirectory:services}/test-ca
49 ca-private = $${test-cadirectory:private}
50 ca-certs = $${test-cadirectory:certs}
51 ca-newcerts = $${test-cadirectory:newcerts}
52 ca-crl = $${test-cadirectory:crl}
53
54 [test-cadirectory]
55 recipe = slapos.cookbook:mkdirectory
56 requests = $${directory:test-ca-dir}/requests/
57 private = $${directory:test-ca-dir}/private/
58 certs = $${directory:test-ca-dir}/certs/
59 newcerts = $${directory:test-ca-dir}/newcerts/
60 crl = $${directory:test-ca-dir}/crl/
61
62 [erp5-update]
63 recipe = slapos.cookbook:erp5.update
64
65 # Configuration
66 url = http://$${zope-instance:user}:$${zope-instance:password}@$${zope-instance:ip}:$${zope-instance:port}/
67 mysql-url = $${request-mariadb:connection-url}
68 kumofs-url = $${request-kumofs:connection-url}
69 memcached-url = $${request-memcached:connection-url}
70 cloudooo-url = $${request-cloudooo:connection-url}
71 site-id = $${slap-parameter:site-id}
72 openssl-binary = ${openssl:location}/bin/openssl
73 cadir-path = $${erp5-certificate-authority:ca-dir}
74
75 # Paths
76 update-wrapper = $${basedirectory:services}/erp5-update
77
78 # Defaults
79 configurator-bt5-list = erp5_core_proxy_field_legacy erp5_full_text_myisam_catalog erp5_base erp5_workflow erp5_configurator erp5_configurator_standard erp5_configurator_maxma_demo erp5_configurator_ung
80 bt5-repository-list = $${zope-instance:bt5-repository-list}
81
82 [request-common]
83 recipe = slapos.cookbook:request
84 software-url = $${slap-connection:software-release-url}
85 sla = computer_guid
86 sla-computer_guid = $${slap-connection:computer-id}
87 return = url
88 server-url = $${slap-connection:server-url}
89 key-file = $${slap-connection:key-file}
90 cert-file = $${slap-connection:cert-file}
91 computer-id = $${slap-connection:computer-id}
92 partition-id = $${slap-connection:partition-id}
93
94 [request-mariadb]
95 <=request-common
96 name = MariaDB DataBase
97 software-type = mariadb
98
99 [request-cloudooo]
100 <=request-common
101 name = Cloudooo
102 software-type = cloudooo
103
104 [request-memcached]
105 <=request-common
106 name = Memcached
107 software-type = memcached
108
109 [request-kumofs]
110 <=request-common
111 name = KumoFS
112 software-type = kumofs
113
114 # rest of parts are candidates for some generic stuff
115 [basedirectory]
116 recipe = slapos.cookbook:mkdirectory
117 services = $${rootdirectory:etc}/run/
118
119 [rootdirectory]
120 recipe = slapos.cookbook:mkdirectory
121 etc = $${buildout:directory}/etc/
122
123 [directory]
124 test-ca-dir = $${rootdirectory:srv}/test-ca/
125 test-instance-path = $${rootdirectory:srv}/test-instance/
126 unit-test-path = $${:test-instance-path}/unit_test/