Add infradata/k8s config

This CL adds the 'infradata_k8s' configuration to the gclient recipe
module. This allows recipes to easily check out the
infradata/k8s repository.

BUG=b:457877150
TEST=Ran 'recipes.py test train' to update expectations.

Change-Id: I2c2ac0a245b6ee8bfe1dc72b923a42242c720a91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7122241
Auto-Submit: Congbin Guo <guocb@chromium.org>
Commit-Queue: Yiwei Zhang <yiwzhang@google.com>
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
This commit is contained in:
Congbin Guo
2025-11-05 08:54:26 -08:00
committed by LUCI CQ
parent e38a4c4abf
commit c00550de29
3 changed files with 10 additions and 1 deletions

View File

@@ -1127,7 +1127,7 @@ Raises:
[DEPS](/recipes/recipe_modules/gclient/examples/full.py#6): [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#9): [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]

View File

@@ -363,6 +363,14 @@ def infradata_cloud_run(c):
c.got_revision_mapping['infra-data-cloud-run'] = 'got_revision'
@config_ctx()
def infradata_k8s(c):
soln = c.solutions.add()
soln.name = 'infradata-k8s'
soln.url = 'https://chrome-internal.googlesource.com/infradata/k8s.git'
c.got_revision_mapping['infradata-k8s'] = 'got_revision'
@config_ctx()
def infradata_config(c):
soln = c.solutions.add()

View File

@@ -46,6 +46,7 @@ TEST_CONFIGS = [
'infradata_master_manager',
'infradata_cloud_run',
'infradata_config',
'infradata_k8s',
'infradata_rbe',
'luci_gae',
'luci_go',