1 [ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "ensure-directory", 10 "--mode", 11 "0777", 12 "[CUSTOM_/_B_WORK]" 13 ], 14 "infra_step": true, 15 "name": "makedirs checkout_path" 16 }, 17 { 18 "cmd": [ 19 "python", 20 "-u", 21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 22 "--json-output", 23 "/path/to/tmp/json", 24 "remove", 25 "[CUSTOM_/_B_WORK]/.gclient_entries" 26 ], 27 "infra_step": true, 28 "name": "remove [CUSTOM_/_B_WORK]/.gclient_entries" 29 }, 30 { 31 "cmd": [ 32 "python", 33 "-u", 34 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 35 "--spec-path", 36 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]", 37 "--patch_root", 38 "skia", 39 "--revision_mapping_file", 40 "{\"got_revision\": \"skia\"}", 41 "--git-cache-dir", 42 "[CUSTOM_/_B_CACHE]", 43 "--cleanup-dir", 44 "[CLEANUP]/bot_update", 45 "--output_json", 46 "/path/to/tmp/json", 47 "--revision", 48 "skia@abc123", 49 "--revision", 50 "src@origin/lkcr" 51 ], 52 "cwd": "[CUSTOM_/_B_WORK]", 53 "env_prefixes": { 54 "PATH": [ 55 "RECIPE_PACKAGE_REPO[depot_tools]" 56 ] 57 }, 58 "infra_step": true, 59 "name": "bot_update", 60 "~followup_annotations": [ 61 "@@@STEP_TEXT@Some step text@@@", 62 "@@@STEP_LOG_LINE (a] json.output@{@@@", 63 "@@@STEP_LOG_LINE (a] json.output@ \"did_run\": true, @@@", 64 "@@@STEP_LOG_LINE (a] json.output@ \"fixed_revisions\": {@@@", 65 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": \"abc123\", @@@", 66 "@@@STEP_LOG_LINE (a] json.output@ \"src\": \"origin/lkcr\"@@@", 67 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 68 "@@@STEP_LOG_LINE (a] json.output@ \"manifest\": {@@@", 69 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": {@@@", 70 "@@@STEP_LOG_LINE (a] json.output@ \"repository\": \"https://fake.org/skia.git\", @@@", 71 "@@@STEP_LOG_LINE (a] json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 72 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 73 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 74 "@@@STEP_LOG_LINE (a] json.output@ \"patch_failure\": false, @@@", 75 "@@@STEP_LOG_LINE (a] json.output@ \"patch_root\": \"skia\", @@@", 76 "@@@STEP_LOG_LINE (a] json.output@ \"properties\": {@@@", 77 "@@@STEP_LOG_LINE (a] json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@", 78 "@@@STEP_LOG_LINE (a] json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@", 79 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 80 "@@@STEP_LOG_LINE (a] json.output@ \"root\": \"skia\", @@@", 81 "@@@STEP_LOG_LINE (a] json.output@ \"source_manifest\": {@@@", 82 "@@@STEP_LOG_LINE (a] json.output@ \"directories\": {@@@", 83 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": {@@@", 84 "@@@STEP_LOG_LINE (a] json.output@ \"git_checkout\": {@@@", 85 "@@@STEP_LOG_LINE (a] json.output@ \"repo_url\": \"https://fake.org/skia.git\", @@@", 86 "@@@STEP_LOG_LINE (a] json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 87 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 88 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 89 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 90 "@@@STEP_LOG_LINE (a] json.output@ \"version\": 0@@@", 91 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 92 "@@@STEP_LOG_LINE (a] json.output@ \"step_text\": \"Some step text\"@@@", 93 "@@@STEP_LOG_LINE (a] json.output@}@@@", 94 "@@@STEP_LOG_END (a] json.output@@@", 95 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 96 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" 97 ] 98 }, 99 { 100 "cmd": [ 101 "python", 102 "-u", 103 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 104 "runhooks" 105 ], 106 "cwd": "[CUSTOM_/_B_WORK]", 107 "env": { 108 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 109 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 110 }, 111 "name": "gclient runhooks" 112 }, 113 { 114 "cmd": [ 115 "python", 116 "-u", 117 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 118 "--json-output", 119 "/path/to/tmp/json", 120 "ensure-directory", 121 "--mode", 122 "0777", 123 "[START_DIR]/tmp" 124 ], 125 "infra_step": true, 126 "name": "makedirs tmp_dir" 127 }, 128 { 129 "cmd": [ 130 "[CUSTOM_/_B_WORK]/src/buildtools/linux64/gn", 131 "gen", 132 "[CUSTOM_/_B_WORK]/src/out/Release" 133 ], 134 "cwd": "[CUSTOM_/_B_WORK]/src", 135 "env": { 136 "BUILDTYPE": "Release", 137 "CHROME_HEADLESS": "1", 138 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 139 "GYP_GENERATORS": "ninja", 140 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 141 "SKIA_OUT": "[START_DIR]/out" 142 }, 143 "name": "GN" 144 }, 145 { 146 "cmd": [ 147 "ninja", 148 "-C", 149 "[CUSTOM_/_B_WORK]/src/out/Release", 150 "chrome" 151 ], 152 "cwd": "[CUSTOM_/_B_WORK]/src", 153 "env": { 154 "BUILDTYPE": "Release", 155 "CHROME_HEADLESS": "1", 156 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 157 "SKIA_OUT": "[START_DIR]/out" 158 }, 159 "name": "Build Chrome" 160 }, 161 { 162 "cmd": [ 163 "python", 164 "-u", 165 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 166 "--json-output", 167 "/path/to/tmp/json", 168 "ensure-directory", 169 "--mode", 170 "0777", 171 "[START_DIR]/skp_output" 172 ], 173 "infra_step": true, 174 "name": "makedirs skp_output" 175 }, 176 { 177 "cmd": [ 178 "python", 179 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skp/create.py", 180 "--chrome_src_path", 181 "[CUSTOM_/_B_WORK]/src", 182 "--browser_executable", 183 "[CUSTOM_/_B_WORK]/src/out/Release/chrome", 184 "--target_dir", 185 "[START_DIR]/skp_output" 186 ], 187 "cwd": "[CUSTOM_/_B_WORK]/skia", 188 "env": { 189 "BUILDTYPE": "Release", 190 "CHROME_HEADLESS": "1", 191 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 192 "SKIA_OUT": "[START_DIR]/out" 193 }, 194 "name": "Recreate SKPs" 195 }, 196 { 197 "cmd": [ 198 "[START_DIR]/go/go/bin/go", 199 "version" 200 ], 201 "env": { 202 "BUILDTYPE": "Release", 203 "CHROME_HEADLESS": "1", 204 "GOPATH": "[START_DIR]/gopath", 205 "GOROOT": "[START_DIR]/go/go", 206 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 207 "SKIA_OUT": "[START_DIR]/out" 208 }, 209 "name": "go version" 210 }, 211 { 212 "cmd": [ 213 "go", 214 "version" 215 ], 216 "env": { 217 "BUILDTYPE": "Release", 218 "CHROME_HEADLESS": "1", 219 "GOPATH": "[START_DIR]/gopath", 220 "GOROOT": "[START_DIR]/go/go", 221 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 222 "SKIA_OUT": "[START_DIR]/out" 223 }, 224 "name": "env go version" 225 }, 226 { 227 "cmd": [ 228 "[START_DIR]/go/go/bin/go", 229 "get", 230 "-u", 231 "-t", 232 "go.skia.org/infra/..." 233 ], 234 "env": { 235 "BUILDTYPE": "Release", 236 "CHROME_HEADLESS": "1", 237 "GOPATH": "[START_DIR]/gopath", 238 "GOROOT": "[START_DIR]/go/go", 239 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 240 "SKIA_OUT": "[START_DIR]/out" 241 }, 242 "name": "update go pkgs" 243 }, 244 { 245 "cmd": [ 246 "gsutil", 247 "cp", 248 "gs://skia-buildbots/artifacts/server/.gitcookies_update-skps", 249 "[START_DIR]/update_skps.git_cookies" 250 ], 251 "infra_step": true, 252 "name": "download gitcookies" 253 }, 254 { 255 "cmd": [ 256 "python", 257 "[CUSTOM_/_B_WORK]/skia/infra/bots/upload_skps.py", 258 "--target_dir", 259 "[START_DIR]/skp_output", 260 "--gitcookies", 261 "[START_DIR]/update_skps.git_cookies" 262 ], 263 "cwd": "[CUSTOM_/_B_WORK]/skia", 264 "env": { 265 "BUILDTYPE": "Release", 266 "CHROME_HEADLESS": "1", 267 "GOPATH": "[START_DIR]/gopath", 268 "GOROOT": "[START_DIR]/go/go", 269 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 270 "SKIA_OUT": "[START_DIR]/out" 271 }, 272 "name": "Upload SKPs" 273 }, 274 { 275 "cmd": [ 276 "python", 277 "-u", 278 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 279 "--json-output", 280 "/path/to/tmp/json", 281 "remove", 282 "[START_DIR]/update_skps.git_cookies" 283 ], 284 "infra_step": true, 285 "name": "remove [START_DIR]/update_skps.git_cookies" 286 }, 287 { 288 "name": "$result", 289 "recipe_result": null, 290 "status_code": 0 291 } 292 ]