We're at an early stage in our migration from buildbot 0.8.12 to 0.9.10.  The new About web page currently shows

   Python version: 3.6.1
   Buildbot version: 0.9.10
   Twisted version: 17.5.0

A few questions arise.  Does

c['db'] = { 'db_url' : "sqlite:///state.sqlite", }

in the 0.9.10 master.cfg need to point to different URLs in order for 0.8.12 and 0.9.10 to both run concurrently without conflict? Currently, both master.cfg files (for 0.9.10 and 0.8.12) specify the same URL, the default from creating the buildbot master.


Also, in editing the master.cfg file to tweak the new web pages, I've goofed something up, not sure what, with the result that the Force Build button no longer appears on the Builders web page (nor on any other page).  This was the link to invoke a schedulers.ForceScheduler(...).  The link appeared in an early test, but vanished after I made some changes and restarted the buildbot.  I can't seem to get it back, and I'm not sure what I did that made it go away.

Any ideas how to restore that link?

I was editing in this section of code from master.cfg:

force_scheduler = schedulers.ForceScheduler(
                        name="user_forced",
                        builderNames=all_gpsii_builders,

                        # will generate a text input
reason=util.StringParameter(name="reason",label="reason:<br/>",
required=True, size=80),

                        codebases=[
util.CodebaseParameter(
                                          "",
                                          name="Main repository",

                                          # will generate a combo box
branch=util.ChoiceStringParameter(
name="branch",
choices=["trunk", "devel"],
default="trunk"),

                                          # will generate nothing in the form, but revision, repository,                                           # and project are needed by buildbot scheduling system so we
                                          # need to pass a value ("")
revision=util.FixedParameter(name="revision", default=""),
repository=util.FixedParameter(name="repository", default=""),
project=util.FixedParameter(name="project", default=""),
                                      ),
                                  ],

                        # in case you dont require authentication this will display
                        # input for user to type his name
                        # username=util.UserNameParameter(label="your name:<br/>", size=80),

                        # A completely customized util.Property list.  The name of the
                        # util.Property is the name of the parameter
                        properties=[
util.BooleanParameter(name="force_build_clean",
label="force a make clean", default=False),
#util.StringParameter(name="pull_url",
                            # label="optionally give a public Git pull url:<br>",
                            # default="", size=80)
                        ]
                    )

--
Greg Bullock
[email protected]

_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to