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

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

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

Powered by Google App Engine
This is Rietveld 408576698