Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: recipe_modules/url/example.expected/basic.json

Issue 2868333004: Add URL recipe module from "depot_tools". (Closed)
Patch Set: fix/texst urllib methods, remove non_step Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "vpython",
5 "-u",
6 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
7 "--url",
8 "https://foo/bar",
9 "--status-json",
10 "/path/to/tmp/json",
11 "--outfile",
12 "[START_DIR]",
13 "--headers-json",
14 "{\"Authorization\": \"thing\"}"
15 ],
16 "name": "GET https://foo/bar"
17 },
18 {
19 "cmd": [
20 "vpython",
21 "-u",
22 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
23 "--url",
24 "https://foo/bar/error",
25 "--status-json",
26 "/path/to/tmp/json",
27 "--outfile",
28 "[START_DIR]"
29 ],
30 "name": "GET https://foo/bar/error"
31 },
32 {
33 "cmd": [
34 "vpython",
35 "-u",
36 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
37 "--url",
38 "https://foo/bar/text",
39 "--status-json",
40 "/path/to/tmp/json",
41 "--outfile",
42 "/path/to/tmp/"
43 ],
44 "name": "GET https://foo/bar/text"
45 },
46 {
47 "cmd": [
48 "vpython",
49 "-u",
50 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
51 "--url",
52 "https://foo/bar/text (w/ auth)",
53 "--status-json",
54 "/path/to/tmp/json",
55 "--outfile",
56 "/path/to/tmp/",
57 "--headers-json",
58 "{\"Authorization\": \"thing\"}",
59 "--no-transient-retry"
60 ],
61 "name": "GET https://foo/bar/text (w/ auth)"
62 },
63 {
64 "cmd": [
65 "vpython",
66 "-u",
67 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
68 "--url",
69 "https://foo/bar/text/error",
70 "--status-json",
71 "/path/to/tmp/json",
72 "--outfile",
73 "/path/to/tmp/"
74 ],
75 "infra_step": true,
76 "name": "GET https://foo/bar/text/error"
77 },
78 {
79 "cmd": [
80 "vpython",
81 "-u",
82 "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
83 "--url",
84 "https://foo/bar/json",
85 "--status-json",
86 "/path/to/tmp/json",
87 "--outfile",
88 "/path/to/tmp/json",
89 "--strip-prefix",
90 ")]}\n"
91 ],
92 "name": "GET https://foo/bar/json",
93 "~followup_annotations": [
94 "@@@STEP_LOG_LINE@json.output[output]@{@@@",
95 "@@@STEP_LOG_LINE@json.output[output]@ \"baz\": \"qux\", @@@",
96 "@@@STEP_LOG_LINE@json.output[output]@ \"foo\": \"bar\"@@@",
97 "@@@STEP_LOG_LINE@json.output[output]@}@@@",
98 "@@@STEP_LOG_END@json.output[output]@@@"
99 ]
100 },
101 {
102 "name": "$result",
103 "recipe_result": null,
104 "status_code": 0
105 }
106 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698