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.libyuv", | 8 "tryserver.libyuv", |
9 "--builder", | 9 "--builder", |
10 "mac_gn", | 10 "mac_gn", |
11 "--slave", | 11 "--slave", |
12 "slavename", | 12 "slavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_vars'
: {'root_dir': 'src'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url
': 'https://chromium.googlesource.com/libyuv/libyuv'}]", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'root_dir': 'src
'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromiu
m.googlesource.com/libyuv/libyuv'}]", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{}", | 18 "{}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--patch_url", | 21 "--patch_url", |
22 "try_job_svn_patch", | 22 "try_job_svn_patch", |
23 "--output_json", | 23 "--output_json", |
24 "/path/to/tmp/json", | 24 "/path/to/tmp/json", |
25 "--revision", | 25 "--revision", |
26 "src@12345", | 26 "src@12345", |
27 "--force", | 27 "--force", |
28 "--output_manifest" | 28 "--output_manifest" |
29 ], | 29 ], |
| 30 "cwd": "[SLAVE_BUILD]", |
30 "env": { | 31 "env": { |
31 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 32 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
32 }, | 33 }, |
33 "name": "bot_update", | 34 "name": "bot_update", |
34 "~followup_annotations": [ | 35 "~followup_annotations": [ |
35 "@@@STEP_TEXT@Some step text@@@", | 36 "@@@STEP_TEXT@Some step text@@@", |
36 "@@@STEP_LOG_LINE@json.output@{@@@", | 37 "@@@STEP_LOG_LINE@json.output@{@@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
38 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 39 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", |
40 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 41 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", |
42 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
43 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", |
44 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", | 45 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", |
45 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | 46 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", |
46 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | 47 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
47 "@@@STEP_LOG_LINE@json.output@}@@@", | 48 "@@@STEP_LOG_LINE@json.output@}@@@", |
48 "@@@STEP_LOG_END@json.output@@@" | 49 "@@@STEP_LOG_END@json.output@@@" |
49 ] | 50 ] |
50 }, | 51 }, |
51 { | 52 { |
52 "cmd": [ | 53 "cmd": [ |
53 "python", | 54 "python", |
54 "-u", | 55 "-u", |
55 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 56 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
56 "runhooks" | 57 "runhooks" |
57 ], | 58 ], |
| 59 "cwd": "[SLAVE_BUILD]", |
58 "env": { | 60 "env": { |
59 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 61 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
60 "GYP_CHROMIUM_NO_ACTION": "1", | 62 "GYP_CHROMIUM_NO_ACTION": "1", |
61 "GYP_DEFINES": "clang=1 component=shared_library dcheck_always_on=1 fastbu
ild=1 gomadir='[ROOT]/b/build/goma' target_arch=x64 use_goma=1", | 63 "GYP_DEFINES": "clang=1 component=shared_library dcheck_always_on=1 fastbu
ild=1 gomadir='[BUILD]/goma' target_arch=x64 use_goma=1", |
62 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 64 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
63 }, | 65 }, |
64 "name": "gclient runhooks" | 66 "name": "gclient runhooks" |
65 }, | 67 }, |
66 { | 68 { |
67 "cmd": [ | 69 "cmd": [ |
68 "python", | 70 "python", |
69 "-u", | 71 "-u", |
70 "[ROOT]/b/depot_tools/gn.py", | 72 "[DEPOT_TOOLS]/gn.py", |
71 "--root=[CWD]/src", | 73 "--root=[SLAVE_BUILD]/src", |
72 "gen", | 74 "gen", |
73 "//out/Debug", | 75 "//out/Debug", |
74 "--args=is_debug=true target_cpu=\"x64\" use_goma=true goma_dir=\"[ROOT]/b
/build/goma\"" | 76 "--args=is_debug=true target_cpu=\"x64\" use_goma=true goma_dir=\"[BUILD]/
goma\"" |
75 ], | 77 ], |
| 78 "cwd": "[SLAVE_BUILD]", |
76 "name": "gn" | 79 "name": "gn" |
77 }, | 80 }, |
78 { | 81 { |
79 "allow_subannotations": true, | 82 "allow_subannotations": true, |
80 "cmd": [ | 83 "cmd": [ |
81 "python", | 84 "python", |
82 "-u", | 85 "-u", |
83 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | 86 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
84 "--src-dir", | 87 "--src-dir", |
85 "[CWD]/src", | 88 "[SLAVE_BUILD]/src", |
86 "--output-json", | 89 "--output-json", |
87 "/path/to/tmp/json" | 90 "/path/to/tmp/json" |
88 ], | 91 ], |
| 92 "cwd": "[SLAVE_BUILD]", |
89 "env": { | 93 "env": { |
90 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 94 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
91 }, | 95 }, |
92 "name": "clang_revision", | 96 "name": "clang_revision", |
93 "~followup_annotations": [ | 97 "~followup_annotations": [ |
94 "@@@STEP_LOG_LINE@json.output@{@@@", | 98 "@@@STEP_LOG_LINE@json.output@{@@@", |
95 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 99 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
96 "@@@STEP_LOG_LINE@json.output@}@@@", | 100 "@@@STEP_LOG_LINE@json.output@}@@@", |
97 "@@@STEP_LOG_END@json.output@@@" | 101 "@@@STEP_LOG_END@json.output@@@" |
98 ] | 102 ] |
99 }, | 103 }, |
100 { | 104 { |
101 "cmd": [ | 105 "cmd": [ |
102 "python", | 106 "python", |
103 "-u", | 107 "-u", |
104 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 108 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
105 "--show-path", | 109 "--show-path", |
106 "python", | 110 "python", |
107 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 111 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
108 "--gsutil-py-path", | 112 "--gsutil-py-path", |
109 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 113 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
110 "--ninja-path", | 114 "--ninja-path", |
111 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 115 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
112 "--target", | 116 "--target", |
113 "Debug", | 117 "Debug", |
114 "--src-dir", | 118 "--src-dir", |
115 "[CWD]/src", | 119 "[SLAVE_BUILD]/src", |
116 "--goma-cache-dir", | 120 "--goma-cache-dir", |
117 "[ROOT]/b/build/slave/goma_cache", | 121 "[GOMA_CACHE]", |
118 "--build-tool", | 122 "--build-tool", |
119 "ninja", | 123 "ninja", |
120 "--compiler", | 124 "--compiler", |
121 "goma-clang", | 125 "goma-clang", |
122 "--goma-jsonstatus", | 126 "--goma-jsonstatus", |
123 "/path/to/tmp/json", | 127 "/path/to/tmp/json", |
124 "--goma-service-account-json-file", | 128 "--goma-service-account-json-file", |
125 "/creds/service_accounts/service-account-goma-client.json", | 129 "/creds/service_accounts/service-account-goma-client.json", |
126 "--goma-dir", | 130 "--goma-dir", |
127 "[ROOT]/b/build/goma", | 131 "[BUILD]/goma", |
128 "--goma-fail-fast", | 132 "--goma-fail-fast", |
129 "--goma-disable-local-fallback", | 133 "--goma-disable-local-fallback", |
130 "--", | 134 "--", |
131 "all" | 135 "all" |
132 ], | 136 ], |
| 137 "cwd": "[SLAVE_BUILD]", |
133 "env": { | 138 "env": { |
134 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 139 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
135 }, | 140 }, |
136 "name": "compile", | 141 "name": "compile", |
137 "~followup_annotations": [ | 142 "~followup_annotations": [ |
138 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 143 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
139 "@@@STEP_LOG_END@json.output (invalid)@@@" | 144 "@@@STEP_LOG_END@json.output (invalid)@@@" |
140 ] | 145 ] |
141 }, | 146 }, |
142 { | 147 { |
143 "name": "$result", | 148 "name": "$result", |
144 "recipe_result": null, | 149 "recipe_result": null, |
145 "status_code": 0 | 150 "status_code": 0 |
146 } | 151 } |
147 ] | 152 ] |
OLD | NEW |