blob: c55128ebbcdbff179f485a917cb4bf58247518c6 [file] [log] [blame]
[
{
"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": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.Set execute permission",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Docs.Identify branches",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter sdk",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.Identify branches.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"branch",
"-a",
"--contains",
"12345abcde12345abcde12345abcde12345abcde"
],
"cwd": "[START_DIR]/flutter sdk",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.Identify branches.git branch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[flutter::adhoc_validation]/resources/docs.sh"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.docs",
"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": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter sdk",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/tmp_tmp_1/flutter/12345abcde12345abcde12345abcde12345abcde"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.Ensure flutter/12345abcde12345abcde12345abcde12345abcde",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/flutter sdk/dev/docs/api_docs.zip",
"[CLEANUP]/tmp_tmp_1/flutter/12345abcde12345abcde12345abcde12345abcde"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.Copy gs://flutter_infra_release/flutter/12345abcde12345abcde12345abcde12345abcde/api_docs.zip",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"-r",
"[CLEANUP]/tmp_tmp_1/*",
"gs://flutter_infra_release/"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.gsutil flutter/12345abcde12345abcde12345abcde12345abcde/api_docs.zip",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://console.cloud.google.com/storage/browser/flutter_infra_release/@@@"
]
},
{
"cmd": [
"luci-auth",
"token",
"-scopes",
"https://www.googleapis.com/auth/cloud-platform",
"-lifetime",
"3m"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.get access token for default account",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"extra.secret.token.should.not.be.logged",
"[CLEANUP]/tmp_tmp_2"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"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": "Docs.write token",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Docs.Deploy docs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"chmod",
"755",
"RECIPE_MODULE[flutter::firebase]/resources/firebase_deploy.sh"
],
"cwd": "[START_DIR]/flutter sdk/dev/docs",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GCP_PROJECT": "myproject",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "12345abcde12345abcde12345abcde12345abcde",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk",
"TOKEN_PATH": "[CLEANUP]/tmp_tmp_2"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter sdk/bin",
"[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin"
]
},
"name": "Docs.Deploy docs.Set execute permission",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"RECIPE_MODULE[flutter::firebase]/resources/firebase_deploy.sh"
],
"cwd": "[START_DIR]/flutter sdk/dev/docs",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GCP_PROJECT": "myproject",
"GIT_BRANCH": "main",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "12345abcde12345abcde12345abcde12345abcde",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter sdk",
"TOKEN_PATH": "[CLEANUP]/tmp_tmp_2"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter sdk/bin",
"[START_DIR]/flutter sdk/bin/cache/dart-sdk/bin"
]
},
"name": "Docs.Deploy docs.Firebase deploy",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"name": "$result"
}
]