blob: 12808b294d730f09982a6adc6d48fd6f9e08a601 [file] [log] [blame]
[
{
"cmd": [],
"name": "install fuchsia/third_party/repo"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install fuchsia/third_party/repo.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8",
"-ensure-file",
"fuchsia/third_party/repo version:2.8",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install fuchsia/third_party/repo.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-version:2.8-----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/repo\"@@@",
"@@@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": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/android/src"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ensure source directory"
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8/repo",
"init",
"-u",
"https://android.googlesource.com/platform/manifest",
"-b",
"platform-tools-31.0.2"
],
"cwd": "[START_DIR]/android/src",
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo init"
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/third_party/repo/version%3A2.8/repo",
"sync",
"-j8"
],
"cwd": "[START_DIR]/android/src",
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo sync"
},
{
"cmd": [
"git",
"config",
"remote.aosp.url"
],
"cwd": "[START_DIR]/android/src/system/core/fastboot",
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "set config"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/android/src/system/core/fastboot",
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git rev-parse"
},
{
"cmd": [
"[START_DIR]/android/src/build/soong/soong_ui.bash",
"--make-mode",
"[CLEANUP]/fastboot_tmp_1/out/host/linux-x86/bin/fastboot"
],
"cwd": "[START_DIR]/android/src",
"env": {
"OUT_DIR": "[CLEANUP]/fastboot_tmp_1/out"
},
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build fastboot"
},
{
"cmd": [],
"name": "cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"deadbeef\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/fastboot/resolved-platform\"@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/fastboot/${platform}",
"-tag",
"git_revision:deadbeef",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.cipd search fuchsia/third_party/fastboot/${platform} git_revision:deadbeef",
"~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",
"create",
"-pkg-def",
"{\"data\": [{\"file\": \"fastboot\"}, {\"version_file\": \".versions/fastboot.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/fastboot/${platform}\", \"root\": \"[CLEANUP]/fastboot_tmp_1/out/host/linux-x86/bin\"}",
"-hash-algo",
"sha256",
"-ref",
"latest",
"-tag",
"git_branch:platform-tools-31.0.2",
"-tag",
"git_revision:deadbeef",
"-metadata",
"bbid:8945511751514863184",
"-metadata",
"git_branch:platform-tools-31.0.2",
"-metadata",
"git_repository:https://fuchsia.googlesource.com/fuchsia",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "android:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.create fuchsia/third_party/fastboot/${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/third_party/fastboot/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/fastboot/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]