| [ |
| { |
| "cmd": [ |
| "vpython3", |
| "RECIPE_REPO[depot_tools]/gerrit_client.py", |
| "changes", |
| "--host", |
| "https://chromium-review.googlesource.com", |
| "--json_file", |
| "/path/to/tmp/json", |
| "--limit", |
| "1", |
| "-p", |
| "change=123456", |
| "-o", |
| "ALL_REVISIONS", |
| "-o", |
| "DOWNLOAD_COMMANDS" |
| ], |
| "env": { |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "git-repo:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "gerrit fetch current CL info", |
| "timeout": 60, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\", @@@", |
| "@@@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\": \"7\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/56/123456/7\"@@@", |
| "@@@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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec-path", |
| "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'git-repo', 'url': 'https://gerrit.googlesource.com/git-repo'}]", |
| "--patch_root", |
| "git-repo", |
| "--revision_mapping_file", |
| "{}", |
| "--git-cache-dir", |
| "[CACHE]/git", |
| "--cleanup-dir", |
| "[CLEANUP]/bot_update", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--patch_ref", |
| "https://chromium.googlesource.com/git-repo@refs/heads/main:refs/changes/56/123456/7", |
| "--revision", |
| "git-repo@refs/heads/main", |
| "--refs", |
| "refs/heads/main" |
| ], |
| "env": { |
| "DEPOT_TOOLS_REPORT_BUILD": "git-repo/try/builder/8945511751514863184", |
| "GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| "GIT_HTTP_LOW_SPEED_TIME": "1800" |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "git-repo:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "bot_update", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@Some step text@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git-repo\": \"HEAD\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git-repo\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/git-repo.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d1fff11dfbab5fa0a53f8adfa8d21f4e324220ef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"git-repo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"d1fff11dfbab5fa0a53f8adfa8d21f4e324220ef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"git-repo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git-repo\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/git-repo.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d1fff11dfbab5fa0a53f8adfa8d21f4e324220ef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"d1fff11dfbab5fa0a53f8adfa8d21f4e324220ef\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "run_tests", |
| "-k", |
| "not test_smoke_repo and not test_smoke_git and not test_superproject_get_superproject_invalid_branch and not test_superproject_get_superproject_invalid_url", |
| "-vv" |
| ], |
| "cwd": "[START_DIR]/git-repo", |
| "luci_context": { |
| "realm": { |
| "name": "git-repo:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "Run tests" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |