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

Unified Diff: scripts/slave/recipe_modules/test_results/config.py

Issue 2230043002: Make test-results upload URL configurable. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase Created 4 years, 4 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
« no previous file with comments | « scripts/slave/recipe_modules/test_results/api.py ('k') | scripts/slave/recipes/chromium.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/test_results/config.py
diff --git a/scripts/slave/recipe_modules/test_results/config.py b/scripts/slave/recipe_modules/test_results/config.py
new file mode 100644
index 0000000000000000000000000000000000000000..202faa9ca2cb7a271df55616b1382533703a4830
--- /dev/null
+++ b/scripts/slave/recipe_modules/test_results/config.py
@@ -0,0 +1,19 @@
+
+from recipe_engine.config import config_item_context, ConfigGroup, Single
+
+def BaseConfig(**_kwargs):
+ return ConfigGroup(
+ test_results_server = Single(basestring))
+
+
+config_ctx = config_item_context(BaseConfig)
+
+
+@config_ctx(is_root=True)
+def BASE(c):
+ pass
+
+@config_ctx()
+def public_server(c):
+ c.test_results_server = 'test-results.appspot.com'
+
« no previous file with comments | « scripts/slave/recipe_modules/test_results/api.py ('k') | scripts/slave/recipes/chromium.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698