OLD | NEW |
(Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "/bin/echo", |
| 5 "foo/bar/baz" |
| 6 ], |
| 7 "name": "step1" |
| 8 }, |
| 9 { |
| 10 "cmd": [ |
| 11 "/bin/echo", |
| 12 "foo/bar/baz" |
| 13 ], |
| 14 "name": "step2" |
| 15 }, |
| 16 { |
| 17 "cmd": [ |
| 18 "/bin/echo", |
| 19 "foo/bar/baz//" |
| 20 ], |
| 21 "name": "step3" |
| 22 }, |
| 23 { |
| 24 "cmd": [ |
| 25 "/bin/echo", |
| 26 "foo/bar/baz//" |
| 27 ], |
| 28 "name": "step4" |
| 29 }, |
| 30 { |
| 31 "cmd": [ |
| 32 "vpython", |
| 33 "-u", |
| 34 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 35 "fake://foo/bar", |
| 36 "--status-json", |
| 37 "/path/to/tmp/json", |
| 38 "--outfile", |
| 39 "[START_DIR]", |
| 40 "--headers-json", |
| 41 "{\"Authorization\": \"thing\"}" |
| 42 ], |
| 43 "name": "GET fake://foo/bar" |
| 44 }, |
| 45 { |
| 46 "cmd": [ |
| 47 "vpython", |
| 48 "-u", |
| 49 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 50 "fake://foo/bar/error", |
| 51 "--status-json", |
| 52 "/path/to/tmp/json", |
| 53 "--outfile", |
| 54 "[START_DIR]" |
| 55 ], |
| 56 "name": "GET fake://foo/bar/error" |
| 57 }, |
| 58 { |
| 59 "cmd": [ |
| 60 "vpython", |
| 61 "-u", |
| 62 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 63 "fake://foo/bar/text", |
| 64 "--status-json", |
| 65 "/path/to/tmp/json", |
| 66 "--outfile", |
| 67 "/path/to/tmp/" |
| 68 ], |
| 69 "name": "GET fake://foo/bar/text" |
| 70 }, |
| 71 { |
| 72 "cmd": [ |
| 73 "vpython", |
| 74 "-u", |
| 75 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 76 "fake://foo/bar/text/error", |
| 77 "--status-json", |
| 78 "/path/to/tmp/json", |
| 79 "--outfile", |
| 80 "/path/to/tmp/" |
| 81 ], |
| 82 "name": "GET fake://foo/bar/text/error" |
| 83 }, |
| 84 { |
| 85 "cmd": [ |
| 86 "vpython", |
| 87 "-u", |
| 88 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 89 "fake://foo/bar/text/error2", |
| 90 "--status-json", |
| 91 "/path/to/tmp/json", |
| 92 "--outfile", |
| 93 "/path/to/tmp/" |
| 94 ], |
| 95 "name": "GET fake://foo/bar/text/error2" |
| 96 }, |
| 97 { |
| 98 "cmd": [ |
| 99 "vpython", |
| 100 "-u", |
| 101 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 102 "fake://foo/bar/text (w/ auth)", |
| 103 "--status-json", |
| 104 "/path/to/tmp/json", |
| 105 "--outfile", |
| 106 "/path/to/tmp/", |
| 107 "--headers-json", |
| 108 "{\"Authorization\": \"thing\"}", |
| 109 "--no-transient-retry" |
| 110 ], |
| 111 "name": "GET fake://foo/bar/text (w/ auth)" |
| 112 }, |
| 113 { |
| 114 "cmd": [ |
| 115 "vpython", |
| 116 "-u", |
| 117 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 118 "fake://foo/bar/json", |
| 119 "--status-json", |
| 120 "/path/to/tmp/json", |
| 121 "--outfile", |
| 122 "/path/to/tmp/json", |
| 123 "--strip-prefix", |
| 124 ")]}\n" |
| 125 ], |
| 126 "name": "GET fake://foo/bar/json", |
| 127 "~followup_annotations": [ |
| 128 "@@@STEP_LOG_LINE@json.output[output]@{@@@", |
| 129 "@@@STEP_LOG_LINE@json.output[output]@ \"baz\": \"qux\", @@@", |
| 130 "@@@STEP_LOG_LINE@json.output[output]@ \"foo\": \"bar\"@@@", |
| 131 "@@@STEP_LOG_LINE@json.output[output]@}@@@", |
| 132 "@@@STEP_LOG_END@json.output[output]@@@" |
| 133 ] |
| 134 }, |
| 135 { |
| 136 "cmd": [ |
| 137 "vpython", |
| 138 "-u", |
| 139 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| 140 "fake://foo/bar/json/error", |
| 141 "--status-json", |
| 142 "/path/to/tmp/json", |
| 143 "--outfile", |
| 144 "/path/to/tmp/json" |
| 145 ], |
| 146 "name": "GET fake://foo/bar/json/error" |
| 147 }, |
| 148 { |
| 149 "name": "$result", |
| 150 "recipe_result": null, |
| 151 "status_code": 0 |
| 152 } |
| 153 ] |
OLD | NEW |