mirror of https://github.com/zulip/zulip.git
settings: Only create staging Nagios bots in production.
In ce528c2b5f
, we added these bots,
which were intended as a setup convenience in production, but ended up
breaking the test suite.
This commit is contained in:
parent
63f0e04621
commit
88269c7228
|
@ -528,15 +528,19 @@ INTERNAL_BOTS = [{'var_name': 'NOTIFICATION_BOT',
|
||||||
{'var_name': 'NAGIOS_RECEIVE_BOT',
|
{'var_name': 'NAGIOS_RECEIVE_BOT',
|
||||||
'email_template': 'nagios-receive-bot@%s',
|
'email_template': 'nagios-receive-bot@%s',
|
||||||
'name': 'Nagios Receive Bot'},
|
'name': 'Nagios Receive Bot'},
|
||||||
|
{'var_name': 'WELCOME_BOT',
|
||||||
|
'email_template': 'welcome-bot@%s',
|
||||||
|
'name': 'Welcome Bot'}]
|
||||||
|
|
||||||
|
if PRODUCTION:
|
||||||
|
INTERNAL_BOTS += [
|
||||||
{'var_name': 'NAGIOS_STAGING_SEND_BOT',
|
{'var_name': 'NAGIOS_STAGING_SEND_BOT',
|
||||||
'email_template': 'nagios-staging-send-bot@%s',
|
'email_template': 'nagios-staging-send-bot@%s',
|
||||||
'name': 'Nagios Staging Send Bot'},
|
'name': 'Nagios Staging Send Bot'},
|
||||||
{'var_name': 'NAGIOS_STAGING_RECEIVE_BOT',
|
{'var_name': 'NAGIOS_STAGING_RECEIVE_BOT',
|
||||||
'email_template': 'nagios-staging-receive-bot@%s',
|
'email_template': 'nagios-staging-receive-bot@%s',
|
||||||
'name': 'Nagios Staging Receive Bot'},
|
'name': 'Nagios Staging Receive Bot'},
|
||||||
{'var_name': 'WELCOME_BOT',
|
]
|
||||||
'email_template': 'welcome-bot@%s',
|
|
||||||
'name': 'Welcome Bot'}]
|
|
||||||
|
|
||||||
INTERNAL_BOT_DOMAIN = "zulip.com"
|
INTERNAL_BOT_DOMAIN = "zulip.com"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue