| [ | |
| { | |
| "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, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "ensure builder 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': '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@2d72510e447ab60a9728aeea2362d8be2cbd7789", | |
| "--refs", | |
| "refs/heads/main" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "DEPOT_TOOLS_REPORT_BUILD": "infra/prod/infra-packager-mac-64/8945511751514863184", | |
| "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, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "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@ \"infra\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", | |
| "@@@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\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", | |
| "@@@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\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\",@@@", | |
| "@@@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\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", | |
| "@@@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@\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", | |
| "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#197293}\"@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_REPO[depot_tools]/gclient.py", | |
| "runhooks" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "DEPOT_TOOLS_REPORT_BUILD": "infra/prod/infra-packager-mac-64/8945511751514863184", | |
| "GOFLAGS": "-mod=readonly", | |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1", | |
| "INFRA_GO_VERSION_VARIANT": "legacy" | |
| }, | |
| "env_suffixes": { | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "gclient runhooks" | |
| }, | |
| { | |
| "cmd": [ | |
| "cipd", | |
| "ensure", | |
| "-root", | |
| "[CACHE]/osx_sdk", | |
| "-ensure-file", | |
| "infra/tools/mac_toolchain/${platform} git_revision:26bb3effce1bc1896a3776c21b84e76ae82c3917", | |
| "-max-threads", | |
| "0", | |
| "-json-output", | |
| "/path/to/tmp/json" | |
| ], | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "ensure_installed", | |
| "~followup_annotations": [ | |
| "@@@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:26b\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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": [ | |
| "sw_vers", | |
| "-productVersion" | |
| ], | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "find macOS version", | |
| "~followup_annotations": [ | |
| "@@@STEP_TEXT@Running on '14.4'.@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "[CACHE]/osx_sdk/mac_toolchain", | |
| "install", | |
| "-kind", | |
| "mac", | |
| "-xcode-version", | |
| "15e204a", | |
| "-output-dir", | |
| "[CACHE]/osx_sdk/XCode.app" | |
| ], | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "install xcode" | |
| }, | |
| { | |
| "cmd": [ | |
| "sudo", | |
| "xcode-select", | |
| "--switch", | |
| "[CACHE]/osx_sdk/XCode.app" | |
| ], | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "select XCode" | |
| }, | |
| { | |
| "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": "legacy" | |
| }, | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "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": [ | |
| "vpython3", | |
| "[CACHE]/builder/infra/build/build.py", | |
| "--builder", | |
| "infra-packager-mac-64", | |
| "--signing-identity", | |
| "AAAAAAAAAAAAABBBBBBBBBBBBBXXXXXXXXXXXXXX" | |
| ], | |
| "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": "legacy" | |
| }, | |
| "env_prefixes": { | |
| "PATH": [ | |
| "[CACHE]/builder/golang/go" | |
| ] | |
| }, | |
| "env_suffixes": { | |
| "PATH": [ | |
| "[CACHE]/builder/infra/go/bin" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "cipd - build packages" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "[CACHE]/builder/infra/build/build.py", | |
| "--no-rebuild", | |
| "--upload", | |
| "--json-output", | |
| "/path/to/tmp/json", | |
| "--builder", | |
| "infra-packager-mac-64", | |
| "--tags", | |
| "luci_build:prod/infra-packager-mac-64/123", | |
| "git_repository:https://chromium.googlesource.com/infra/infra", | |
| "git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789" | |
| ], | |
| "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": "legacy" | |
| }, | |
| "env_prefixes": { | |
| "PATH": [ | |
| "[CACHE]/builder/golang/go" | |
| ] | |
| }, | |
| "env_suffixes": { | |
| "PATH": [ | |
| "[CACHE]/builder/infra/go/bin" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "cipd - upload packages", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@json.output@{@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"failed\": [],@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"succeeded\": [@@@", | |
| "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"info\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"abcdefabcdef63ad814cd1dfffe2fcfc9f81299c\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/some_tool/os-bitness\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"pkg_def_name\": \"some_tool\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| "@@@STEP_LOG_LINE@json.output@}@@@", | |
| "@@@STEP_LOG_END@json.output@@@", | |
| "@@@STEP_LINK@infra/tools/some_tool/os-bitness abcdefabcdef63ad814cd1dfffe2fcfc9f81299c@http://example.com/not-implemented-yet@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "sudo", | |
| "xcode-select", | |
| "--reset" | |
| ], | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:prod" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "reset XCode" | |
| }, | |
| { | |
| "name": "$result" | |
| } | |
| ] |