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 "build_repo_real", | 10 "build_repo_real", |
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': 'build', 'url': 'https://chromium.googleso
urce.com/chromium/tools/build.git'}]", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'build', 'url': 'https://chromium.googlesource.com/chromium/t
ools/build.git'}]", |
15 "--root", | 15 "--root", |
16 "build", | 16 "build", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"build\": \"got_revision\"}", | 18 "{\"build\": \"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 "build@HEAD", | 30 "build@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@ \"build\": \"HEAD\"@@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"build\": \"HEAD\"@@@", |
(...skipping 17 matching lines...) Expand all Loading... |
61 "@@@SET_BUILD_PROPERTY@got_revision@\"80754af91bfb6d1073585b046fe0a474ce86
8509\"@@@", | 62 "@@@SET_BUILD_PROPERTY@got_revision@\"80754af91bfb6d1073585b046fe0a474ce86
8509\"@@@", |
62 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#270553}\"@@@" | 63 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#270553}\"@@@" |
63 ] | 64 ] |
64 }, | 65 }, |
65 { | 66 { |
66 "cmd": [ | 67 "cmd": [ |
67 "python", | 68 "python", |
68 "-u", | 69 "-u", |
69 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 70 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
70 "--path", | 71 "--path", |
71 "[ROOT]/b/build/clone", | 72 "[BUILD]/clone", |
72 "--url", | 73 "--url", |
73 "https://chromium.googlesource.com/chromium/tools/build" | 74 "https://chromium.googlesource.com/chromium/tools/build" |
74 ], | 75 ], |
| 76 "cwd": "[SLAVE_BUILD]", |
75 "name": "git setup" | 77 "name": "git setup" |
76 }, | 78 }, |
77 { | 79 { |
78 "cmd": [ | 80 "cmd": [ |
79 "git", | 81 "git", |
80 "retry", | 82 "retry", |
81 "fetch", | 83 "fetch", |
82 "origin", | 84 "origin", |
83 "master" | 85 "master" |
84 ], | 86 ], |
85 "cwd": "[ROOT]/b/build/clone", | 87 "cwd": "[BUILD]/clone", |
86 "name": "git fetch" | 88 "name": "git fetch" |
87 }, | 89 }, |
88 { | 90 { |
89 "cmd": [ | 91 "cmd": [ |
90 "git", | 92 "git", |
91 "checkout", | 93 "checkout", |
92 "-f", | 94 "-f", |
93 "FETCH_HEAD" | 95 "FETCH_HEAD" |
94 ], | 96 ], |
95 "cwd": "[ROOT]/b/build/clone", | 97 "cwd": "[BUILD]/clone", |
96 "name": "git checkout" | 98 "name": "git checkout" |
97 }, | 99 }, |
98 { | 100 { |
99 "cmd": [ | 101 "cmd": [ |
100 "git", | 102 "git", |
101 "rev-parse", | 103 "rev-parse", |
102 "HEAD" | 104 "HEAD" |
103 ], | 105 ], |
104 "cwd": "[ROOT]/b/build/clone", | 106 "cwd": "[BUILD]/clone", |
105 "name": "read revision", | 107 "name": "read revision", |
106 "stdout": "/path/to/tmp/", | 108 "stdout": "/path/to/tmp/", |
107 "~followup_annotations": [ | 109 "~followup_annotations": [ |
108 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 110 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
109 ] | 111 ] |
110 }, | 112 }, |
111 { | 113 { |
112 "cmd": [ | 114 "cmd": [ |
113 "git", | 115 "git", |
114 "clean", | 116 "clean", |
115 "-f", | 117 "-f", |
116 "-d", | 118 "-d", |
117 "-x" | 119 "-x" |
118 ], | 120 ], |
119 "cwd": "[ROOT]/b/build/clone", | 121 "cwd": "[BUILD]/clone", |
120 "name": "git clean" | 122 "name": "git clean" |
121 }, | 123 }, |
122 { | 124 { |
123 "cmd": [ | 125 "cmd": [ |
124 "git", | 126 "git", |
125 "submodule", | 127 "submodule", |
126 "sync" | 128 "sync" |
127 ], | 129 ], |
128 "cwd": "[ROOT]/b/build/clone", | 130 "cwd": "[BUILD]/clone", |
129 "name": "submodule sync" | 131 "name": "submodule sync" |
130 }, | 132 }, |
131 { | 133 { |
132 "cmd": [ | 134 "cmd": [ |
133 "git", | 135 "git", |
134 "submodule", | 136 "submodule", |
135 "update", | 137 "update", |
136 "--init", | 138 "--init", |
137 "--recursive" | 139 "--recursive" |
138 ], | 140 ], |
139 "cwd": "[ROOT]/b/build/clone", | 141 "cwd": "[BUILD]/clone", |
140 "name": "submodule update" | 142 "name": "submodule update" |
141 }, | 143 }, |
142 { | 144 { |
143 "name": "$result", | 145 "name": "$result", |
144 "recipe_result": null, | 146 "recipe_result": null, |
145 "status_code": 0 | 147 "status_code": 0 |
146 } | 148 } |
147 ] | 149 ] |
OLD | NEW |