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

Unified Diff: telemetry/telemetry/internal/story_runner.py

Issue 2241603003: [Telemetry] Allow custom upload bucket names (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: 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 | « telemetry/telemetry/internal/results/results_options.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/story_runner.py
diff --git a/telemetry/telemetry/internal/story_runner.py b/telemetry/telemetry/internal/story_runner.py
index cd0c9865b243e90a8b3916248d6c487ce7e780d7..5661f48087d7b2447854ce12c0e24d7a747cb6ce 100644
--- a/telemetry/telemetry/internal/story_runner.py
+++ b/telemetry/telemetry/internal/story_runner.py
@@ -321,8 +321,10 @@ def RunBenchmark(benchmark, finder_options):
return_code = 255
try:
- bucket = cloud_storage.BUCKET_ALIASES[finder_options.upload_bucket]
if finder_options.upload_results:
+ bucket = finder_options.upload_bucket
Zhen Wang 2016/08/12 17:35:27 Since now we allow arbitrary bucket name, if the b
perezju 2016/08/12 17:41:02 I thought about that. The user will get some log e
Zhen Wang 2016/08/12 17:48:21 Where do the custom buckets come from? Is that for
+ if bucket in cloud_storage.BUCKET_ALIASES:
+ bucket = cloud_storage.BUCKET_ALIASES[bucket]
results.UploadTraceFilesToCloud(bucket)
results.UploadProfilingFilesToCloud(bucket)
finally:
« no previous file with comments | « telemetry/telemetry/internal/results/results_options.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698