Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: scripts/slave/recipe_modules/chromium/example.py

Issue 1574433004: Allow a single trybot to mirror multiple waterfall bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@bot-config-and-test-db
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/chromium/example.py
diff --git a/scripts/slave/recipe_modules/chromium/example.py b/scripts/slave/recipe_modules/chromium/example.py
index 1698cf3756d776d8b652aab3273d054680374a25..75b17120034acdd72a3ad51ff5d8e7d22c4573d2 100644
--- a/scripts/slave/recipe_modules/chromium/example.py
+++ b/scripts/slave/recipe_modules/chromium/example.py
@@ -12,9 +12,10 @@ def RunSteps(api):
mastername = api.properties.get('mastername')
buildername = api.properties.get('buildername')
- api.chromium_tests.configure_build(mastername, buildername)
+ bot_desc = api.chromium_tests.create_bot_desc(mastername, buildername)
+ api.chromium_tests.configure_build(bot_desc)
update_step, bot_db = \
- api.chromium_tests.prepare_checkout(mastername, buildername)
+ api.chromium_tests.prepare_checkout(bot_desc)
#api.chromium_tests.compile(mastername, buildername, update_step, bot_db,
# out_dir='/tmp')
api.chromium.compile(targets=['All'], out_dir='/tmp')

Powered by Google App Engine
This is Rietveld 408576698