Skip to content

Commit c21a4b4

Browse files
committed
Enable collective.big.bang only in prod, removed it from dev
1 parent 4a7d20e commit c21a4b4

File tree

3 files changed

+15
-19
lines changed

3 files changed

+15
-19
lines changed

base.cfg

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ amqp =
6262
zamqp =
6363
solr-eggs =
6464

65+
[bigbang]
66+
environment-vars =
67+
# collective.big.bang related vars
68+
ACTIVE_BIGBANG True
69+
PLONE_EXTENSION_IDS plonetheme.classic:default, plonetheme.sunburst:default, Products.MeetingCommunes:zcity
70+
DEFAULT_LANGUAGE fr
71+
SITE_ID ${port:plone-path}
72+
ADMIN_PASSWORD ${port:admin-password}
73+
6574
[instance1]
6675
#effective-user =
6776
user = admin:${port:admin-password}
@@ -111,11 +120,6 @@ environment-vars =
111120
OO_PORT ${port:oo-port}
112121
PYTHON_UNO ${port:python-uno}
113122
PUBLIC_URL ${port:public-url}
114-
PLONE_EXTENSION_IDS plonetheme.classic:default, plonetheme.sunburst:default, Products.MeetingCommunes:zcity
115-
DEFAULT_LANGUAGE fr
116-
ACTIVE_BIGBANG True
117-
SITE_ID ${port:plone-path}
118-
ADMIN_PASSWORD ${port:admin-password}
119123
# CUSTOM_TMP /var/tmp
120124
# FTW_LABELS_PERSONAL_LABELS ['lu']
121125
RETURN_FULLOBJECT_AFTER_CREATION_DEFAULT False
@@ -166,6 +170,7 @@ zope-conf-additional =
166170

167171
[instance-amqp]
168172
<= instance1
173+
environment-vars -= ${bigbang:environment-vars}
169174
zserver-threads = 1
170175

171176
http-address = ${port:instance-amqp-http}
@@ -176,10 +181,6 @@ zope-conf-additional =
176181
${zope-conf:additional}
177182
${zope-conf:amqp}
178183
${zope-conf:zamqp}
179-
environment-vars -=
180-
ACTIVE_BIGBANG True
181-
ADMIN_PASSWORD ${port:admin-password}
182-
PLONE_EXTENSION_IDS Products.CMFPlone:plone-content
183184

184185
[omelette]
185186
recipe = collective.recipe.omelette
@@ -196,4 +197,3 @@ zcml =
196197
recipe = zc.recipe.egg
197198
eggs = ZODB3
198199
scripts = repozo
199-

dev.cfg

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,11 @@ always-accept-server-certificate = true
6969
recipe = plone.recipe.zope2instance
7070
debug-mode = on
7171
verbose-security = on
72-
environment-vars -=
73-
PLONE_EXTENSION_IDS plonetheme.classic:default, plonetheme.sunburst:default, Products.MeetingCommunes:zcity
74-
ACTIVE_BIGBANG True
75-
7672
environment-vars +=
7773
ENABLE_PRINTING_MAILHOST True
7874
ENV dev
7975
CUSTOM_TMP /tmp/appy
8076
# PROFILE_PUBLISHER 1
81-
ACTIVE_BIGBANG False
8277

8378
zope-conf-additional +=
8479
# publisher-profile-file ${buildout:directory}/profile.dat

prod.cfg

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,20 @@ parts +=
1111
instance-debug
1212
repozo
1313

14+
[instance1]
15+
environment-vars += ${bigbang:environment-vars}
16+
1417
[instance2]
1518
<= instance1
19+
# collective.bib.bang is only enabled in instance1
20+
environment-vars -= ${bigbang:environment-vars}
1621
http-address = ${port:instance2-http}
1722
zope-conf-additional =
1823
<product-config five.z2monitor>
1924
bind 0.0.0.0:${port:instance2-monitor}
2025
</product-config>
2126
${zope-conf:additional}
2227
${zope-conf:zamqp}
23-
environment-vars -=
24-
ACTIVE_BIGBANG True
25-
ADMIN_PASSWORD ${port:admin-password}
26-
PLONE_EXTENSION_IDS Products.CMFPlone:plone-content
2728

2829
[instance3]
2930
<= instance2

0 commit comments

Comments
 (0)