Buildbot end of life date is March 1, 2019. As of March 1, all Chromium/Chrome builds hosted on chromium.org will be running on LUCI.
Please create a LUCI builder instead of Buildbot. Buildbot end of life is March 1, 2019.
master3
(public) or master7
(internal).master.client.x
. The only valid names after the master.__ section are:chromium
chromiumos
chromeos
client
tryserver
internal
official
master_port
, master_port_alt
and slave_port
. mastermap.py
will find it for you in later step.../../../build/scripts/tools/buildbot-tool gen .
in your master dir to regenerate master configuration. Run it whenever builders.pyl
changes.../../../build/scripts/tools/mastermap.py --find <master-class-name>
where master-class-name
is a name of the class in the generated master_site_config.py
. It will search for available master port numbers. If you are creating an internal master, you'll need to run build_internal/scripts/tools/mastermap_internal.py
instead. Put the chosen ports into builders.pyl
and regenerate the configuration.'<master-name>': '<master-class-name>',
, so the master is included in presubmit checks.Whenever you modify builders.pyl, e.g. add/remove slaves, you need to restart the master.
Commit your changes to a local branch. Many builders will git reset --hard HEAD
which will wipe out your local changes.
$ cd build/masters/master.foo.bar $ make restart
To run a test slave locally to run the build:
$ cd build/slave $ TESTING_MASTER=FooBar TESTING_MASTER_HOST=localhost TESTING_SLAVENAME=FooSlave make restart
FooBar
is the same class name pulled from master_site_config.py above. FooSlave
is a slave listed in the builders.pyl, or slaves.cfg that you want to impersonate locally.
Use buildbucket to schedule builds and check their status:
buildbucket_bucket
attribute in your builders.pylservice_account_file
attribute in your builders.pyl. File a bug to deploy a new service account, or not sure what service account to use.Use recipes