blob: a4b045aae636b29615c18387410ebd4c8ac80d26 [file] [log] [blame]
[
{
"cmd": [],
"name": "Checkout flutter/cocoon"
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[START_DIR]/cocoon",
"--url",
"https://github.com/flutter/cocoon"
],
"name": "Checkout flutter/cocoon.git setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"origin",
"refs/pull/1/head",
"--recurse-submodules",
"--progress",
"--tags"
],
"cwd": "[START_DIR]/cocoon",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "Checkout flutter/cocoon.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/cocoon",
"infra_step": true,
"name": "Checkout flutter/cocoon.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/cocoon",
"infra_step": true,
"name": "Checkout flutter/cocoon.read revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/cocoon",
"infra_step": true,
"name": "Checkout flutter/cocoon.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/cocoon",
"infra_step": true,
"name": "Checkout flutter/cocoon.submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[START_DIR]/cocoon",
"infra_step": true,
"name": "Checkout flutter/cocoon.submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "Checkout flutter/flutter"
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[START_DIR]/flutter",
"--url",
"https://github.com/flutter/flutter"
],
"name": "Checkout flutter/flutter.git setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"origin",
"stable",
"--recurse-submodules",
"--progress",
"--tags"
],
"cwd": "[START_DIR]/flutter",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "Checkout flutter/flutter.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.read revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "Checkout flutter/flutter.submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "read yaml",
"~followup_annotations": [
"@@@STEP_LOG_LINE@yaml@@@@",
"@@@STEP_LOG_END@yaml@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/cocoon/tests.yaml",
"/path/to/tmp/"
],
"infra_step": true,
"name": "read yaml.read",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@tests.yaml@@@"
]
},
{
"cmd": [
"vpython",
"RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
"--yaml_file",
"[START_DIR]/cocoon/tests.yaml",
"--json_file",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "read yaml.parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"script\": \"myscript\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"task\": \"one\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
"flutter",
"doctor"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"name": "flutter doctor"
},
{
"cmd": [
"bash",
"[START_DIR]/cocoon/test_utilities/bin/prepare_environment.sh"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"infra_step": true,
"name": "prepare environment"
},
{
"cmd": [
"bash",
"[START_DIR]/cocoon/myscript",
"[START_DIR]/cocoon/one"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GIT_BRANCH": "",
"LUCI_BRANCH": "",
"LUCI_CI": "True",
"LUCI_PR": "1",
"OS": "linux",
"PUB_CACHE": "[START_DIR]/.pub-cache",
"REVISION": "",
"SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"name": "one"
},
{
"name": "$result"
}
]