Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [], |
| 4 | "name": "checkout source code" |
| 5 | }, |
| 6 | { |
| 7 | "cmd": [], |
| 8 | "name": "checkout source code.Checkout flutter/flutter", |
| 9 | "~followup_annotations": [ |
| 10 | "@@@STEP_NEST_LEVEL@1@@@" |
| 11 | ] |
| 12 | }, |
| 13 | { |
| 14 | "cmd": [ |
| 15 | "python", |
| 16 | "-u", |
| 17 | "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 18 | "--path", |
| 19 | "[START_DIR]/flutter", |
| 20 | "--url", |
| 21 | "https://chromium.googlesource.com/external/github.com/flutter/flutter" |
| 22 | ], |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 23 | "luci_context": { |
| 24 | "realm": { |
| 25 | "name": "project:ci" |
| 26 | }, |
| 27 | "resultdb": { |
| 28 | "current_invocation": { |
| 29 | "name": "invocations/build:8945511751514863184", |
| 30 | "update_token": "token" |
| 31 | }, |
| 32 | "hostname": "rdbhost" |
| 33 | } |
| 34 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 35 | "name": "checkout source code.Checkout flutter/flutter.git setup", |
| 36 | "~followup_annotations": [ |
| 37 | "@@@STEP_NEST_LEVEL@2@@@" |
| 38 | ] |
| 39 | }, |
| 40 | { |
| 41 | "cmd": [ |
| 42 | "git", |
| 43 | "fetch", |
| 44 | "origin", |
| 45 | "master", |
| 46 | "--recurse-submodules", |
| 47 | "--progress", |
| 48 | "--tags" |
| 49 | ], |
| 50 | "cwd": "[START_DIR]/flutter", |
| 51 | "env": { |
| 52 | "PATH": "RECIPE_REPO[depot_tools]:<PATH>" |
| 53 | }, |
| 54 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 55 | "luci_context": { |
| 56 | "realm": { |
| 57 | "name": "project:ci" |
| 58 | }, |
| 59 | "resultdb": { |
| 60 | "current_invocation": { |
| 61 | "name": "invocations/build:8945511751514863184", |
| 62 | "update_token": "token" |
| 63 | }, |
| 64 | "hostname": "rdbhost" |
| 65 | } |
| 66 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 67 | "name": "checkout source code.Checkout flutter/flutter.git fetch", |
| 68 | "~followup_annotations": [ |
| 69 | "@@@STEP_NEST_LEVEL@2@@@" |
| 70 | ] |
| 71 | }, |
| 72 | { |
| 73 | "cmd": [ |
| 74 | "git", |
| 75 | "checkout", |
| 76 | "-f", |
| 77 | "FETCH_HEAD" |
| 78 | ], |
| 79 | "cwd": "[START_DIR]/flutter", |
| 80 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 81 | "luci_context": { |
| 82 | "realm": { |
| 83 | "name": "project:ci" |
| 84 | }, |
| 85 | "resultdb": { |
| 86 | "current_invocation": { |
| 87 | "name": "invocations/build:8945511751514863184", |
| 88 | "update_token": "token" |
| 89 | }, |
| 90 | "hostname": "rdbhost" |
| 91 | } |
| 92 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 93 | "name": "checkout source code.Checkout flutter/flutter.git checkout", |
| 94 | "~followup_annotations": [ |
| 95 | "@@@STEP_NEST_LEVEL@2@@@" |
| 96 | ] |
| 97 | }, |
| 98 | { |
| 99 | "cmd": [ |
| 100 | "git", |
| 101 | "rev-parse", |
| 102 | "HEAD" |
| 103 | ], |
| 104 | "cwd": "[START_DIR]/flutter", |
| 105 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 106 | "luci_context": { |
| 107 | "realm": { |
| 108 | "name": "project:ci" |
| 109 | }, |
| 110 | "resultdb": { |
| 111 | "current_invocation": { |
| 112 | "name": "invocations/build:8945511751514863184", |
| 113 | "update_token": "token" |
| 114 | }, |
| 115 | "hostname": "rdbhost" |
| 116 | } |
| 117 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 118 | "name": "checkout source code.Checkout flutter/flutter.read revision", |
| 119 | "~followup_annotations": [ |
| 120 | "@@@STEP_NEST_LEVEL@2@@@", |
| 121 | "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", |
| 122 | "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
| 123 | ] |
| 124 | }, |
| 125 | { |
| 126 | "cmd": [ |
| 127 | "git", |
| 128 | "clean", |
| 129 | "-f", |
| 130 | "-d", |
| 131 | "-x" |
| 132 | ], |
| 133 | "cwd": "[START_DIR]/flutter", |
| 134 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 135 | "luci_context": { |
| 136 | "realm": { |
| 137 | "name": "project:ci" |
| 138 | }, |
| 139 | "resultdb": { |
| 140 | "current_invocation": { |
| 141 | "name": "invocations/build:8945511751514863184", |
| 142 | "update_token": "token" |
| 143 | }, |
| 144 | "hostname": "rdbhost" |
| 145 | } |
| 146 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 147 | "name": "checkout source code.Checkout flutter/flutter.git clean", |
| 148 | "~followup_annotations": [ |
| 149 | "@@@STEP_NEST_LEVEL@2@@@" |
| 150 | ] |
| 151 | }, |
| 152 | { |
| 153 | "cmd": [ |
| 154 | "git", |
| 155 | "submodule", |
| 156 | "sync" |
| 157 | ], |
| 158 | "cwd": "[START_DIR]/flutter", |
| 159 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 160 | "luci_context": { |
| 161 | "realm": { |
| 162 | "name": "project:ci" |
| 163 | }, |
| 164 | "resultdb": { |
| 165 | "current_invocation": { |
| 166 | "name": "invocations/build:8945511751514863184", |
| 167 | "update_token": "token" |
| 168 | }, |
| 169 | "hostname": "rdbhost" |
| 170 | } |
| 171 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 172 | "name": "checkout source code.Checkout flutter/flutter.submodule sync", |
| 173 | "~followup_annotations": [ |
| 174 | "@@@STEP_NEST_LEVEL@2@@@" |
| 175 | ] |
| 176 | }, |
| 177 | { |
| 178 | "cmd": [ |
| 179 | "git", |
| 180 | "submodule", |
| 181 | "update", |
| 182 | "--init", |
| 183 | "--recursive" |
| 184 | ], |
| 185 | "cwd": "[START_DIR]/flutter", |
| 186 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 187 | "luci_context": { |
| 188 | "realm": { |
| 189 | "name": "project:ci" |
| 190 | }, |
| 191 | "resultdb": { |
| 192 | "current_invocation": { |
| 193 | "name": "invocations/build:8945511751514863184", |
| 194 | "update_token": "token" |
| 195 | }, |
| 196 | "hostname": "rdbhost" |
| 197 | } |
| 198 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 199 | "name": "checkout source code.Checkout flutter/flutter.submodule update", |
| 200 | "~followup_annotations": [ |
| 201 | "@@@STEP_NEST_LEVEL@2@@@" |
| 202 | ] |
| 203 | }, |
| 204 | { |
| 205 | "cmd": [ |
| 206 | "python", |
| 207 | "-u", |
| 208 | "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 209 | "--path", |
| 210 | "[START_DIR]/flutter", |
| 211 | "--url", |
| 212 | "https://chromium.googlesource.com/external/github.com/flutter/flutter" |
| 213 | ], |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 214 | "luci_context": { |
| 215 | "realm": { |
| 216 | "name": "project:ci" |
| 217 | }, |
| 218 | "resultdb": { |
| 219 | "current_invocation": { |
| 220 | "name": "invocations/build:8945511751514863184", |
| 221 | "update_token": "token" |
| 222 | }, |
| 223 | "hostname": "rdbhost" |
| 224 | } |
| 225 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 226 | "name": "git setup" |
| 227 | }, |
| 228 | { |
| 229 | "cmd": [ |
| 230 | "git", |
| 231 | "fetch", |
| 232 | "origin", |
| 233 | "master", |
| 234 | "--recurse-submodules", |
| 235 | "--progress", |
| 236 | "--tags" |
| 237 | ], |
| 238 | "cwd": "[START_DIR]/flutter", |
| 239 | "env": { |
| 240 | "PATH": "RECIPE_REPO[depot_tools]:<PATH>" |
| 241 | }, |
| 242 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 243 | "luci_context": { |
| 244 | "realm": { |
| 245 | "name": "project:ci" |
| 246 | }, |
| 247 | "resultdb": { |
| 248 | "current_invocation": { |
| 249 | "name": "invocations/build:8945511751514863184", |
| 250 | "update_token": "token" |
| 251 | }, |
| 252 | "hostname": "rdbhost" |
| 253 | } |
| 254 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 255 | "name": "git fetch" |
| 256 | }, |
| 257 | { |
| 258 | "cmd": [ |
| 259 | "git", |
| 260 | "checkout", |
| 261 | "-f", |
| 262 | "FETCH_HEAD" |
| 263 | ], |
| 264 | "cwd": "[START_DIR]/flutter", |
| 265 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 266 | "luci_context": { |
| 267 | "realm": { |
| 268 | "name": "project:ci" |
| 269 | }, |
| 270 | "resultdb": { |
| 271 | "current_invocation": { |
| 272 | "name": "invocations/build:8945511751514863184", |
| 273 | "update_token": "token" |
| 274 | }, |
| 275 | "hostname": "rdbhost" |
| 276 | } |
| 277 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 278 | "name": "git checkout" |
| 279 | }, |
| 280 | { |
| 281 | "cmd": [ |
| 282 | "git", |
| 283 | "rev-parse", |
| 284 | "HEAD" |
| 285 | ], |
| 286 | "cwd": "[START_DIR]/flutter", |
| 287 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 288 | "luci_context": { |
| 289 | "realm": { |
| 290 | "name": "project:ci" |
| 291 | }, |
| 292 | "resultdb": { |
| 293 | "current_invocation": { |
| 294 | "name": "invocations/build:8945511751514863184", |
| 295 | "update_token": "token" |
| 296 | }, |
| 297 | "hostname": "rdbhost" |
| 298 | } |
| 299 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 300 | "name": "read revision", |
| 301 | "~followup_annotations": [ |
| 302 | "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", |
| 303 | "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
| 304 | ] |
| 305 | }, |
| 306 | { |
| 307 | "cmd": [ |
| 308 | "git", |
| 309 | "clean", |
| 310 | "-f", |
| 311 | "-d", |
| 312 | "-x" |
| 313 | ], |
| 314 | "cwd": "[START_DIR]/flutter", |
| 315 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 316 | "luci_context": { |
| 317 | "realm": { |
| 318 | "name": "project:ci" |
| 319 | }, |
| 320 | "resultdb": { |
| 321 | "current_invocation": { |
| 322 | "name": "invocations/build:8945511751514863184", |
| 323 | "update_token": "token" |
| 324 | }, |
| 325 | "hostname": "rdbhost" |
| 326 | } |
| 327 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 328 | "name": "git clean" |
| 329 | }, |
| 330 | { |
| 331 | "cmd": [ |
| 332 | "git", |
| 333 | "submodule", |
| 334 | "sync" |
| 335 | ], |
| 336 | "cwd": "[START_DIR]/flutter", |
| 337 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 338 | "luci_context": { |
| 339 | "realm": { |
| 340 | "name": "project:ci" |
| 341 | }, |
| 342 | "resultdb": { |
| 343 | "current_invocation": { |
| 344 | "name": "invocations/build:8945511751514863184", |
| 345 | "update_token": "token" |
| 346 | }, |
| 347 | "hostname": "rdbhost" |
| 348 | } |
| 349 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 350 | "name": "submodule sync" |
| 351 | }, |
| 352 | { |
| 353 | "cmd": [ |
| 354 | "git", |
| 355 | "submodule", |
| 356 | "update", |
| 357 | "--init", |
| 358 | "--recursive" |
| 359 | ], |
| 360 | "cwd": "[START_DIR]/flutter", |
| 361 | "infra_step": true, |
Rob Mohr | 91ecbf4 | 2021-09-29 18:30:24 +0000 | [diff] [blame] | 362 | "luci_context": { |
| 363 | "realm": { |
| 364 | "name": "project:ci" |
| 365 | }, |
| 366 | "resultdb": { |
| 367 | "current_invocation": { |
| 368 | "name": "invocations/build:8945511751514863184", |
| 369 | "update_token": "token" |
| 370 | }, |
| 371 | "hostname": "rdbhost" |
| 372 | } |
| 373 | }, |
Christopher Fujino | 7be7ba3 | 2021-07-13 23:11:42 +0000 | [diff] [blame] | 374 | "name": "submodule update" |
| 375 | }, |
| 376 | { |
| 377 | "name": "$result" |
| 378 | } |
| 379 | ] |