diff --git a/recipes/README.recipes.md b/recipes/README.recipes.md index 3986ff608..957af1cb0 100644 --- a/recipes/README.recipes.md +++ b/recipes/README.recipes.md @@ -1109,7 +1109,7 @@ Raises: [DEPS](/recipes/recipe_modules/gclient/examples/full.py#7): [gclient](#recipe_modules-gclient), [recipe\_engine/assertions][recipe_engine/recipe_modules/assertions], [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/file][recipe_engine/recipe_modules/file], [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#72)(api):** +— **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#73)(api):** ### *recipes* / [gclient:tests/diff\_deps](/recipes/recipe_modules/gclient/tests/diff_deps.py) [DEPS](/recipes/recipe_modules/gclient/tests/diff_deps.py#10): [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 b6ae87fd7..c6f80dd60 100644 --- a/recipes/recipe_modules/gclient/config.py +++ b/recipes/recipe_modules/gclient/config.py @@ -516,7 +516,6 @@ def crossbench(c): soln.url = 'https://chromium.googlesource.com/crossbench' c.got_revision_mapping['crossbench'] = 'got_revision' - @config_ctx() def website(c): # pragma: no cover s = c.solutions.add() @@ -525,10 +524,21 @@ def website(c): # pragma: no cover m = c.got_revision_mapping m['website'] = 'got_revision' - @config_ctx() def ytdevinfra(c): soln = c.solutions.add() soln.name = 'ytdevinfra' soln.url = 'https://lbshell-internal.googlesource.com/cobalt_src.git' c.got_revision_mapping['ytdevinfra'] = 'got_revision' + + +@config_ctx() +def ytdevinfra_github(c): + soln = c.solutions.add() + soln.name = 'ytdevinfra_github' + soln.url = 'https://github.googlesource.com/youtube/cobalt.git' + soln.custom_vars = { + 'download_remoteexec_cfg': True, + 'rbe_instance': 'projects/cobalt-actions-prod/instances/default_instance' + } + c.got_revision_mapping['ytdevinfra_github'] = 'got_revision' diff --git a/recipes/recipe_modules/gclient/examples/full.py b/recipes/recipe_modules/gclient/examples/full.py index 9203262d9..04fa758d4 100644 --- a/recipes/recipe_modules/gclient/examples/full.py +++ b/recipes/recipe_modules/gclient/examples/full.py @@ -62,6 +62,7 @@ TEST_CONFIGS = [ 'with_branch_heads', 'with_tags', 'ytdevinfra', + 'ytdevinfra_github', ] DEPS_CONTENT = """