blob: 7eb4fcb2e19d0a66e302fe3defb736893a68f08d [file] [log] [blame]
[
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/builder/goldens"
],
"infra_step": true,
"name": "mkdir goldens"
},
{
"cmd": [],
"name": "read yaml",
"~followup_annotations": [
"@@@STEP_LOG_LINE@yaml@@@@",
"@@@STEP_LOG_END@yaml@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/builder/src/flutter/lib/web_ui/dev/goldens_lock.yaml",
"/path/to/tmp/"
],
"cwd": "[CACHE]/builder",
"infra_step": true,
"name": "read yaml.read",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@goldens_lock.yaml@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
"--yaml_file",
"[CACHE]/builder/src/flutter/lib/web_ui/dev/goldens_lock.yaml",
"--json_file",
"/path/to/tmp/json"
],
"cwd": "[CACHE]/builder",
"name": "read yaml.parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"repo\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"b6efc758\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
"--path",
"[CACHE]/builder/goldens",
"--url",
"repo"
],
"cwd": "[CACHE]/builder/goldens",
"name": "git setup"
},
{
"cmd": [
"git",
"fetch",
"origin",
"b6efc758",
"--recurse-submodules",
"--progress"
],
"cwd": "[CACHE]/builder/goldens",
"env": {
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
},
"infra_step": true,
"name": "git fetch"
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[CACHE]/builder/goldens",
"infra_step": true,
"name": "git checkout"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[CACHE]/builder/goldens",
"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": "[CACHE]/builder/goldens",
"infra_step": true,
"name": "git clean"
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[CACHE]/builder/goldens",
"infra_step": true,
"name": "submodule sync"
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"cwd": "[CACHE]/builder/goldens",
"infra_step": true,
"name": "submodule update"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copytree",
"[CACHE]/builder/goldens",
"[CACHE]/builder/src/flutter/lib/web_ui/.dart_tool/goldens"
],
"infra_step": true,
"name": "copy goldens"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"tests for linux",
"[CACHE]/builder/src/flutter/lib/web_ui/.dart_tool/test_results/info.txt"
],
"infra_step": true,
"name": "write info file",
"~followup_annotations": [
"@@@STEP_LOG_LINE@info.txt@tests for linux@@@",
"@@@STEP_LOG_END@info.txt@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]/gsutil.py",
"-m",
"----",
"cp",
"-r",
"[CACHE]/builder/src/flutter/lib/web_ui/.dart_tool/test_results",
"gs://mybucket/web_engine/0/chrome"
],
"infra_step": true,
"name": "gsutil upload goldens 0",
"~followup_annotations": [
"@@@STEP_LINK@archive goldens@https://console.cloud.google.com/storage/browser/mybucket/web_engine/0/chrome@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[CACHE]/builder/src/flutter/lib/web_ui/.dart_tool/test_results",
"*.html"
],
"infra_step": true,
"name": "html goldens",
"~followup_annotations": [
"@@@STEP_LOG_LINE@glob@[CACHE]/builder/src/flutter/lib/web_ui/.dart_tool/test_results/a.html@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [],
"name": "Failed golden links",
"~followup_annotations": [
"@@@STEP_LINK@a.html@https://storage.googleapis.com/mybucket/web_engine/0/chrome/a.html@@@"
]
},
{
"name": "$result"
}
]