blob: f1eacaa1dabd81802d0669c0606c205c79a5492b [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py",
"--spec-path",
"cache_dir = '[CACHE]\\\\git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'client', 'url': 'https://chromium.googlesource.com/infra/goma/client'}]",
"--patch_root",
"client",
"--revision_mapping_file",
"{\"got_revision\": \"client\"}",
"--git-cache-dir",
"[CACHE]\\git",
"--cleanup-dir",
"[CLEANUP]\\bot_update",
"--output_json",
"/path/to/tmp/json",
"--revision",
"client@8b3cd40a25a512033cc8c0797e41de9ecfc2432c",
"--gerrit_no_reset"
],
"env_prefixes": {
"PATH": [
"RECIPE_PACKAGE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "bot_update",
"~followup_annotations": [
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"client\": \"8b3cd40a25a512033cc8c0797e41de9ecfc2432c\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"client\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/client.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"d2a04d71301a8915217dd5faf81d12cffd6cd958\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"client\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"d2a04d71301a8915217dd5faf81d12cffd6cd958\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#20945}\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"client\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"client\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/client.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"d2a04d71301a8915217dd5faf81d12cffd6cd958\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"d2a04d71301a8915217dd5faf81d12cffd6cd958\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#20945}\"@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
"runhooks"
],
"cwd": "[START_DIR]\\client",
"env_suffixes": {
"PATH": [
"RECIPE_PACKAGE_REPO[depot_tools]"
]
},
"name": "gclient runhooks"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[depot_tools]\\gn.py",
"--root=[START_DIR]\\client",
"gen",
"[START_DIR]\\client\\out\\Release",
"--args=is_debug=false cpu_arch=\"x64\" dcheck_always_on=true use_link_time_optimization=false"
],
"name": "gn"
},
{
"cmd": [
"RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe",
"-C",
"[START_DIR]\\client\\out\\Release"
],
"name": "build"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]\\client\\build\\run_unittest.py",
"--build-dir",
"[START_DIR]\\client\\out",
"--target",
"Release",
"--non-stop"
],
"name": "tests"
},
{
"cmd": [
"python",
"-u",
"[START_DIR]\\client\\build\\archive.py",
"--platform",
"win",
"--build_dir",
"[START_DIR]\\client\\out",
"--target_dir",
"Release",
"--dist_dir",
"[TMP_BASE]"
],
"name": "archive"
},
{
"cmd": [
"cipd.bat",
"pkg-build",
"-in",
"[START_DIR]\\client\\out\\Release\\goma-win",
"-name",
"infra/goma/client/windows-amd64",
"-out",
"[TMP_BASE]\\package.cipd",
"-json-output",
"/path/to/tmp/json",
"-install-mode",
"copy"
],
"name": "build windows-amd64",
"~followup_annotations": [
"@@@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\": \"infra/goma/client/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-register",
"[TMP_BASE]\\package.cipd",
"-json-output",
"/path/to/tmp/json",
"-ref",
"latest",
"-tag",
"git_revision:8b3cd40a25a512033cc8c0797e41de9ecfc2432c"
],
"name": "register infra/goma/client/windows-amd64",
"~followup_annotations": [
"@@@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\": \"infra/goma/client/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]