Index: infra/bots/recipes/upload_nano_results.expected/trybot.json |
diff --git a/infra/bots/recipes/upload_nano_results.expected/trybot.json b/infra/bots/recipes/upload_nano_results.expected/trybot.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ad0fe4b181d9f462378dd12d4b4462aa8b6478c |
--- /dev/null |
+++ b/infra/bots/recipes/upload_nano_results.expected/trybot.json |
@@ -0,0 +1,31 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n", |
+ "/path/to/tmp/", |
+ "nanobench*.json" |
+ ], |
+ "cwd": "[CWD]/perfdata/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/data", |
+ "name": "find results" |
+ }, |
+ { |
+ "cmd": [ |
+ "gsutil", |
+ "cp", |
+ "-a", |
+ "public-read", |
+ "-z", |
+ "json", |
+ "[CWD]/perfdata/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/data/nanobench_abc123.json", |
+ "gs://skia-perf/trybot/nano-json-v1/2012/05/14/12/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/12345/1002/nanobench_abc123.json" |
+ ], |
+ "name": "upload" |
+ }, |
+ { |
+ "name": "$result", |
+ "recipe_result": null, |
+ "status_code": 0 |
+ } |
+] |