Getting ready for next release, fixed incomressible docs and tried to handle #456 ...

This commit is contained in:
Jorrit Wronski
2015-02-11 15:39:01 +01:00
parent 49a609ebcc
commit 0cb981606d
3 changed files with 63 additions and 45 deletions

View File

@@ -8,6 +8,45 @@
# a shorter alias to save typing.
c = BuildmasterConfig = {}
####### STATUS TARGETS
# 'status' is a list of Status Targets. The results of each build will be
# pushed to these targets. buildbot/status/*.py has a variety to choose from,
# including web pages, email senders, and IRC bots.
c['status'] = []
from buildbot.status import html
from buildbot.status.web import authz, auth
from buildbot_private import web_auth
authz_cfg=authz.Authz(
# change any of these to True to enable; see the manual for more
# options
auth=auth.BasicAuth([(web_auth['user'], web_auth['pass'])]),
gracefulShutdown = False,
forceBuild = 'auth', # use this to test your slave once it is set up
forceAllBuilds = 'auth',
pingBuilder = False,
stopBuild = 'auth',
stopAllBuilds = 'auth',
cancelPendingBuild = 'auth',
)
c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))
from buildbot.status import mail
from buildbot_private import email_auth
mn = mail.MailNotifier(fromaddr="buildbot@coolprop.dreamhosters.com",
sendToInterestedUsers=False,
mode=('problem'),
extraRecipients=["coolprop@jorrit.org", "ian.h.bell@gmail.com"],
#useTls=True,
relayhost="homie.mail.dreamhost.com",
smtpPort=587, smtpUser=email_auth['user'],
smtpPassword=email_auth['pass'])
c['status'].append(mn)
####### BUILDSLAVES
# The 'slaves' list defines the set of recognized buildslaves. Each element is
@@ -1206,44 +1245,7 @@ c['schedulers'].append(Nightly(name='nightly',
#~ builderNames=["MATLAB32-windows"])
#~ )
####### STATUS TARGETS
# 'status' is a list of Status Targets. The results of each build will be
# pushed to these targets. buildbot/status/*.py has a variety to choose from,
# including web pages, email senders, and IRC bots.
c['status'] = []
from buildbot.status import html
from buildbot.status.web import authz, auth
from buildbot_private import web_auth
authz_cfg=authz.Authz(
# change any of these to True to enable; see the manual for more
# options
auth=auth.BasicAuth([(web_auth['user'], web_auth['pass'])]),
gracefulShutdown = False,
forceBuild = 'auth', # use this to test your slave once it is set up
forceAllBuilds = 'auth',
pingBuilder = False,
stopBuild = 'auth',
stopAllBuilds = 'auth',
cancelPendingBuild = 'auth',
)
c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))
from buildbot.status import mail
from buildbot_private import email_auth
mn = mail.MailNotifier(fromaddr="buildbot@coolprop.dreamhosters.com",
sendToInterestedUsers=False,
mode=('problem'),
extraRecipients=["coolprop@jorrit.org", "ian.h.bell@gmail.com"],
#useTls=True,
relayhost="homie.mail.dreamhost.com",
smtpPort=587, smtpUser=email_auth['user'],
smtpPassword=email_auth['pass'])
c['status'].append(mn)
####### PROJECT IDENTITY