Please create a LUCI builder instead of Buildbot. Buildbot end of life is March 1, 2019.
master.client.x. The only valid names after the master.__ section are:
mastermap.pywill find it for you in later step.
../../../build/scripts/tools/buildbot-tool gen .in your master dir to regenerate master configuration. Run it whenever
../../../build/scripts/tools/mastermap.py --find <master-class-name>where
master-class-nameis 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.pyinstead. Put the chosen ports into
builders.pyland 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_bucketattribute in your builders.pyl
service_account_fileattribute in your builders.pyl. File a bug to deploy a new service account, or not sure what service account to use.