aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/perf.expected/trybot.json
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2017-06-16 13:10:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-16 17:41:28 +0000
commit3e2ffd74b57a917a4df8d64785a18cf79ff2aacd (patch)
tree5d504bbf1beb1610b0389cfafb6174e0de564754 /infra/bots/recipes/perf.expected/trybot.json
parent6ecc911070add386dc9ffeb8b131d21035672fb6 (diff)
[recipes] Switch to file module from recipe_engine
Bug: skia:6704 Change-Id: Id3cefa643316e5676d2038a75240e16d929d6d63 Reviewed-on: https://skia-review.googlesource.com/20146 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra/bots/recipes/perf.expected/trybot.json')
-rw-r--r--infra/bots/recipes/perf.expected/trybot.json38
1 files changed, 28 insertions, 10 deletions
diff --git a/infra/bots/recipes/perf.expected/trybot.json b/infra/bots/recipes/perf.expected/trybot.json
index 27b0da6f5e..0193fb5232 100644
--- a/infra/bots/recipes/perf.expected/trybot.json
+++ b/infra/bots/recipes/perf.expected/trybot.json
@@ -3,7 +3,10 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
"[START_DIR]/skia/infra/bots/assets/skp/VERSION",
"/path/to/tmp/"
],
@@ -14,7 +17,10 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
"42",
"[START_DIR]/tmp/SKP_VERSION"
],
@@ -25,7 +31,10 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
"[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
"/path/to/tmp/"
],
@@ -36,7 +45,10 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
"42",
"[START_DIR]/tmp/SK_IMAGE_VERSION"
],
@@ -47,7 +59,10 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
"[START_DIR]/skia/infra/bots/assets/svg/VERSION",
"/path/to/tmp/"
],
@@ -58,7 +73,10 @@
"cmd": [
"python",
"-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
+ "copy",
"42",
"[START_DIR]/tmp/SVG_VERSION"
],
@@ -69,13 +87,12 @@
"cmd": [
"python",
"-u",
- "RECIPE_MODULE[skia::file]/resources/fileutil.py",
+ "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+ "--json-output",
+ "/path/to/tmp/json",
"rmtree",
"[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Win10-MSVC-ShuttleB-GPU-IntelHD4600-x86_64-Release/data"
],
- "env": {
- "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
- },
"infra_step": true,
"name": "rmtree data"
},
@@ -222,6 +239,7 @@
"[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Win10-MSVC-ShuttleB-GPU-IntelHD4600-x86_64-Release/data",
"511"
],
+ "infra_step": true,
"name": "makedirs perf_dir",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",