| [ |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/flutter sdk", |
| "infra_step": true, |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/flutter sdk/bin/flutter", |
| "config", |
| "--clear-features" |
| ], |
| "name": "flutter config --clear-features" |
| }, |
| { |
| "cmd": [], |
| "name": "verify_binaries_codesigned" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::adhoc_validation]/resources/verify_binaries_codesigned.sh" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ls", |
| "-al", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Show xcode cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[CACHE]/osx_sdk/xcode_deadbeef" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.show app_dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ls", |
| "-al", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Show xcode cache (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "verify_binaries_codesigned.Running Cache Micro Manager on [CACHE]/osx_sdk.", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Running Cache Micro Manager on [CACHE]/osx_sdk..Reading cache directory [CACHE]/osx_sdk", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ls", |
| "-al", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Show xcode cache (3)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "verify_binaries_codesigned.install xcode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/osx_sdk/xcode_deadbeef", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.install xcode.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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-latest----------\",@@@", |
| "@@@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": [ |
| "[CACHE]/osx_sdk/xcode_deadbeef/mac_toolchain", |
| "install", |
| "-kind", |
| "ios", |
| "-xcode-version", |
| "deadbeef", |
| "-output-dir", |
| "[CACHE]/osx_sdk/xcode_deadbeef/XCode.app", |
| "-cipd-package-prefix", |
| "flutter_internal/ios/xcode", |
| "-with-runtime=True", |
| "-verbose" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.install xcode.install xcode from cipd", |
| "timeout": 1800, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "killall", |
| "-9", |
| "com.apple.CoreSimulator.CoreSimulatorDevice" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.kill dart", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/osx_sdk/xcode_deadbeef/XCode.app" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.select xcode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "simctl", |
| "list" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.list simulators", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "simctl", |
| "list", |
| "runtimes" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.list runtimes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CACHE]/osx_sdk/xcode_deadbeef" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Cleaning up Xcode cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[CACHE]/osx_sdk/xcode_deadbeef" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.show app_dir (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ls", |
| "-al", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Show xcode cache (4)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "verify_binaries_codesigned.Running Cache Micro Manager on [CACHE]/osx_sdk. (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Running Cache Micro Manager on [CACHE]/osx_sdk. (2).Reading cache directory [CACHE]/osx_sdk", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ls", |
| "-al", |
| "[CACHE]/osx_sdk" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.Show xcode cache (5)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "verify_binaries_codesigned.install xcode (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/osx_sdk/xcode_deadbeef", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.install xcode (2).ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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-latest----------\",@@@", |
| "@@@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": [ |
| "[CACHE]/osx_sdk/xcode_deadbeef/mac_toolchain", |
| "install", |
| "-kind", |
| "ios", |
| "-xcode-version", |
| "deadbeef", |
| "-output-dir", |
| "[CACHE]/osx_sdk/xcode_deadbeef/XCode.app", |
| "-cipd-package-prefix", |
| "flutter_internal/ios/xcode", |
| "-with-runtime=True", |
| "-verbose" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.install xcode (2).install xcode from cipd", |
| "timeout": 1800, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "killall", |
| "-9", |
| "com.apple.CoreSimulator.CoreSimulatorDevice" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.kill dart (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/osx_sdk/xcode_deadbeef/XCode.app" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.select xcode (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "simctl", |
| "list" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.list simulators (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[flutter::adhoc_validation]/resources/verify_binaries_codesigned.sh", |
| "/path/to/tmp/" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.print script verify_binaries_codesigned.sh", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@verify_binaries_codesigned.sh@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[flutter::adhoc_validation]/resources/verify_binaries_codesigned.sh" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "name": "verify_binaries_codesigned.verify_binaries_codesigned", |
| "timeout": 4500, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@test_stdout@@@@", |
| "@@@STEP_LOG_END@test_stdout@@@", |
| "@@@STEP_LOG_LINE@test_stderr@@@@", |
| "@@@STEP_LOG_END@test_stderr@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--reset" |
| ], |
| "env": { |
| "ARTIFACT_HUB_REPOSITORY": "artifactregistry://us-maven.pkg.dev/artifact-foundry-prod/maven-3p", |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "12345abcde12345abcde12345abcde12345abcde", |
| "SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/flutter sdk/bin", |
| "[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin" |
| ] |
| }, |
| "infra_step": true, |
| "name": "verify_binaries_codesigned.reset XCode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |