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

Side by Side Diff: recipe_modules/step/example.expected/infra_failure.json

Issue 1906323003: recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: tmp Created 4 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
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "echo", 4 "echo",
5 "Hello World" 5 "Hello World"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]",
8 "name": "hello" 7 "name": "hello"
9 }, 8 },
10 { 9 {
11 "cmd": [ 10 "cmd": [
12 "echo", 11 "echo",
13 "Why hello, there." 12 "Why hello, there."
14 ], 13 ],
15 "cwd": "[SLAVE_BUILD]",
16 "name": "hello (2)" 14 "name": "hello (2)"
17 }, 15 },
18 { 16 {
19 "cmd": [ 17 "cmd": [
20 "bash", 18 "bash",
21 "-c", 19 "-c",
22 "echo Good bye, $friend." 20 "echo Good bye, $friend."
23 ], 21 ],
24 "cwd": "[SLAVE_BUILD]",
25 "env": { 22 "env": {
26 "friend": "Darth Vader" 23 "friend": "Darth Vader"
27 }, 24 },
28 "name": "goodbye" 25 "name": "goodbye"
29 }, 26 },
30 { 27 {
31 "cmd": [ 28 "cmd": [
32 "recipes.py", 29 "recipes.py",
33 "--help" 30 "--help"
34 ], 31 ],
35 "cwd": "[SLAVE_BUILD]",
36 "env": { 32 "env": {
37 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s" 33 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s"
38 }, 34 },
39 "name": "recipes help" 35 "name": "recipes help"
40 }, 36 },
41 { 37 {
42 "cmd": [ 38 "cmd": [
43 "bash", 39 "bash",
44 "-c", 40 "-c",
45 "exit 3" 41 "exit 3"
46 ], 42 ],
47 "cwd": "[SLAVE_BUILD]",
48 "name": "anything is cool" 43 "name": "anything is cool"
49 }, 44 },
50 { 45 {
51 "cmd": [ 46 "cmd": [
52 "echo", 47 "echo",
53 "hello" 48 "hello"
54 ], 49 ],
55 "cwd": "[SLAVE_BUILD]",
56 "name": "hello (3)", 50 "name": "hello (3)",
57 "~followup_annotations": [ 51 "~followup_annotations": [
58 "@@@STEP_LOG_LINE@the reason@The reason@@@", 52 "@@@STEP_LOG_LINE@the reason@The reason@@@",
59 "@@@STEP_LOG_LINE@the reason@it failed@@@", 53 "@@@STEP_LOG_LINE@the reason@it failed@@@",
60 "@@@STEP_LOG_END@the reason@@@", 54 "@@@STEP_LOG_END@the reason@@@",
61 "@@@STEP_EXCEPTION@@@" 55 "@@@STEP_EXCEPTION@@@"
62 ] 56 ]
63 }, 57 },
64 { 58 {
65 "cmd": [], 59 "cmd": [],
66 "cwd": "[SLAVE_BUILD]",
67 "name": "Just print stuff", 60 "name": "Just print stuff",
68 "~followup_annotations": [ 61 "~followup_annotations": [
69 "@@@STEP_LOG_LINE@more@More stuff@@@", 62 "@@@STEP_LOG_LINE@more@More stuff@@@",
70 "@@@STEP_LOG_END@more@@@" 63 "@@@STEP_LOG_END@more@@@"
71 ] 64 ]
72 }, 65 },
73 { 66 {
74 "cmd": [ 67 "cmd": [
75 "echo", 68 "echo",
76 "goodbye" 69 "goodbye"
77 ], 70 ],
78 "cwd": "[SLAVE_BUILD]",
79 "name": "goodbye (2)" 71 "name": "goodbye (2)"
80 }, 72 },
81 { 73 {
82 "cmd": [ 74 "cmd": [
83 "echo", 75 "echo",
84 "warning" 76 "warning"
85 ], 77 ],
86 "cwd": "[SLAVE_BUILD]",
87 "name": "warning" 78 "name": "warning"
88 }, 79 },
89 { 80 {
90 "cmd": [ 81 "cmd": [
91 "echo", 82 "echo",
92 "testa" 83 "testa"
93 ], 84 ],
94 "cwd": "[SLAVE_BUILD]",
95 "name": "testa" 85 "name": "testa"
96 }, 86 },
97 { 87 {
98 "cmd": [ 88 "cmd": [
99 "echo", 89 "echo",
100 "testb" 90 "testb"
101 ], 91 ],
102 "cwd": "[SLAVE_BUILD]",
103 "name": "testb" 92 "name": "testb"
104 }, 93 },
105 { 94 {
106 "cmd": [ 95 "cmd": [
107 "echo", 96 "echo",
108 "cleaning", 97 "cleaning",
109 "up", 98 "up",
110 "build" 99 "build"
111 ], 100 ],
112 "cwd": "[SLAVE_BUILD]",
113 "name": "cleanup", 101 "name": "cleanup",
114 "~followup_annotations": [ 102 "~followup_annotations": [
115 "step returned non-zero exit code: 1", 103 "step returned non-zero exit code: 1",
116 "@@@STEP_EXCEPTION@@@" 104 "@@@STEP_EXCEPTION@@@"
117 ] 105 ]
118 }, 106 },
119 { 107 {
120 "cmd": [ 108 "cmd": [
121 "python", 109 "python",
122 "-c", 110 "-c",
123 "import sys; print sys.argv", 111 "import sys; print sys.argv",
124 "echo", 112 "echo",
125 "main", 113 "main",
126 "application" 114 "application"
127 ], 115 ],
128 "cwd": "[SLAVE_BUILD]",
129 "name": "application" 116 "name": "application"
130 }, 117 },
131 { 118 {
132 "name": "$result", 119 "name": "$result",
133 "recipe_result": { 120 "recipe_result": {
134 "test_me": 3 121 "test_me": 3
135 }, 122 },
136 "status_code": 0 123 "status_code": 0
137 } 124 }
138 ] 125 ]
OLDNEW
« no previous file with comments | « recipe_modules/step/example.expected/exceptional.json ('k') | recipe_modules/step/example.expected/invalid_access.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698