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::git]/resources/git_setup.py", 35 "--path", 36 "[CUSTOM_/_B_WORK]/depot_tools", 37 "--url", 38 "https://chromium.googlesource.com/chromium/tools/depot_tools.git" 39 ], 40 "name": "git setup" 41 }, 42 { 43 "cmd": [ 44 "git", 45 "retry", 46 "fetch", 47 "origin", 48 "master", 49 "--progress" 50 ], 51 "cwd": "[CUSTOM_/_B_WORK]/depot_tools", 52 "env": { 53 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" 54 }, 55 "infra_step": true, 56 "name": "git fetch" 57 }, 58 { 59 "cmd": [ 60 "git", 61 "checkout", 62 "-f", 63 "FETCH_HEAD" 64 ], 65 "cwd": "[CUSTOM_/_B_WORK]/depot_tools", 66 "infra_step": true, 67 "name": "git checkout" 68 }, 69 { 70 "cmd": [ 71 "git", 72 "rev-parse", 73 "HEAD" 74 ], 75 "cwd": "[CUSTOM_/_B_WORK]/depot_tools", 76 "infra_step": true, 77 "name": "read revision", 78 "stdout": "/path/to/tmp/", 79 "~followup_annotations": [ 80 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" 81 ] 82 }, 83 { 84 "cmd": [ 85 "git", 86 "clean", 87 "-f", 88 "-d", 89 "-x" 90 ], 91 "cwd": "[CUSTOM_/_B_WORK]/depot_tools", 92 "infra_step": true, 93 "name": "git clean" 94 }, 95 { 96 "cmd": [ 97 "git", 98 "submodule", 99 "sync" 100 ], 101 "cwd": "[CUSTOM_/_B_WORK]/depot_tools", 102 "infra_step": true, 103 "name": "submodule sync" 104 }, 105 { 106 "cmd": [ 107 "git", 108 "submodule", 109 "update", 110 "--init", 111 "--recursive" 112 ], 113 "cwd": "[CUSTOM_/_B_WORK]/depot_tools", 114 "infra_step": true, 115 "name": "submodule update" 116 }, 117 { 118 "cmd": [ 119 "python", 120 "-u", 121 "[CUSTOM_/_B_WORK]/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py", 122 "--spec-path", 123 "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'}]", 124 "--patch_root", 125 "skia", 126 "--revision_mapping_file", 127 "{\"got_revision\": \"skia\"}", 128 "--git-cache-dir", 129 "[CUSTOM_/_B_CACHE]", 130 "--cleanup-dir", 131 "[CLEANUP]/bot_update", 132 "--output_json", 133 "/path/to/tmp/json", 134 "--revision", 135 "skia@abc123", 136 "--revision", 137 "src@origin/lkcr" 138 ], 139 "cwd": "[CUSTOM_/_B_WORK]", 140 "env_prefixes": { 141 "PATH": [ 142 "RECIPE_PACKAGE_REPO[depot_tools]" 143 ] 144 }, 145 "infra_step": true, 146 "name": "bot_update", 147 "~followup_annotations": [ 148 "@@@STEP_TEXT@Some step text@@@", 149 "@@@STEP_LOG_LINE (a] json.output@{@@@", 150 "@@@STEP_LOG_LINE (a] json.output@ \"did_run\": true, @@@", 151 "@@@STEP_LOG_LINE (a] json.output@ \"fixed_revisions\": {@@@", 152 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": \"abc123\", @@@", 153 "@@@STEP_LOG_LINE (a] json.output@ \"src\": \"origin/lkcr\"@@@", 154 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 155 "@@@STEP_LOG_LINE (a] json.output@ \"manifest\": {@@@", 156 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": {@@@", 157 "@@@STEP_LOG_LINE (a] json.output@ \"repository\": \"https://fake.org/skia.git\", @@@", 158 "@@@STEP_LOG_LINE (a] json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 159 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 160 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 161 "@@@STEP_LOG_LINE (a] json.output@ \"patch_failure\": false, @@@", 162 "@@@STEP_LOG_LINE (a] json.output@ \"patch_root\": \"skia\", @@@", 163 "@@@STEP_LOG_LINE (a] json.output@ \"properties\": {@@@", 164 "@@@STEP_LOG_LINE (a] json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@", 165 "@@@STEP_LOG_LINE (a] json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@", 166 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 167 "@@@STEP_LOG_LINE (a] json.output@ \"root\": \"skia\", @@@", 168 "@@@STEP_LOG_LINE (a] json.output@ \"source_manifest\": {@@@", 169 "@@@STEP_LOG_LINE (a] json.output@ \"directories\": {@@@", 170 "@@@STEP_LOG_LINE (a] json.output@ \"skia\": {@@@", 171 "@@@STEP_LOG_LINE (a] json.output@ \"git_checkout\": {@@@", 172 "@@@STEP_LOG_LINE (a] json.output@ \"repo_url\": \"https://fake.org/skia.git\", @@@", 173 "@@@STEP_LOG_LINE (a] json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 174 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 175 "@@@STEP_LOG_LINE (a] json.output@ }@@@", 176 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 177 "@@@STEP_LOG_LINE (a] json.output@ \"version\": 0@@@", 178 "@@@STEP_LOG_LINE (a] json.output@ }, @@@", 179 "@@@STEP_LOG_LINE (a] json.output@ \"step_text\": \"Some step text\"@@@", 180 "@@@STEP_LOG_LINE (a] json.output@}@@@", 181 "@@@STEP_LOG_END (a] json.output@@@", 182 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 183 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" 184 ] 185 }, 186 { 187 "cmd": [ 188 "[CUSTOM_/_B_WORK]/depot_tools/gclient", 189 "runhooks" 190 ], 191 "cwd": "[CUSTOM_/_B_WORK]", 192 "env": { 193 "BUILDTYPE": "Release", 194 "CHROME_HEADLESS": "1", 195 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 196 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 197 "SKIA_OUT": "[START_DIR]/out" 198 }, 199 "name": "gclient runhooks" 200 }, 201 { 202 "cmd": [ 203 "python", 204 "-u", 205 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 206 "--json-output", 207 "/path/to/tmp/json", 208 "ensure-directory", 209 "--mode", 210 "0777", 211 "[START_DIR]/tmp" 212 ], 213 "infra_step": true, 214 "name": "makedirs tmp_dir" 215 }, 216 { 217 "cmd": [ 218 "[CUSTOM_/_B_WORK]/src/buildtools/linux64/gn", 219 "gen", 220 "[CUSTOM_/_B_WORK]/src/out/Release" 221 ], 222 "cwd": "[CUSTOM_/_B_WORK]/src", 223 "env": { 224 "BUILDTYPE": "Release", 225 "CHROME_HEADLESS": "1", 226 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 227 "GYP_GENERATORS": "ninja", 228 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 229 "SKIA_OUT": "[START_DIR]/out" 230 }, 231 "name": "GN" 232 }, 233 { 234 "cmd": [ 235 "ninja", 236 "-C", 237 "[CUSTOM_/_B_WORK]/src/out/Release", 238 "chrome" 239 ], 240 "cwd": "[CUSTOM_/_B_WORK]/src", 241 "env": { 242 "BUILDTYPE": "Release", 243 "CHROME_HEADLESS": "1", 244 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 245 "SKIA_OUT": "[START_DIR]/out" 246 }, 247 "name": "Build Chrome" 248 }, 249 { 250 "cmd": [ 251 "python", 252 "-u", 253 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 254 "--json-output", 255 "/path/to/tmp/json", 256 "rmtree", 257 "[START_DIR]/skp_output" 258 ], 259 "infra_step": true, 260 "name": "rmtree skp_output" 261 }, 262 { 263 "cmd": [ 264 "python", 265 "-u", 266 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 267 "--json-output", 268 "/path/to/tmp/json", 269 "ensure-directory", 270 "--mode", 271 "0777", 272 "[START_DIR]/skp_output" 273 ], 274 "infra_step": true, 275 "name": "makedirs skp_output" 276 }, 277 { 278 "cmd": [ 279 "python", 280 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skp/create.py", 281 "--chrome_src_path", 282 "[CUSTOM_/_B_WORK]/src", 283 "--browser_executable", 284 "[CUSTOM_/_B_WORK]/src/out/Release/chrome", 285 "--target_dir", 286 "[START_DIR]/skp_output" 287 ], 288 "cwd": "[CUSTOM_/_B_WORK]/skia", 289 "env": { 290 "BUILDTYPE": "Release", 291 "CHROME_HEADLESS": "1", 292 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 293 "SKIA_OUT": "[START_DIR]/out" 294 }, 295 "name": "Recreate SKPs" 296 }, 297 { 298 "name": "$result", 299 "recipe_result": null, 300 "status_code": 0 301 } 302 ]