| [ |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/flutter sdk", |
| "infra_step": true, |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [], |
| "name": "Docs" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::adhoc_validation]/resources/docs.sh" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/osx_sdk", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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/mac_toolchain", |
| "install", |
| "-kind", |
| "ios", |
| "-xcode-version", |
| "9f2000", |
| "-output-dir", |
| "[CACHE]/osx_sdk/XCode.app", |
| "-cipd-package-prefix", |
| "flutter_internal/ios/xcode", |
| "-with-runtime=True" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.install xcode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "killall", |
| "-9", |
| "com.apple.CoreSimulator.CoreSimulatorDevice" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.kill dart", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/osx_sdk/XCode.app" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.select XCode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "simctl", |
| "list" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.list simulators", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[flutter::adhoc_validation]/resources/docs.sh" |
| ], |
| "env": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.docs", |
| "timeout": 3600, |
| "~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": { |
| "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", |
| "GIT_BRANCH": "", |
| "LUCI_BRANCH": "", |
| "LUCI_CI": "True", |
| "LUCI_PR": "", |
| "OS": "darwin", |
| "PUB_CACHE": "[START_DIR]/.pub-cache", |
| "REVISION": "", |
| "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": "Docs.reset XCode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |