| OLD | NEW |
| (Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "python", |
| 5 "-u", |
| 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 7 "--json-output", |
| 8 "/path/to/tmp/json", |
| 9 "copy", |
| 10 "Here is some text data", |
| 11 "[START_DIR]/some file" |
| 12 ], |
| 13 "infra_step": true, |
| 14 "name": "write a file", |
| 15 "timeout": 30 |
| 16 }, |
| 17 { |
| 18 "cmd": [ |
| 19 "python", |
| 20 "-u", |
| 21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 22 "--json-output", |
| 23 "/path/to/tmp/json", |
| 24 "copy", |
| 25 "[START_DIR]/some file", |
| 26 "[START_DIR]/new path" |
| 27 ], |
| 28 "infra_step": true, |
| 29 "name": "copy it" |
| 30 }, |
| 31 { |
| 32 "cmd": [ |
| 33 "python", |
| 34 "-u", |
| 35 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 36 "--json-output", |
| 37 "/path/to/tmp/json", |
| 38 "copy", |
| 39 "[START_DIR]/new path", |
| 40 "/path/to/tmp/" |
| 41 ], |
| 42 "infra_step": true, |
| 43 "name": "read it", |
| 44 "timeout": 30 |
| 45 }, |
| 46 { |
| 47 "cmd": [ |
| 48 "python", |
| 49 "-u", |
| 50 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 51 "--json-output", |
| 52 "/path/to/tmp/json", |
| 53 "move", |
| 54 "[START_DIR]/new path", |
| 55 "[START_DIR]/new new path" |
| 56 ], |
| 57 "infra_step": true, |
| 58 "name": "move it", |
| 59 "timeout": 5 |
| 60 }, |
| 61 { |
| 62 "cmd": [ |
| 63 "python", |
| 64 "-u", |
| 65 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 66 "--json-output", |
| 67 "/path/to/tmp/json", |
| 68 "copy", |
| 69 "[START_DIR]/new new path", |
| 70 "/path/to/tmp/" |
| 71 ], |
| 72 "infra_step": true, |
| 73 "name": "read it (2)", |
| 74 "timeout": 30 |
| 75 }, |
| 76 { |
| 77 "name": "$result", |
| 78 "recipe_result": null, |
| 79 "status_code": 0 |
| 80 } |
| 81 ] |
| OLD | NEW |