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.infra", | 8 "tryserver.infra", |
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 "--gerrit_repo", | 21 "--gerrit_repo", |
22 "https://chromium.googlesource.com/infra/infra", | 22 "https://chromium.googlesource.com/infra/infra", |
23 "--gerrit_ref", | 23 "--gerrit_ref", |
24 "refs/changes/11/338811/3", | 24 "refs/changes/11/338811/3", |
25 "--output_json", | 25 "--output_json", |
26 "/path/to/tmp/json", | 26 "/path/to/tmp/json", |
27 "--revision", | 27 "--revision", |
28 "infra@HEAD", | 28 "infra@HEAD", |
29 "--force", | 29 "--force", |
30 "--output_manifest" | 30 "--output_manifest" |
31 ], | 31 ], |
| 32 "cwd": "[SLAVE_BUILD]", |
32 "env": { | 33 "env": { |
33 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 34 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
34 }, | 35 }, |
35 "name": "bot_update", | 36 "name": "bot_update", |
36 "~followup_annotations": [ | 37 "~followup_annotations": [ |
37 "@@@STEP_TEXT@Some step text@@@", | 38 "@@@STEP_TEXT@Some step text@@@", |
38 "@@@STEP_LOG_LINE@json.output@{@@@", | 39 "@@@STEP_LOG_LINE@json.output@{@@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
40 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"HEAD\"@@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"HEAD\"@@@", |
(...skipping 23 matching lines...) Expand all Loading... |
65 "git", | 66 "git", |
66 "-c", | 67 "-c", |
67 "user.email=commit-bot@chromium.org", | 68 "user.email=commit-bot@chromium.org", |
68 "-c", | 69 "-c", |
69 "user.name=The Commit Bot", | 70 "user.name=The Commit Bot", |
70 "commit", | 71 "commit", |
71 "-a", | 72 "-a", |
72 "-m", | 73 "-m", |
73 "Committed patch" | 74 "Committed patch" |
74 ], | 75 ], |
75 "cwd": "[CWD]/infra", | 76 "cwd": "[SLAVE_BUILD]/infra", |
76 "name": "commit git patch" | 77 "name": "commit git patch" |
77 }, | 78 }, |
78 { | 79 { |
79 "cmd": [ | 80 "cmd": [ |
80 "python", | 81 "python", |
81 "-u", | 82 "-u", |
82 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 83 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
83 "runhooks" | 84 "runhooks" |
84 ], | 85 ], |
| 86 "cwd": "[SLAVE_BUILD]", |
85 "env": { | 87 "env": { |
86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
87 }, | 89 }, |
88 "name": "gclient runhooks" | 90 "name": "gclient runhooks" |
89 }, | 91 }, |
90 { | 92 { |
91 "cmd": [ | 93 "cmd": [ |
92 "git", | 94 "git", |
93 "diff", | 95 "diff", |
94 "--name-only", | 96 "--name-only", |
95 "HEAD", | 97 "HEAD", |
96 "HEAD~" | 98 "HEAD~" |
97 ], | 99 ], |
98 "cwd": "[CWD]/infra", | 100 "cwd": "[SLAVE_BUILD]/infra", |
99 "name": "get change list", | 101 "name": "get change list", |
100 "stdout": "/path/to/tmp/", | 102 "stdout": "/path/to/tmp/", |
101 "~followup_annotations": [ | 103 "~followup_annotations": [ |
102 "@@@STEP_LOG_LINE@change list@infra/stuff.py@@@", | 104 "@@@STEP_LOG_LINE@change list@infra/stuff.py@@@", |
103 "@@@STEP_LOG_LINE@change list@go/src/infra/stuff.go@@@", | 105 "@@@STEP_LOG_LINE@change list@go/src/infra/stuff.go@@@", |
104 "@@@STEP_LOG_END@change list@@@" | 106 "@@@STEP_LOG_END@change list@@@" |
105 ] | 107 ] |
106 }, | 108 }, |
107 { | 109 { |
108 "cmd": [ | 110 "cmd": [ |
109 "python", | 111 "python", |
110 "-u", | 112 "-u", |
111 "test.py", | 113 "test.py", |
112 "test" | 114 "test" |
113 ], | 115 ], |
114 "cwd": "[CWD]/infra", | 116 "cwd": "[SLAVE_BUILD]/infra", |
115 "name": "python tests" | 117 "name": "python tests" |
116 }, | 118 }, |
117 { | 119 { |
118 "cmd": [ | 120 "cmd": [ |
119 "python", | 121 "python", |
120 "-u", | 122 "-u", |
121 "[CWD]/infra/go/env.py" | 123 "[SLAVE_BUILD]/infra/go/env.py" |
122 ], | 124 ], |
| 125 "cwd": "[SLAVE_BUILD]", |
123 "name": "go bootstrap" | 126 "name": "go bootstrap" |
124 }, | 127 }, |
125 { | 128 { |
126 "cmd": [ | 129 "cmd": [ |
127 "python", | 130 "python", |
128 "-u", | 131 "-u", |
129 "[CWD]/infra/go/env.py", | 132 "[SLAVE_BUILD]/infra/go/env.py", |
130 "python", | 133 "python", |
131 "[CWD]/infra/go/test.py" | 134 "[SLAVE_BUILD]/infra/go/test.py" |
132 ], | 135 ], |
| 136 "cwd": "[SLAVE_BUILD]", |
133 "name": "go tests" | 137 "name": "go tests" |
134 }, | 138 }, |
135 { | 139 { |
136 "name": "$result", | 140 "name": "$result", |
137 "recipe_result": null, | 141 "recipe_result": null, |
138 "status_code": 0 | 142 "status_code": 0 |
139 } | 143 } |
140 ] | 144 ] |
OLD | NEW |