| [ |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gerrit_client.py", |
| "changes", |
| "--host", |
| "https://chromium-review.googlesource.com", |
| "--json_file", |
| "/path/to/tmp/json", |
| "--limit", |
| "1", |
| "-p", |
| "change=456789", |
| "-o", |
| "ALL_REVISIONS", |
| "-o", |
| "DOWNLOAD_COMMANDS" |
| ], |
| "env": { |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "gerrit fetch current CL info", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"master\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"owner\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"John Doe\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revisions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": \"12\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/89/456789/12\"@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "config", |
| "--spec", |
| "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'sdk', 'url': 'https://dart.googlesource.com/sdk.git'}]" |
| ], |
| "env_suffixes": { |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient setup" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "sync", |
| "--verbose", |
| "--nohooks", |
| "-j8", |
| "--reset", |
| "--force", |
| "--upstream", |
| "--no-nag-max", |
| "--with_branch_heads", |
| "--with_tags", |
| "--patch-ref", |
| "https://chromium.googlesource.com/chromium/src@refs/heads/master:refs/changes/89/456789/12", |
| "--delete_unversioned_trees", |
| "--output-json", |
| "/path/to/tmp/json" |
| ], |
| "env_suffixes": { |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient sync", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sdk/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5a374dcd2e5eb762b527af3a5bab6072a4d24493\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "recurse", |
| "git", |
| "config", |
| "user.name", |
| "local_bot" |
| ], |
| "env_suffixes": { |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient recurse (git config user.name)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "recurse", |
| "git", |
| "config", |
| "user.email", |
| "local_bot@example.com" |
| ], |
| "env_suffixes": { |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "gclient recurse (git config user.email)" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |