示例#1
0
 def setupUsualPages(self, numbuilds, num_events, num_events_max):
     #self.putChild("", IndexOrWaterfallRedirection())
     self.putChild(
         "waterfall",
         WaterfallStatusResource(num_events=num_events,
                                 num_events_max=num_events_max))
     self.putChild("grid", GridStatusResource())
     self.putChild(
         "console",
         ConsoleStatusResource(orderByTime=self.orderConsoleByTime))
     self.putChild("tgrid", TransposedGridStatusResource())
     self.putChild(
         "builders",
         BuildersResource(numbuilds=numbuilds))  # has builds/steps/logs
     self.putChild("one_box_per_builder", Redirect("builders"))
     self.putChild("changes", ChangesResource())
     self.putChild("buildslaves", BuildSlavesResource())
     self.putChild("buildstatus", BuildStatusStatusResource())
     self.putChild("one_line_per_build",
                   OneLinePerBuild(numbuilds=numbuilds))
     self.putChild("about", AboutBuildbot())
     self.putChild("authfail", AuthFailResource())
     self.putChild("authzfail", AuthzFailResource())
     self.putChild("users", UsersResource())
     self.putChild("login", LoginResource())
     self.putChild("logout", LogoutResource())
示例#2
0
 def setupUsualPages(self, numbuilds, num_events, num_events_max):
     # Disabled buildbot pages that we don't use on Katana
     #self.putChild("", IndexOrWaterfallRedirection())
     #self.putChild("waterfall", WaterfallStatusResource(num_events=num_events,
     #                                num_events_max=num_events_max))
     #self.putChild("grid", GridStatusResource())
     #self.putChild("console", ConsoleStatusResource(
     #        orderByTime=self.orderConsoleByTime))
     #self.putChild("tgrid", TransposedGridStatusResource())
     self.putChild("buildqueue", BuildQueueResource()) # has buildqueue
     self.putChild("one_box_per_builder", Redirect("builders"))
     self.putChild("buildslaves", BuildSlavesResource())
     self.putChild("buildstatus", BuildStatusStatusResource())
     self.putChild("one_line_per_build",
                   OneLinePerBuild(numbuilds=numbuilds))
     self.putChild("about", AboutBuildbot())
     self.putChild("projects", ProjectsResource(numbuilds=numbuilds)) # has builds & builds/steps/logs
     self.putChild("authfail", AuthFailResource())
     self.putChild("authzfail", AuthzFailResource())
     self.putChild("users", UsersResource())
     self.putChild("logout", LogoutKatanaResource())
     self.putChild("login", LoginKatanaResource())
     self.putChild("forms", FormsKatanaResource())