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@infra/stuff.py@@@", | 106 "@@@STEP_LOG_LINE@change list@infra/stuff.py@@@", |
105 "@@@STEP_LOG_LINE@change list@go/src/infra/stuff.go@@@", | 107 "@@@STEP_LOG_LINE@change list@go/src/infra/stuff.go@@@", |
106 "@@@STEP_LOG_END@change list@@@" | 108 "@@@STEP_LOG_END@change list@@@" |
107 ] | 109 ] |
108 }, | 110 }, |
109 { | 111 { |
110 "cmd": [ | 112 "cmd": [ |
111 "python", | 113 "python", |
112 "-u", | 114 "-u", |
113 "test.py", | 115 "test.py", |
114 "test" | 116 "test" |
115 ], | 117 ], |
116 "cwd": "[CWD]/infra", | 118 "cwd": "[SLAVE_BUILD]/infra", |
117 "name": "python tests" | 119 "name": "python tests" |
118 }, | 120 }, |
119 { | 121 { |
120 "cmd": [ | 122 "cmd": [ |
121 "python", | 123 "python", |
122 "-u", | 124 "-u", |
123 "[CWD]/infra/go/env.py" | 125 "[SLAVE_BUILD]/infra/go/env.py" |
124 ], | 126 ], |
| 127 "cwd": "[SLAVE_BUILD]", |
125 "name": "go bootstrap" | 128 "name": "go bootstrap" |
126 }, | 129 }, |
127 { | 130 { |
128 "cmd": [ | 131 "cmd": [ |
129 "python", | 132 "python", |
130 "-u", | 133 "-u", |
131 "[CWD]/infra/go/env.py", | 134 "[SLAVE_BUILD]/infra/go/env.py", |
132 "python", | 135 "python", |
133 "[CWD]/infra/go/test.py" | 136 "[SLAVE_BUILD]/infra/go/test.py" |
134 ], | 137 ], |
| 138 "cwd": "[SLAVE_BUILD]", |
135 "name": "go tests" | 139 "name": "go tests" |
136 }, | 140 }, |
137 { | 141 { |
138 "name": "$result", | 142 "name": "$result", |
139 "recipe_result": null, | 143 "recipe_result": null, |
140 "status_code": 0 | 144 "status_code": 0 |
141 } | 145 } |
142 ] | 146 ] |
OLD | NEW |