diff options
author | 2017-06-16 13:10:22 -0400 | |
---|---|---|
committer | 2017-06-16 17:41:28 +0000 | |
commit | 3e2ffd74b57a917a4df8d64785a18cf79ff2aacd (patch) | |
tree | 5d504bbf1beb1610b0389cfafb6174e0de564754 /infra/bots/recipe_modules/skia_swarming/examples/full.expected | |
parent | 6ecc911070add386dc9ffeb8b131d21035672fb6 (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/recipe_modules/skia_swarming/examples/full.expected')
-rw-r--r-- | infra/bots/recipe_modules/skia_swarming/examples/full.expected/test.json | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/infra/bots/recipe_modules/skia_swarming/examples/full.expected/test.json b/infra/bots/recipe_modules/skia_swarming/examples/full.expected/test.json index 1ab18c6eba..2832ee6657 100644 --- a/infra/bots/recipe_modules/skia_swarming/examples/full.expected/test.json +++ b/infra/bots/recipe_modules/skia_swarming/examples/full.expected/test.json @@ -150,13 +150,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", "[START_DIR]/luci-go" ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, "infra_step": true, "name": "rmtree luci-go" }, @@ -164,11 +163,14 @@ "cmd": [ "python", "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "copytree", "mydir", - "[START_DIR]/luci-go", - "0" + "[START_DIR]/luci-go" ], + "infra_step": true, "name": "Copy Go binary" }, { @@ -179,6 +181,7 @@ "[START_DIR]/swarming_temp_dir", "511" ], + "infra_step": true, "name": "makedirs swarming tmp dir", "~followup_annotations": [ "@@@STEP_LOG_LINE@python.inline@@@@", @@ -197,10 +200,14 @@ "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", "{\n \"args\": [\n \"--isolate\", \n \"isolate_path\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-task.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"myvar\", \n \"myval\"\n ], \n \"dir\": \"isolate_dir\", \n \"version\": 1\n}", "[START_DIR]/swarming_temp_dir/task.isolated.gen.json" ], + "infra_step": true, "name": "Write task.isolated.gen.json" }, { |