From acc131cedd4af48ee58b39c6fb58dc92bb9cfa10 Mon Sep 17 00:00:00 2001 From: Fumitoshi Ukai Date: Tue, 27 Jul 2021 23:22:24 +0000 Subject: [PATCH] add infradata_rbe config Bug: 1233386 Change-Id: I0d83113e832f264b8be613c1fd48f9d9da3c6e3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3055264 Auto-Submit: Fumitoshi Ukai Reviewed-by: Andrii Shyshkalov Commit-Queue: Fumitoshi Ukai --- recipes/README.recipes.md | 2 +- recipes/recipe_modules/gclient/config.py | 7 +++++++ recipes/recipe_modules/gclient/examples/full.py | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/recipes/README.recipes.md b/recipes/README.recipes.md index b030717adb..a6215a776f 100644 --- a/recipes/README.recipes.md +++ b/recipes/README.recipes.md @@ -1043,7 +1043,7 @@ Raises: [DEPS](/recipes/recipe_modules/gclient/examples/full.py#5): [gclient](#recipe_modules-gclient), [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/step][recipe_engine/recipe_modules/step] -— **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#63)(api):** +— **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#64)(api):** ### *recipes* / [gclient:tests/diff\_deps](/recipes/recipe_modules/gclient/tests/diff_deps.py) [DEPS](/recipes/recipe_modules/gclient/tests/diff_deps.py#7): [gclient](#recipe_modules-gclient), [recipe\_engine/assertions][recipe_engine/recipe_modules/assertions], [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io] diff --git a/recipes/recipe_modules/gclient/config.py b/recipes/recipe_modules/gclient/config.py index f607400950..336c4df75a 100644 --- a/recipes/recipe_modules/gclient/config.py +++ b/recipes/recipe_modules/gclient/config.py @@ -386,6 +386,13 @@ def infradata_config(c): soln.url = 'https://chrome-internal.googlesource.com/infradata/config.git' c.got_revision_mapping['infra-data-config'] = 'got_revision' +@config_ctx() +def infradata_rbe(c): + soln = c.solutions.add() + soln.name = 'infradata-rbe' + soln.url = 'https://chrome-internal.googlesource.com/infradata/rbe.git' + c.got_revision_mapping['infradata-rbe'] = 'got_revision' + @config_ctx() def with_branch_heads(c): c.with_branch_heads = True diff --git a/recipes/recipe_modules/gclient/examples/full.py b/recipes/recipe_modules/gclient/examples/full.py index 331a83470c..af77f1250b 100644 --- a/recipes/recipe_modules/gclient/examples/full.py +++ b/recipes/recipe_modules/gclient/examples/full.py @@ -41,6 +41,7 @@ TEST_CONFIGS = [ 'infra', 'infradata_master_manager', 'infradata_config', + 'infradata_rbe', 'internal_deps', 'luci_gae', 'luci_go',