| [ | |
| { | |
| "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": "ensure builder cache dir" | |
| }, | |
| { | |
| "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': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", | |
| "--revision_mapping_file", | |
| "{\"got_revision\": \"v8\"}", | |
| "--git-cache-dir", | |
| "[CACHE]/git", | |
| "--cleanup-dir", | |
| "[CLEANUP]/bot_update", | |
| "--output_json", | |
| "/path/to/tmp/json", | |
| "--revision", | |
| "v8@HEAD", | |
| "--with_branch_heads" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "CHROME_HEADLESS": "1", | |
| "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": "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@ \"v8\": \"HEAD\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"v8\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/v8.git\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@", | |
| "@@@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\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#50110}\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"v8\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"v8\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/v8.git\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@", | |
| "@@@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@\"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@", | |
| "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#50110}\"@@@" | |
| ] | |
| }, | |
| { | |
| "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", | |
| "status=open", | |
| "-p", | |
| "hashtag=v8-infra-update", | |
| "--verbose" | |
| ], | |
| "env": { | |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" | |
| }, | |
| "infra_step": true, | |
| "name": "gerrit Check for existing CLs", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@json.output@[]@@@", | |
| "@@@STEP_LOG_END@json.output@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", | |
| "--url", | |
| "https://chromiumdash.appspot.com/fetch_milestones?num=0&only_active=true", | |
| "--status-json", | |
| "/path/to/tmp/json", | |
| "--outfile", | |
| "/path/to/tmp/json" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "name": "GET https://chromiumdash.appspot.com/fetch_milestones?num=0&only_active=true" | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "checkout", | |
| "main" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "git checkout", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "pull" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "git pull", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "show", | |
| "HEAD:infra/config/definitions.star" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "Read branch definitions", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@stdout@ACTIVE_BRANCHES = [\"12.3\", \"12.2\", \"12.1\", \"12.0\"]@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [], | |
| "name": "New branch detected" | |
| }, | |
| { | |
| "cmd": [], | |
| "name": "New branch detected.Update infra/config", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@1@@@", | |
| "@@@STEP_LINK@https://review.source.com/3@https://review.source.com/3@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "checkout", | |
| "main" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git checkout", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "pull" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git pull", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "branch", | |
| "-D", | |
| "branch_cut_update" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git branch", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "clean", | |
| "-ffd" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git clean", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "checkout", | |
| "-b", | |
| "branch_cut_update" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git checkout (2)", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "branch", | |
| "--set-upstream-to=origin/main" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git branch (2)", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", | |
| "--json-output", | |
| "/path/to/tmp/json", | |
| "copy", | |
| "# This file is auto-generated. Do not edit.\nACTIVE_BRANCHES = [\n \"12.4\",\n \"12.3\",\n \"12.2\",\n \"12.1\",\n]\n", | |
| "[CACHE]/builder/v8/infra/config/definitions.star" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.Write branch definitions", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@# This file is auto-generated. Do not edit.@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@ACTIVE_BRANCHES = [@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@ \"12.4\",@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@ \"12.3\",@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@ \"12.2\",@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@ \"12.1\",@@@", | |
| "@@@STEP_LOG_LINE@definitions.star@]@@@", | |
| "@@@STEP_LOG_END@definitions.star@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "lucicfg", | |
| "format" | |
| ], | |
| "cwd": "[CACHE]/builder/v8/infra/config", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "name": "New branch detected.Update infra/config.Lucicfg format", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "lucicfg", | |
| "main.star" | |
| ], | |
| "cwd": "[CACHE]/builder/v8/infra/config", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "name": "New branch detected.Update infra/config.Lucicfg generate", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "commit", | |
| "-am", | |
| "[v8-infra-update] Update active branches" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git commit", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "cl", | |
| "upload", | |
| "-f", | |
| "--bypass-hooks", | |
| "--send-mail", | |
| "--set-bot-commit", | |
| "--use-commit-queue" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git cl", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "cl", | |
| "issue" | |
| ], | |
| "cwd": "[CACHE]/builder/v8", | |
| "env_suffixes": { | |
| "DEPOT_TOOLS_UPDATE": [ | |
| "0" | |
| ], | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "infra_step": true, | |
| "name": "New branch detected.Update infra/config.git cl (2)", | |
| "~followup_annotations": [ | |
| "@@@STEP_NEST_LEVEL@2@@@", | |
| "@@@STEP_LOG_LINE@stdout@Issue number: 3 (https://review.source.com/3)@@@", | |
| "@@@STEP_LOG_END@stdout@@@" | |
| ] | |
| }, | |
| { | |
| "name": "$result" | |
| } | |
| ] |