Add infra_superproject context.

Bug: 1415507
Change-Id: I89921959b6de164decd58aede3de7c8a6b504b7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4368458
Commit-Queue: Yulan Lin <yulanlin@google.com>
Auto-Submit: Joanna Wang <jojwang@chromium.org>
Reviewed-by: Yulan Lin <yulanlin@google.com>
changes/58/4368458/6
Joanna Wang 2 years ago committed by LUCI CQ
parent d04720454a
commit d99bfd79b4

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

@ -284,6 +284,26 @@ def expect_tests(c):
soln.url = 'https://chromium.googlesource.com/infra/testing/expect_tests.git'
c.got_revision_mapping['expect_tests'] = 'got_revision'
@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.repo_path_map.update({
'https://chromium.googlesource.com/infra/luci/gae':
('infra/go/src/go.chromium.org/gae', 'HEAD'),
'https://chromium.googlesource.com/infra/luci/luci-py':
('infra/luci', 'HEAD'),
'https://chromium.googlesource.com/infra/luci/luci-go':
('infra/go/src/go.chromium.org/luci', 'HEAD'),
'https://chromium.googlesource.com/infra/luci/recipes-py':
('infra/recipes-py', 'HEAD')
})
@config_ctx()
def infra(c):
soln = c.solutions.add()

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

Loading…
Cancel
Save