-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal_develop.cfg
More file actions
206 lines (179 loc) · 4.49 KB
/
Copy pathlocal_develop.cfg
File metadata and controls
206 lines (179 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# This is a locally used development-buildout (no zeo with some useful
# tools) common to all sites.
[buildout]
extends =
https://raw.githubusercontent.com/starzel/buildout/5.2.3/linkto/base.cfg
# If you want you can have you eggs picked
# allow-picked-versions = true
sources-dir = src-mrd
# Locally you might want some nice development addons:
eggs +=
# plone.app.debugtoolbar
# Products.DocFinderTab
Products.PrintingMailHost
plone.reload
pdbpp
# Post-mortem debugging
Products.PDBDebugMode
zodbverify
zodbupdate
test-eggs +=
pdbpp
zcml +=
parts +=
instance
instance-archetypes
test
# coverage
# coverage-test
packages
zopepy
checkversions
ploneversioncheck
# i18ndude
# i18nize-XXX
# i18nize-all
# i18nize-diff
stacktrace-script
mrbob
# robot
extensions +=
plone.versioncheck
[ports]
base = 80
cache = ${:base}80
loadbalancer = ${:base}81
zeoclient1 = ${:base}82
zeoclient2 = ${:base}83
zeoclient_debug = ${:base}84
zeoserver = ${:base}90
instance = 8080
[bindips]
instance = 0.0.0.0
zeoserver = 127.0.0.1
cache = 127.0.0.1
loadbalancer = 127.0.0.1
zeoclient1 = 127.0.0.1
zeoclient2 = 127.0.0.1
zeoclient_debug = 127.0.0.1
[instance]
recipe = plone.recipe.zope2instance
user = ${buildout:login}:${buildout:password}
wsgi = on
http-address = ${ports:instance}
ip-address = ${bindips:instance}
debug-mode = on
verbose-security = on
eggs =
${buildout:eggs}
zcml = ${buildout:zcml}
environment-vars = ${buildout:prod-environment}
resources = ${buildout:directory}/resources
http-fast-listen = on
[instance-archetypes:python2]
<= instance
eggs =
${buildout:eggs}
Plone [archetypes]
Products.ATExtensions
Products.ATBackRef
Products.ATReferenceBrowserWidget
Products.MasterSelectWidget
Products.ATVocabularyManager
plone.formwidget.contenttree
plone.formwidget.datetime
[instance-archetypes:python3]
<= instance
# dummy part
[test]
recipe = zc.recipe.testrunner
eggs =
Plone
${buildout:test-eggs}
defaults = ['--auto-color', '--auto-progress', '-vvv']
[coverage]
recipe = zc.recipe.egg
eggs = coverage
[coverage-test]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
# Remove old results
echo "Erase old coverage results."
bin/coverage erase
# Collect test coverage results for all packages
echo "Run test coverage analysis for all packages."
bin/coverage run -p --source=src bin/test || exit 1
echo "Create test coverage report."
# Combine all package analysis
bin/coverage combine
# Generates a "coverage.xml" file that Jenkins can read and process from the
# ".coverage" file that the coverage report created.
bin/coverage html -i
echo "Test coverage report finished. See parts/test/htmlreport/index.html"
output = ${buildout:directory}/bin/coverage-test
mode = 755
[packages]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
packages = ${instance:location}/lib/python ./
[zopepy]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
plone.staticresources
interpreter = zopepy
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]
[ploneversioncheck]
recipe = zc.recipe.egg
eggs = plone.versioncheck
[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs =
i18ndude
potools
#[i18nize-XXX]
#recipe = collective.recipe.template
#input = ${buildout:directory}/templates/i18nize.in
#output = ${buildout:bin-directory}/i18nize-XXX
#mode = 775
#dollar = $
#domain = XXX.XXX
#packagepath = ${buildout:directory}/src/XXX.XXX/src/XXX/XXX
#languages = ${buildout:languages}
[i18nize-all]
recipe = collective.recipe.template
mode = 775
input = inline:
#!/bin/bash
${:update_po_command}
output = ${buildout:bin-directory}/i18nize_all
update_po_command = ${i18nize-xxx:output}
#update_po_command = ${i18nize-site:output} && ${i18nize-theme:output}
[i18nize-diff]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/i18ndiff.in
output = ${buildout:bin-directory}/podiff_all
mode = 755
repo = ssh://gitlab@git.starzel.de:XXX/XXX.git
[stacktrace-script]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/stack.sh.tmpl
output = ${buildout:bin-directory}/stack.sh
mode = 755
[mrbob]
recipe = zc.recipe.egg
eggs =
mr.bob
bobtemplates.plone
[robot]
recipe = zc.recipe.egg
eggs =
Pillow
${test:eggs}
plone.app.robotframework[debug,reload]
scripts =
robot-server
robot