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

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

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

Powered by Google App Engine
This is Rietveld 408576698