add github version of ytdevinfra config

It uses GitHub mirrow GoB. It also sets the custom vars.

R=yim@chromium.org

Bug:390703833
Change-Id: I5db6eadaeba04e6514fa0ff4e61d931690baac59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6219827
Auto-Submit: K. S. Yim <yim@google.com>
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Yiwei Zhang <yiwzhang@google.com>
changes/27/6219827/4
KS Yim 6 months ago committed by LUCI CQ
parent c60f8194a5
commit 308ab0795e

@ -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]
&mdash; **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#72)(api):**
&mdash; **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]

@ -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'

@ -62,6 +62,7 @@ TEST_CONFIGS = [
'with_branch_heads',
'with_tags',
'ytdevinfra',
'ytdevinfra_github',
]
DEPS_CONTENT = """

Loading…
Cancel
Save