Update infra contexts to use infra_superproject.

Recipe-Nontrivial-Roll: infra
Bug: 1415507
Change-Id: I92a60640679115ae188c6de610ef695876a536b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4378428
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Auto-Submit: Joanna Wang <jojwang@chromium.org>
changes/28/4378428/10
Joanna Wang 3 years ago committed by LUCI CQ
parent a73a249737
commit 95a28c5a14

@ -1042,7 +1042,7 @@ PYTHON_VERSION_COMPATIBILITY: PY3
PYTHON_VERSION_COMPATIBILITY: PY3
&mdash; **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#68)(api):**
&mdash; **def [RunSteps](/recipes/recipe_modules/gclient/examples/full.py#69)(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]

@ -285,13 +285,14 @@ def expect_tests(c):
c.got_revision_mapping['expect_tests'] = 'got_revision'
# TODO(crbug.com/1415507): Delete the old infra configs and rename
# the _superproject configs after migration deadline.
@config_ctx()
def infra_superproject(c):
soln = c.solutions.add()
soln.name = '.'
soln.url = 'https://chromium.googlesource.com/infra/infra_superproject.git'
# TODO(crbug.com/1415507): When builders can checkout internal code, add
# soln.custom_vars = {'checkout_internal': True}
c.got_revision_mapping['infra'] = 'got_revision'
c.repo_path_map.update({
'https://chromium.googlesource.com/infra/luci/gae':
('infra/go/src/go.chromium.org/gae', 'HEAD'),
@ -304,6 +305,15 @@ def infra_superproject(c):
})
@config_ctx()
def infra_internal_superproject(c):
soln = c.solutions.add()
soln.name = '.'
soln.custom_vars = {'checkout_internal': True}
soln.url = 'https://chromium.googlesource.com/infra/infra_superproject.git'
c.got_revision_mapping['infra_internal'] = 'got_revision'
@config_ctx()
def infra(c):
soln = c.solutions.add()

@ -43,6 +43,7 @@ TEST_CONFIGS = [
'gyp',
'infra',
'infra_superproject',
'infra_internal_superproject',
'infradata_master_manager',
'infradata_config',
'infradata_rbe',

Loading…
Cancel
Save