| Index: scripts/slave/recipe_modules/chromite/config.py
|
| diff --git a/scripts/slave/recipe_modules/chromite/config.py b/scripts/slave/recipe_modules/chromite/config.py
|
| index 14a924bdd3b73fcb772690262954e01f825dcea2..eaeb4c2da4d3da2237d85a0ef18f877a47ceb57b 100644
|
| --- a/scripts/slave/recipe_modules/chromite/config.py
|
| +++ b/scripts/slave/recipe_modules/chromite/config.py
|
| @@ -13,7 +13,8 @@ path_api = DEPS['path'].api
|
|
|
|
|
| def BaseConfig(CBB_CONFIG=None, CBB_BRANCH=None, CBB_BUILD_NUMBER=None,
|
| - CBB_DEBUG=False, CBB_CLOBBER=False, **_kwargs):
|
| + CBB_DEBUG=False, CBB_CLOBBER=False, CBB_BUILDBUCKET_ID=None,
|
| + **_kwargs):
|
| return ConfigGroup(
|
| # Base mapping of repository key to repository name.
|
| repositories = Dict(value_type=Set(basestring)),
|
| @@ -63,6 +64,9 @@ def BaseConfig(CBB_CONFIG=None, CBB_BRANCH=None, CBB_BUILD_NUMBER=None,
|
| # Whether this Chromite version supports warm cache.
|
| # https://chromium-review.googlesource.com/#/c/348011
|
| supports_repo_cache = Single(bool),
|
| +
|
| + # If supplied, forward to cbuildbot as '--buildbucket-id'
|
| + buildbucket_id = Single(basestring, empty_val=CBB_BUILDBUCKET_ID)
|
| ),
|
|
|
| # A list of branches whose Chromite version is "old". Old Chromite
|
|
|