blob: b579076c694103a605586daf4fb3ba8ede6aa173 [file] [log] [blame] [edit]
[
{
"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": "",
"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": [
"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": "",
"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": [
"python",
"RECIPE_MODULE[flutter::zip]/resources/zip.py"
],
"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": "",
"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.Zip doc",
"stdin": "{\"entries\": [{\"path\": \"[START_DIR]/flutter sdk/dev/docs/doc\", \"type\": \"dir\"}], \"output\": \"[CLEANUP]/tmp_tmp_1/api_docs.zip\", \"root\": \"[START_DIR]/flutter sdk/dev/docs\"}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[CLEANUP]/tmp_tmp_1"
],
"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": "",
"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.temp dir for Upload API Docs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"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": "",
"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": "",
"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": "",
"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": "",
"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"
}
]