OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "tryserver.chromium.linux", | 8 "tryserver.chromium.linux", |
9 "--builder", | 9 "--builder", |
10 "infra_tester", | 10 "infra_tester", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googleso
urce.com/infra/infra.git'}]", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infr
a.git'}]", |
15 "--root", | 15 "--root", |
16 "infra", | 16 "infra", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"infra\": \"got_revision\"}", | 18 "{\"infra\": \"got_revision\"}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--issue", | 21 "--issue", |
22 "12853011", | 22 "12853011", |
23 "--patchset", | 23 "--patchset", |
24 "1", | 24 "1", |
25 "--rietveld_server", | 25 "--rietveld_server", |
26 "https://codereview.chromium.org", | 26 "https://codereview.chromium.org", |
27 "--output_json", | 27 "--output_json", |
28 "/path/to/tmp/json", | 28 "/path/to/tmp/json", |
29 "--revision", | 29 "--revision", |
30 "infra@HEAD", | 30 "infra@HEAD", |
31 "--force", | 31 "--force", |
32 "--output_manifest" | 32 "--output_manifest" |
33 ], | 33 ], |
| 34 "cwd": "[SLAVE_BUILD]", |
34 "env": { | 35 "env": { |
35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
36 }, | 37 }, |
37 "name": "bot_update", | 38 "name": "bot_update", |
38 "~followup_annotations": [ | 39 "~followup_annotations": [ |
39 "@@@STEP_TEXT@Some step text@@@", | 40 "@@@STEP_TEXT@Some step text@@@", |
40 "@@@STEP_LOG_LINE@json.output@{@@@", | 41 "@@@STEP_LOG_LINE@json.output@{@@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
42 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
43 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"HEAD\"@@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"HEAD\"@@@", |
(...skipping 23 matching lines...) Expand all Loading... |
67 "git", | 68 "git", |
68 "-c", | 69 "-c", |
69 "user.email=commit-bot@chromium.org", | 70 "user.email=commit-bot@chromium.org", |
70 "-c", | 71 "-c", |
71 "user.name=The Commit Bot", | 72 "user.name=The Commit Bot", |
72 "commit", | 73 "commit", |
73 "-a", | 74 "-a", |
74 "-m", | 75 "-m", |
75 "Committed patch" | 76 "Committed patch" |
76 ], | 77 ], |
77 "cwd": "[CWD]/infra", | 78 "cwd": "[SLAVE_BUILD]/infra", |
78 "name": "commit git patch" | 79 "name": "commit git patch" |
79 }, | 80 }, |
80 { | 81 { |
81 "cmd": [ | 82 "cmd": [ |
82 "python", | 83 "python", |
83 "-u", | 84 "-u", |
84 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 85 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
85 "runhooks" | 86 "runhooks" |
86 ], | 87 ], |
| 88 "cwd": "[SLAVE_BUILD]", |
87 "env": { | 89 "env": { |
88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 90 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
89 }, | 91 }, |
90 "name": "gclient runhooks" | 92 "name": "gclient runhooks" |
91 }, | 93 }, |
92 { | 94 { |
93 "cmd": [ | 95 "cmd": [ |
94 "git", | 96 "git", |
95 "diff", | 97 "diff", |
96 "--name-only", | 98 "--name-only", |
97 "HEAD", | 99 "HEAD", |
98 "HEAD~" | 100 "HEAD~" |
99 ], | 101 ], |
100 "cwd": "[CWD]/infra", | 102 "cwd": "[SLAVE_BUILD]/infra", |
101 "name": "get change list", | 103 "name": "get change list", |
102 "stdout": "/path/to/tmp/", | 104 "stdout": "/path/to/tmp/", |
103 "~followup_annotations": [ | 105 "~followup_annotations": [ |
104 "@@@STEP_LOG_LINE@change list@appengine/chromium_rietveld/codereview/views
.py@@@", | 106 "@@@STEP_LOG_LINE@change list@appengine/chromium_rietveld/codereview/views
.py@@@", |
105 "@@@STEP_LOG_END@change list@@@" | 107 "@@@STEP_LOG_END@change list@@@" |
106 ] | 108 ] |
107 }, | 109 }, |
108 { | 110 { |
109 "cmd": [ | 111 "cmd": [ |
110 "python", | 112 "python", |
111 "-u", | 113 "-u", |
112 "test.py", | 114 "test.py", |
113 "test" | 115 "test" |
114 ], | 116 ], |
115 "cwd": "[CWD]/infra", | 117 "cwd": "[SLAVE_BUILD]/infra", |
116 "name": "python tests" | 118 "name": "python tests" |
117 }, | 119 }, |
118 { | 120 { |
119 "cmd": [ | 121 "cmd": [ |
120 "python", | 122 "python", |
121 "-u", | 123 "-u", |
122 "[CWD]/infra/go/env.py" | 124 "[SLAVE_BUILD]/infra/go/env.py" |
123 ], | 125 ], |
| 126 "cwd": "[SLAVE_BUILD]", |
124 "name": "go bootstrap" | 127 "name": "go bootstrap" |
125 }, | 128 }, |
126 { | 129 { |
127 "cmd": [ | 130 "cmd": [ |
128 "python", | 131 "python", |
129 "-u", | 132 "-u", |
130 "[CWD]/infra/go/env.py", | 133 "[SLAVE_BUILD]/infra/go/env.py", |
131 "python", | 134 "python", |
132 "[CWD]/infra/go/test.py" | 135 "[SLAVE_BUILD]/infra/go/test.py" |
133 ], | 136 ], |
| 137 "cwd": "[SLAVE_BUILD]", |
134 "name": "go tests" | 138 "name": "go tests" |
135 }, | 139 }, |
136 { | 140 { |
137 "cmd": [ | 141 "cmd": [ |
138 "make", | 142 "make", |
139 "-C", | 143 "-C", |
140 "appengine/chromium_rietveld", | 144 "appengine/chromium_rietveld", |
141 "test" | 145 "test" |
142 ], | 146 ], |
143 "cwd": "[CWD]/infra", | 147 "cwd": "[SLAVE_BUILD]/infra", |
144 "name": "rietveld tests" | 148 "name": "rietveld tests" |
145 }, | 149 }, |
146 { | 150 { |
147 "name": "$result", | 151 "name": "$result", |
148 "recipe_result": null, | 152 "recipe_result": null, |
149 "status_code": 0 | 153 "status_code": 0 |
150 } | 154 } |
151 ] | 155 ] |
OLD | NEW |