aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_nano_results.expected/upload.json
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipes/upload_nano_results.expected/upload.json')
-rw-r--r--infra/bots/recipes/upload_nano_results.expected/upload.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/infra/bots/recipes/upload_nano_results.expected/upload.json b/infra/bots/recipes/upload_nano_results.expected/upload.json
new file mode 100644
index 0000000000..e004853974
--- /dev/null
+++ b/infra/bots/recipes/upload_nano_results.expected/upload.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/",
+ "*.json"
+ ],
+ "cwd": "[START_DIR]/perfdata/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/data",
+ "name": "find results"
+ },
+ {
+ "cmd": [
+ "gsutil",
+ "cp",
+ "-a",
+ "public-read",
+ "-z",
+ "json",
+ "[START_DIR]/perfdata/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/data/nanobench_abc123.json",
+ "gs://skia-perf/nano-json-v1/2012/05/14/12/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/nanobench_abc123.json"
+ ],
+ "name": "upload"
+ },
+ {
+ "name": "$result",
+ "recipe_result": null,
+ "status_code": 0
+ }
+] \ No newline at end of file