| [ |
| { |
| "cmd": [], |
| "name": "ensure jiri" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/jiri", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} git_revision:59478f6e3bfff1e6794f337c6c38a769bf0c8422", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure jiri.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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-git_revision:594\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/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/jiri/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-json-output", |
| "/path/to/tmp/json", |
| "dart/sdk" |
| ], |
| "name": "jiri project", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branches\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"(HEAD detached at c22471f)\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"current_branch\": \"\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"dart/sdk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"path/to/dart/sdk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/dart/sdk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/dart" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/dart/sdk" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [], |
| "name": "cache" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-dart-sdk" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "infra_step": true, |
| "name": "cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-dart-sdk", |
| "name": "cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/dart/sdk" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-dart-sdk", |
| "name": "cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-dart-sdk", |
| "name": "cache.git config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-dart-sdk", |
| "name": "cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/dart/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "infra_step": true, |
| "name": "cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-dart-sdk/objects\n", |
| "[START_DIR]/dart/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "infra_step": true, |
| "name": "cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-dart-sdk/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "abc_revision" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [], |
| "name": "submodule" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]/dart", |
| "name": "submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/dart/tools/create_pkg_manifest.py", |
| "-d", |
| "[START_DIR]/dart/DEPS", |
| "-o", |
| "[START_DIR]/integration/fuchsia/topaz/dart_third_party_pkg" |
| ], |
| "name": "update dart_third_party_pkg" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git fetch (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "origin/master" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git checkout (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git rev-parse (2)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/scripts/dart/update_3p_packages.py", |
| "--debug" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "update dart 3p packages" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-files", |
| "--modified", |
| "--deleted", |
| "--exclude-standard" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "check for no-op commit", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@hello@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git diff" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "a diff" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git hash-object" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "[roll] Update third-party dart packages\nChange-Id: Iabc123\n", |
| "-a" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "origin", |
| "HEAD:refs/for/master" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git push", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/Iabc123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure gerrit" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/gerrit", |
| "-ensure-file", |
| "infra/tools/luci/gerrit/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "infra_step": true, |
| "name": "ensure gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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\": \"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/gerrit/gerrit", |
| "set-review", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"third_party/dart-pkg/pub~master~Iabc123\", \"input\": {\"labels\": {\"Commit-Queue\": 1}}, \"revision_id\": \"current\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "submit to commit queue", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check for completion" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gerrit/gerrit", |
| "change-detail", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"third_party/dart-pkg/pub~master~Iabc123\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "infra_step": true, |
| "name": "check for completion.check if done (0)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"labels\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Commit-Queue\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"NEW\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gerrit/gerrit", |
| "change-abandon", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"third_party/dart-pkg/pub~master~Iabc123\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "abandon roll: dry run complete", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git rev-parse (3)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@revision@deadbeef@@@", |
| "@@@STEP_LOG_END@revision@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git fetch (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "origin/master" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git checkout (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git rev-parse (4)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/scripts/dart/update_3p_packages.py", |
| "--debug" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "update dart 3p packages (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-files", |
| "--modified", |
| "--deleted", |
| "--exclude-standard" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "check for no-op commit (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@hello@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git diff (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "a diff" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git hash-object (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "[roll] Update third-party dart packages\nChange-Id: Iabc123\n", |
| "-a" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git commit (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "origin", |
| "HEAD:refs/for/master" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git push (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/Iabc123@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gerrit/gerrit", |
| "set-review", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"third_party/dart-pkg/pub~master~Iabc123\", \"input\": {\"labels\": {\"Code-Review\": 2, \"Commit-Queue\": 2}}, \"revision_id\": \"current\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "submit to commit queue (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check for completion (2)" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/gerrit/gerrit", |
| "change-detail", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"third_party/dart-pkg/pub~master~Iabc123\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "infra_step": true, |
| "name": "check for completion (2).check if done (0)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"labels\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Commit-Queue\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"approved\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"MERGED\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/third_party/dart-pkg/pub", |
| "name": "git rev-parse (5)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@revision@deadbeef@@@", |
| "@@@STEP_LOG_END@revision@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |