blob: 544ba5c63248ca26157dd6bcd54732c7aa5a2dfb [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[START_DIR]/flutter",
"--url",
"https://chromium.googlesource.com/external/github.com/flutter/flutter"
],
"name": "git setup"
},
{
"cmd": [
"git",
"fetch",
"origin",
"beta",
"--recurse-submodules",
"--progress",
"--tags"
],
"cwd": "[START_DIR]/flutter",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "git fetch"
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "git checkout"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "read revision",
"~followup_annotations": [
"@@@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": "git clean"
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "submodule sync"
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[START_DIR]/flutter",
"infra_step": true,
"name": "submodule update"
},
{
"cmd": [],
"name": "validate luci builder json schemas"
},
{
"cmd": [],
"name": "Download goldctl"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/gold",
"-ensure-file",
"skia/tools/goldctl/${platform} git_revision:40f373da81fba80258071635a0f0188427147332",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"name": "Download goldctl.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-git_revision:40f\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"skia/tools/goldctl/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": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[START_DIR]/flutter",
"--url",
"https://chromium.googlesource.com/external/github.com/flutter/flutter"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "git setup (2)"
},
{
"cmd": [
"git",
"fetch",
"origin",
"master",
"--recurse-submodules",
"--progress"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PATH": "RECIPE_REPO[depot_tools]:<PATH>",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "git fetch (2)"
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "git checkout (2)"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "read revision (2)",
"~followup_annotations": [
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "git clean (2)"
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "submodule sync (2)"
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[START_DIR]/flutter",
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "submodule update (2)"
},
{
"cmd": [
"flutter",
"doctor"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "flutter doctor"
},
{
"cmd": [
"flutter",
"update-packages"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "download dependencies"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/archive"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "clean archive work directory"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/archive"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "(re)create archive work directory"
},
{
"cmd": [
"dart",
"[START_DIR]/flutter/dev/bots/prepare_package.dart",
"--temp_dir=[START_DIR]/archive",
"--revision=deadbeef",
"--branch=beta"
],
"env": {
"DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
"GOLDCTL": "[CACHE]/gold/goldctl",
"GOLD_TRYJOB": "refs/heads/beta",
"PUB_CACHE": "[START_DIR]/flutter/.pub-cache"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/flutter/bin",
"[START_DIR]/flutter/bin/cache/dart-sdk/bin"
]
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "prepare, create and publish a flutter archive"
},
{
"name": "$result"
}
]