blob: 4e476afd52a9f23e8b264b1877636cb30dee076c [file] [log] [blame]
[
{
"cmd": [],
"name": "ensure gitiles"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/gitiles",
"-ensure-file",
"infra/tools/luci/gitiles/${platform} latest",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure gitiles.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-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gitiles/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": [
"[START_DIR]/cipd/gitiles/gitiles",
"refs",
"-json-output",
"/path/to/tmp/json",
"https://chromium.googlesource.com/breakpad/breakpad",
"refs"
],
"name": "refs",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"refs/heads/master\": \"9eac2058b70615519b2c4d8c6bdbfca1bd079e39\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/depot_tools"
],
"infra_step": true,
"name": "makedirs"
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "git init"
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://chromium.googlesource.com/chromium/tools/depot_tools.git"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "git remote"
},
{
"cmd": [],
"name": "cache"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git",
"infra_step": true,
"name": "cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://chromium.googlesource.com/chromium/tools/depot_tools.git"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git",
"infra_step": true,
"name": "cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git",
"infra_step": true,
"name": "cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git",
"infra_step": true,
"name": "cache.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/depot_tools/.git/objects/info"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git/objects\n",
"[START_DIR]/depot_tools/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/chromium.googlesource.com-chromium-tools-depot_tools.git/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"master"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "git fetch"
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "git checkout"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "git clean"
},
{
"cmd": [],
"name": "submodule"
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/depot_tools",
"infra_step": true,
"name": "submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/breakpad"
],
"infra_step": true,
"name": "makedirs breakpad"
},
{
"cmd": [
"gclient",
"config",
"--name=src",
"--unmanaged",
"-v",
"https://chromium.googlesource.com/breakpad/breakpad"
],
"cwd": "[START_DIR]/breakpad",
"env_prefixes": {
"PATH": [
"[START_DIR]/depot_tools"
]
},
"infra_step": true,
"name": "gclient config"
},
{
"cmd": [
"gclient",
"sync"
],
"cwd": "[START_DIR]/breakpad",
"env_prefixes": {
"PATH": [
"[START_DIR]/depot_tools"
]
},
"infra_step": true,
"name": "gclient sync"
},
{
"cmd": [
"git",
"checkout",
"9eac2058b70615519b2c4d8c6bdbfca1bd079e39"
],
"cwd": "[START_DIR]/breakpad/src",
"env_prefixes": {
"PATH": [
"[START_DIR]/depot_tools"
]
},
"infra_step": true,
"name": "pin git"
},
{
"cmd": [
"gclient",
"sync",
"-v",
"--output-json",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/breakpad/src",
"env_prefixes": {
"PATH": [
"[START_DIR]/depot_tools"
]
},
"infra_step": true,
"name": "gclient sync (2)",
"~followup_annotations": [
"@@@STEP_LOG_END@json.output (invalid)@@@",
"@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@",
"@@@STEP_LOG_END@json.output (exception)@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"9eac2058b70615519b2c4d8c6bdbfca1bd079e39\"@@@"
]
},
{
"cmd": [
"./configure"
],
"cwd": "[START_DIR]/breakpad/src",
"env_prefixes": {
"PATH": [
"[START_DIR]/depot_tools"
]
},
"infra_step": true,
"name": "configure"
},
{
"cmd": [
"make",
"src/tools/linux/dump_syms/dump_syms"
],
"cwd": "[START_DIR]/breakpad/src",
"env_prefixes": {
"PATH": [
"[START_DIR]/depot_tools"
]
},
"infra_step": true,
"name": "build"
},
{
"cmd": [],
"name": "cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"9eac2058b70615519b2c4d8c6bdbfca1bd079e39\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/tools/breakpad/resolved-platform\"@@@"
]
},
{
"cmd": [
"cipd",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"file\": \"dump_syms/dump_syms\"}, {\"version_file\": \".versions/breakpad.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/tools/breakpad/${platform}\", \"root\": \"[START_DIR]/breakpad/src/src/tools/linux\"}",
"-out",
"[CLEANUP]/breakpad.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.build fuchsia/tools/breakpad/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/breakpad/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/tools/breakpad/${platform}",
"-tag",
"git_revision:9eac2058b70615519b2c4d8c6bdbfca1bd079e39",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.cipd search fuchsia/tools/breakpad/${platform} git_revision:9eac2058b70615519b2c4d8c6bdbfca1bd079e39",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": []@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"pkg-register",
"[CLEANUP]/breakpad.cipd",
"-ref",
"latest",
"-tag",
"git_repository:https://chromium.googlesource.com/breakpad/breakpad",
"-tag",
"git_revision:9eac2058b70615519b2c4d8c6bdbfca1bd079e39",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.register fuchsia/tools/breakpad/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/breakpad/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@fuchsia/tools/breakpad/resolved-platform@https://chrome-infra-packages.appspot.com/p/fuchsia/tools/breakpad/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]