| [ |
| { |
| "cmd": [], |
| "name": "pigweed" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://pigweed.googlesource.com/pigweed/pigweed", |
| "main" |
| ], |
| "name": "pigweed.git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/WORKSPACE", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "pigweed.read old WORKSPACE", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@)@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Multiple@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: roll@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@)@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@)@@@", |
| "@@@STEP_LOG_END@WORKSPACE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.found other remote 'https://pigweed.googlesource.com/other/repo.git'", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@lines@2 @@@", |
| "@@@STEP_LOG_LINE@lines@3 @@@", |
| "@@@STEP_LOG_LINE@lines@4 @@@", |
| "@@@STEP_LOG_LINE@lines@5 @@@", |
| "@@@STEP_LOG_LINE@lines@6 @@@", |
| "@@@STEP_LOG_LINE@lines@7 @@@", |
| "@@@STEP_LOG_LINE@lines@8 @@@", |
| "@@@STEP_LOG_LINE@lines@9 @@@", |
| "@@@STEP_LOG_LINE@lines@10 git_repository(@@@", |
| "@@@STEP_LOG_LINE@lines@11 name = \"other-repo\"@@@", |
| "@@@STEP_LOG_LINE@lines@12 remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@", |
| "@@@STEP_LOG_LINE@lines@14 )@@@", |
| "@@@STEP_LOG_LINE@lines@15 @@@", |
| "@@@STEP_LOG_LINE@lines@16 git_repository(@@@", |
| "@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@", |
| "@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@", |
| "@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_END@lines@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.found equivalent remote 'https://pigweed.googlesource.com/pigweed/pigweed.git'", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@", |
| "@@@STEP_LOG_LINE@lines@14 )@@@", |
| "@@@STEP_LOG_LINE@lines@15 @@@", |
| "@@@STEP_LOG_LINE@lines@16 git_repository(@@@", |
| "@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@", |
| "@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@", |
| "@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@lines@26 )@@@", |
| "@@@STEP_LOG_LINE@lines@27 @@@", |
| "@@@STEP_LOG_LINE@lines@28 git_repository(@@@", |
| "@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@", |
| "@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@", |
| "@@@STEP_LOG_LINE@lines@32 )@@@", |
| "@@@STEP_LOG_LINE@lines@33 @@@", |
| "@@@STEP_LOG_END@lines@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.found other remote 'https://pigweed.googlesource.com/third/repo.git'", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@lines@26 )@@@", |
| "@@@STEP_LOG_LINE@lines@27 @@@", |
| "@@@STEP_LOG_LINE@lines@28 git_repository(@@@", |
| "@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@", |
| "@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@", |
| "@@@STEP_LOG_LINE@lines@32 )@@@", |
| "@@@STEP_LOG_LINE@lines@33 @@@", |
| "@@@STEP_LOG_LINE@lines@34 @@@", |
| "@@@STEP_LOG_LINE@lines@35 @@@", |
| "@@@STEP_LOG_LINE@lines@36 @@@", |
| "@@@STEP_LOG_LINE@lines@37 @@@", |
| "@@@STEP_LOG_LINE@lines@38 @@@", |
| "@@@STEP_LOG_LINE@lines@39 @@@", |
| "@@@STEP_LOG_LINE@lines@40 @@@", |
| "@@@STEP_LOG_END@lines@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.lines", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@0_center@23@@@", |
| "@@@STEP_LOG_END@0_center@@@", |
| "@@@STEP_LOG_LINE@1_orig@13 commit = \"invalid commit line won't be found\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@14 )@@@", |
| "@@@STEP_LOG_LINE@1_orig@15 @@@", |
| "@@@STEP_LOG_LINE@1_orig@16 git_repository(@@@", |
| "@@@STEP_LOG_LINE@1_orig@17 module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@18 # ROLL: Multiple@@@", |
| "@@@STEP_LOG_LINE@1_orig@19 # ROLL: roll@@@", |
| "@@@STEP_LOG_LINE@1_orig@20 # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@1_orig@21 # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@1_orig@22 commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@24 git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@25 strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@26 )@@@", |
| "@@@STEP_LOG_LINE@1_orig@27 @@@", |
| "@@@STEP_LOG_LINE@1_orig@28 git_repository(@@@", |
| "@@@STEP_LOG_LINE@1_orig@29 name = \"missing final quote/comma so will miss this line@@@", |
| "@@@STEP_LOG_LINE@1_orig@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@31 commit = \"2222222222222222222222222222222222222222\",@@@", |
| "@@@STEP_LOG_LINE@1_orig@32 )@@@", |
| "@@@STEP_LOG_LINE@1_orig@33 @@@", |
| "@@@STEP_LOG_END@1_orig@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@15 @@@", |
| "@@@STEP_LOG_LINE@2_trimmed@16 git_repository(@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@17 module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@18 # ROLL: Multiple@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@19 # ROLL: roll@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@20 # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@21 # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@22 commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@24 git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@25 strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@2_trimmed@26 )@@@", |
| "@@@STEP_LOG_END@2_trimmed@@@", |
| "@@@STEP_LOG_LINE@3_sorted@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@3_sorted@22 commit = \"1111111111111111111111111111111111111111\",@@@", |
| "@@@STEP_LOG_LINE@3_sorted@24 git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@3_sorted@21 # ROLL: lines!@@@", |
| "@@@STEP_LOG_LINE@3_sorted@25 strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@3_sorted@20 # ROLL: comment@@@", |
| "@@@STEP_LOG_LINE@3_sorted@26 )@@@", |
| "@@@STEP_LOG_LINE@3_sorted@19 # ROLL: roll@@@", |
| "@@@STEP_LOG_LINE@3_sorted@18 # ROLL: Multiple@@@", |
| "@@@STEP_LOG_LINE@3_sorted@17 module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@3_sorted@16 git_repository(@@@", |
| "@@@STEP_LOG_LINE@3_sorted@15 @@@", |
| "@@@STEP_LOG_END@3_sorted@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.ensure infra/tools/luci/gitiles/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.ensure infra/tools/luci/gitiles/${platform}.get packages", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gitiles]/resources/cipd.ensure", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "pigweed.ensure infra/tools/luci/gitiles/${platform}.get packages.read ensure file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci/gitiles/${platform} version:pinned-version@@@", |
| "@@@STEP_LOG_END@cipd.ensure@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/cipd_tool/infra/tools/luci/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07" |
| ], |
| "infra_step": true, |
| "name": "pigweed.ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/tools/luci/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07", |
| "-ensure-file", |
| "infra/tools/luci/gitiles/${platform} version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "pigweed.ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:pinned-v\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gitiles/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gitiles", |
| "log", |
| "-json-output", |
| "/path/to/tmp/json", |
| "https://pigweed.googlesource.com/pigweed/pigweed", |
| "1111111111111111111111111111111111111111..h3ll0" |
| ], |
| "infra_step": true, |
| "name": "pigweed.log pigweed", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_0.email.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_0.email.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"3e30158f2a7caccb7a9f6632a60011e7a44e1e5c\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 0\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"83a7614b3b60951511be50db1b9561daff4bb447\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree\": \"1b6412b24ec3add84836c8fdd1af5ac8e35b61d9\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"8bea05ad53680fce6937543f0d98cd48e295b8ff\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_1.email.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_1.email.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"3380b83c11e029b7291c83c44e7b1ce09d465fd1\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 1\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"8675a52c73c701cb0b2c48f5ed4a9058c624e6cd\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree\": \"a1b1e6aa501915989b45a95e1224ec2a88655eb3\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"06bc4c79002f278528aaddae4e056a11f58c19ad\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"b.py\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_2.email.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_2.email.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"363caa907186de786cb5292cd1ab7245da954815\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 2\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"255c6325c4c654e17e6b35142e3912c86f1718f2\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree\": \"e84d4ad259e69da73d2b842e2b9709f08e8b22bd\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"d7f478bf423219f2f47c1a6ed344fc597a8bf18f\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"c.py\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.get gerrit change numbers", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.get gerrit change numbers.ensure infra/tools/luci/gerrit/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.get gerrit change numbers.ensure infra/tools/luci/gerrit/${platform}.get packages", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gerrit]/resources/cipd.ensure", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "pigweed.get gerrit change numbers.ensure infra/tools/luci/gerrit/${platform}.get packages.read ensure file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci/gerrit/${platform} version:pinned-version@@@", |
| "@@@STEP_LOG_END@cipd.ensure@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.get gerrit change numbers.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07" |
| ], |
| "infra_step": true, |
| "name": "pigweed.get gerrit change numbers.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07", |
| "-ensure-file", |
| "infra/tools/luci/gerrit/${platform} version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "pigweed.get gerrit change numbers.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:pinned-v\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gerrit/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit", |
| "change-detail", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"3e30158f2a7caccb7a9f6632a60011e7a44e1e5c\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "pigweed.get gerrit change numbers.change details for 3e30158", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": 12345@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"3e30158f2a7caccb7a9f6632a60011e7a44e1e5c\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/3e30158f2a7caccb7a9f6632a60011e7a44e1e5c@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit", |
| "change-detail", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"3380b83c11e029b7291c83c44e7b1ce09d465fd1\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "pigweed.get gerrit change numbers.change details for 3380b83", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": 12345@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"3380b83c11e029b7291c83c44e7b1ce09d465fd1\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/3380b83c11e029b7291c83c44e7b1ce09d465fd1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit", |
| "change-detail", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"363caa907186de786cb5292cd1ab7245da954815\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "pigweed.get gerrit change numbers.change details for 363caa9", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": 12345@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"363caa907186de786cb5292cd1ab7245da954815\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/363caa907186de786cb5292cd1ab7245da954815@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "git_repository(\n name = \"other-repo\"\n remote = \"https://pigweed.googlesource.com/other/repo.git\",\n commit = \"invalid commit line won't be found\",\n)\n\ngit_repository(\n module_name = \"pigweed\",\n # ROLL: Warning: this entry is automatically updated.\n # ROLL: Last updated 2012-05-14.\n # ROLL: By https://cr-buildbucket.appspot.com/build/0.\n commit = \"h3ll0\",\n remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",\n git_repository_attribute_test = \"ignored\",\n strip_prefix = \"pw_toolchain_bazel\",\n)\n\ngit_repository(\n name = \"missing final quote/comma so will miss this line\n remote = \"https://pigweed.googlesource.com/third/repo.git\",\n commit = \"2222222222222222222222222222222222222222\",\n)\n", |
| "[START_DIR]/checkout/WORKSPACE" |
| ], |
| "infra_step": true, |
| "name": "pigweed.write new WORKSPACE", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@)@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Warning: this entry is automatically updated.@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Last updated 2012-05-14.@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: By https://cr-buildbucket.appspot.com/build/0.@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ commit = \"h3ll0\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@)@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@", |
| "@@@STEP_LOG_LINE@WORKSPACE@)@@@", |
| "@@@STEP_LOG_END@WORKSPACE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "pigweed.update MODULE.bazel.lock", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/tmp_tmp_1", |
| "-ensure-file", |
| "fuchsia/third_party/bazelisk/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "name": "pigweed.update MODULE.bazel.lock.ensure bazelisk", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/bazelisk/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/tmp_tmp_1/bazelisk", |
| "version" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "name": "pigweed.update MODULE.bazel.lock.bazel version", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/tmp_tmp_1/bazelisk", |
| "mod", |
| "deps", |
| "--lockfile_mode=update" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "name": "pigweed.update MODULE.bazel.lock.bazelisk mod deps --lockfile_mode=update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "commit message", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@roll: pigweed 1111111..h3ll0 (3 commits)\n\n3e30158:https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12345 fake A msg 0\n3380b83:https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12345 fake A msg 1\n363caa9:https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12345 fake A msg 2\n\nRolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed\nRolled-Commits: 11111111111111..h3ll0@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |