| [ |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CACHE]/builder" |
| ], |
| "infra_step": true, |
| "name": "checkout.ensure builder dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]", |
| "--revision_mapping_file", |
| "{\"got_revision\": \"infra\"}", |
| "--git-cache-dir", |
| "[CACHE]/git", |
| "--cleanup-dir", |
| "[CLEANUP]/bot_update", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--revision", |
| "infra@HEAD" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "DEPOT_TOOLS_COLLECT_METRICS": "0", |
| "GIT_BACKENDINFO": "1", |
| "GIT_DAPPER_TRACE": "1", |
| "GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| "GIT_HTTP_LOW_SPEED_TIME": "1800", |
| "GIT_SSH_COMMAND": "ssh -o SendEnv=GIT_DAPPER_TRACE -o SendEnv=GIT_BACKENDINFO", |
| "GIT_TRACE2_EVENT": "[CLEANUP]/trace2-event", |
| "GIT_TRACE_CURL": "[CLEANUP]/trace-curl", |
| "GIT_TRACE_CURL_NO_DATA": "1", |
| "GIT_TRACE_PACKET": "[CLEANUP]/trace-packet" |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "checkout.bot_update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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@ \"infra\": \"HEAD\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/infra.git\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": null,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#197293}\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"infra\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/infra.git\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", |
| "@@@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@\"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#197293}\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "runhooks" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOFLAGS": "-mod=readonly", |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1", |
| "INFRA_GO_VERSION_VARIANT": "bleeding_edge" |
| }, |
| "env_suffixes": { |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "checkout.gclient runhooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[CACHE]/builder/infra/build/gae", |
| "**/*.yaml" |
| ], |
| "infra_step": true, |
| "name": "list infra/build/gae", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@glob@[CACHE]/builder/infra/build/gae/target.yaml@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "[CACHE]/builder/infra/go/bootstrap.py", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOFLAGS": "-mod=readonly", |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1", |
| "INFRA_GO_VERSION_VARIANT": "bleeding_edge" |
| }, |
| "infra_step": true, |
| "name": "init infra go env", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@Using go 1.66.6@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"GOROOT\": \"[CACHE]/builder/golang/go\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"env_prefixes\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"[CACHE]/builder/golang/go\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"env_suffixes\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"[CACHE]/builder/infra/go/bin\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"go_version\": \"1.66.6\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cloudbuildhelper", |
| "version" |
| ], |
| "cwd": "[CACHE]/builder/infra/go/src/infra", |
| "env": { |
| "GOFLAGS": "-mod=readonly", |
| "GOROOT": "[CACHE]/builder/golang/go", |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1", |
| "INFRA_GO_VERSION_VARIANT": "bleeding_edge", |
| "npm_config_cache": "[CACHE]/npmcache/npm", |
| "npm_config_prefix": "[CACHE]/npmcache/pfx" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/npmcache/pfx/bin", |
| "[CACHE]/builder/golang/go" |
| ] |
| }, |
| "env_suffixes": { |
| "PATH": [ |
| "[CACHE]/builder/infra/go/bin" |
| ] |
| }, |
| "name": "cloudbuildhelper version", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>cloudbuildhelper v6.6.6<br/><br/>CIPD package name: infra/tools/cloudbuildhelper/...<br/>CIPD instance ID: lTJD7x...@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cloudbuildhelper", |
| "upload", |
| "[CACHE]/builder/infra/build/gae/target.yaml", |
| "-canonical-tag", |
| "197293-5e03a58", |
| "-build-id", |
| "https://cr-buildbucket.appspot.com/build/0", |
| "-infra", |
| "prod", |
| "-restrict-container-registry", |
| "should-not-be-used", |
| "-restrict-cloud-build", |
| "should-not-be-used", |
| "-restrict-notifications", |
| "should-not-be-used", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder/infra/go/src/infra", |
| "env": { |
| "GOFLAGS": "-mod=readonly", |
| "GOROOT": "[CACHE]/builder/golang/go", |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1", |
| "INFRA_GO_VERSION_VARIANT": "bleeding_edge", |
| "npm_config_cache": "[CACHE]/npmcache/npm", |
| "npm_config_prefix": "[CACHE]/npmcache/pfx" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/npmcache/pfx/bin", |
| "[CACHE]/builder/golang/go" |
| ] |
| }, |
| "env_suffixes": { |
| "PATH": [ |
| "[CACHE]/builder/infra/go/bin" |
| ] |
| }, |
| "name": "cloudbuildhelper upload target", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>Name: example/target<br/>Version: 197293-5e03a58<br/>SHA256: 82ac16b294bc0f98...@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"canonical_tag\": \"197293-5e03a58\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"gs\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"example\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"tarballs/example/target/82ac16b294bc0f98....tar.gz\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"example/target\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sha256\": \"82ac16b294bc0f98...\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sources\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload roll CL", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@Issue 123456789@https://chromium-review.googlesource.com/c/1234567@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| "--path", |
| "[CACHE]/builder/roll", |
| "--url", |
| "https://tarballs.repo.example.com" |
| ], |
| "name": "upload roll CL.git setup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "main", |
| "--progress" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "env": { |
| "PATH": "RECIPE_REPO[depot_tools]:<PATH>" |
| }, |
| "infra_step": true, |
| "name": "upload roll CL.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.read revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "branch", |
| "-D", |
| "roll-attempt" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git branch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-t", |
| "origin/main", |
| "-b", |
| "roll-attempt" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git checkout (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/builder/roll/scripts/roll_tarballs.py" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "name": "upload roll CL.roll_tarballs.py", |
| "stdin": "{\"tarballs\": [{\"tarball\": \"example/target\", \"version\": {\"location\": \"gs://example/tarballs/example/target/82ac16b294bc0f98....tar.gz\", \"metadata\": {\"date\": \"2012-05-14T12:53:23Z\", \"links\": {\"buildbucket\": \"https://cr-buildbucket.appspot.com/build/0\"}, \"source\": {\"repo\": \"https://chromium.googlesource.com/infra/infra\", \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"}, \"sources\": []}, \"sha256\": \"82ac16b294bc0f98...\", \"version\": \"197293-5e03a58\"}}]}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"deployments\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"artifact\": \"example/target\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"cc\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"n1@example.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"n2@example.com\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"channel\": \"staging\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"from\": \"prev-version\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"spec\": \"apps/something/channels.json\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"to\": \"197293-5e03a58\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"diff\": \"Diff line1\\nDiff line2\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tarballs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tarball\": \"example/target\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"version\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"location\": \"gs://example/tarballs/example/target/82ac16b294bc0f98....tar.gz\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"metadata\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"date\": \"2012-05-14T12:53:23Z\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"links\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"buildbucket\": \"https://cr-buildbucket.appspot.com/build/0\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"source\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo\": \"https://chromium.googlesource.com/infra/infra\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sources\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sha256\": \"82ac16b294bc0f98...\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"version\": \"197293-5e03a58\"@@@", |
| "@@@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": [ |
| "[CACHE]/builder/roll/scripts/prune_tarballs.py", |
| "--verbose" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "name": "upload roll CL.prune_tarballs.py", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "." |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git add", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "--cached", |
| "--exit-code" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git diff", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "Rolling in tarballs.\n\nProduced by https://cr-buildbucket.appspot.com/build/0\n\nUpdated staging deployments:\n * example/target: prev-version -> 197293-5e03a58\n\nDiff line1\nDiff line2\n" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "infra_step": true, |
| "name": "upload roll CL.git commit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "RECIPE_REPO[depot_tools]/git_cl.py", |
| "upload", |
| "--force", |
| "--bypass-hooks", |
| "--reviewers=someone@example.com", |
| "--cc=n1@example.com", |
| "--cc=n2@example.com", |
| "--set-bot-commit", |
| "--use-commit-queue", |
| "--message-file", |
| "Rolling in tarballs.\n\nProduced by https://cr-buildbucket.appspot.com/build/0\n\nUpdated staging deployments:\n * example/target: prev-version -> 197293-5e03a58\n\nDiff line1\nDiff line2\n" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "name": "upload roll CL.git cl upload", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "RECIPE_REPO[depot_tools]/git_cl.py", |
| "issue", |
| "--json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder/roll", |
| "name": "upload roll CL.git cl issue", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"issue\": 123456789,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"issue_url\": \"https://chromium-review.googlesource.com/c/1234567\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@Issue 123456789@https://chromium-review.googlesource.com/c/1234567@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "summaryMarkdown": "Created roll CL https://chromium-review.googlesource.com/c/1234567\n" |
| } |
| ] |