Add bot specs for builders for canarying infra changes.
This will allow testing changes that are hard to test pre-submit (e.g.
scheduler triggering changes) without affecting actual builders.
Bug: 1189346
Change-Id: Icf7e506581f3c93152d2bcedfda2d2bff7c5c657
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2769482
Auto-Submit: Garrett Beaty <gbeaty@chromium.org>
Reviewed-by: Gary Tong <gatong@chromium.org>
Commit-Queue: Garrett Beaty <gbeaty@chromium.org>
diff --git a/recipes/recipe_modules/chromium_tests/builders/__init__.py b/recipes/recipe_modules/chromium_tests/builders/__init__.py
index 783d2f2..de26ece 100644
--- a/recipes/recipe_modules/chromium_tests/builders/__init__.py
+++ b/recipes/recipe_modules/chromium_tests/builders/__init__.py
@@ -34,6 +34,7 @@
from . import client_openscreen_chromium
from . import client_v8_chromium
from . import client_v8_fyi
+from . import infra
from . import tryserver_chromium_android
from . import tryserver_chromium_linux
from . import tryserver_devtools_frontend
@@ -104,6 +105,8 @@
client_v8_chromium.SPEC,
'client.v8.fyi':
client_v8_fyi.SPEC,
+ 'infra':
+ infra.SPEC,
'tryserver.chromium.android':
tryserver_chromium_android.SPEC,
'tryserver.chromium.linux':
diff --git a/recipes/recipe_modules/chromium_tests/builders/infra.py b/recipes/recipe_modules/chromium_tests/builders/infra.py
new file mode 100644
index 0000000..c6543ae
--- /dev/null
+++ b/recipes/recipe_modules/chromium_tests/builders/infra.py
@@ -0,0 +1,32 @@
+# Copyright 2021 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from .. import bot_spec
+
+SPEC = {
+ 'linux-infra-canary':
+ bot_spec.BotSpec.create(
+ chromium_config='chromium',
+ isolate_server='https://isolateserver.appspot.com',
+ gclient_config='chromium',
+ chromium_config_kwargs={
+ 'BUILD_CONFIG': 'Release',
+ 'TARGET_BITS': 64,
+ },
+ simulation_platform='linux',
+ ),
+ 'linux-infra-canary-tests':
+ bot_spec.BotSpec.create(
+ chromium_config='chromium',
+ isolate_server='https://isolateserver.appspot.com',
+ gclient_config='chromium',
+ chromium_config_kwargs={
+ 'BUILD_CONFIG': 'Release',
+ 'TARGET_BITS': 64,
+ },
+ execution_mode=bot_spec.TEST,
+ parent_buildername='linux-infra-canary',
+ simulation_platform='linux',
+ ),
+}