blob: 6d2dce0d8a09c53bc77d15ffd45a4c2783e1fb27 [file] [log] [blame]
[
{
"cmd": [],
"name": "check latest versions AEMU",
"~followup_annotations": [
"@@@STEP_FAILURE@@@"
]
},
{
"cmd": [],
"name": "check latest versions AEMU.ensure luci-auth",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::android_downloader]/resources/luci_auth/tool_manifest.json",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "check latest versions AEMU.ensure luci-auth.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/luci-auth\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "check latest versions AEMU.ensure luci-auth.install path/to/luci-auth",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version"
],
"infra_step": true,
"name": "check latest versions AEMU.ensure luci-auth.install path/to/luci-auth.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/luci-auth/version%3Apinned-version",
"-ensure-file",
"path/to/luci-auth version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "check latest versions AEMU.ensure luci-auth.install path/to/luci-auth.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/luci-auth\"@@@",
"@@@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": [],
"name": "check latest versions AEMU.ensure aemu",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::android_downloader]/resources/android_downloader/tool_manifest.json",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "check latest versions AEMU.ensure aemu.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/aemu\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "check latest versions AEMU.ensure aemu.install path/to/aemu",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version"
],
"infra_step": true,
"name": "check latest versions AEMU.ensure aemu.install path/to/aemu.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version",
"-ensure-file",
"path/to/aemu version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "check latest versions AEMU.ensure aemu.install path/to/aemu.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/aemu\"@@@",
"@@@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_tool/path/to/luci-auth/version%3Apinned-version/luci-auth",
"context",
"-scopes",
"https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/firebase https://www.googleapis.com/auth/gerritcodereview https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/androidbuild.internal",
"-act-as-service-account",
"aemu-artifact-mover@fuchsia-cloud-api-for-test.iam.gserviceaccount.com",
"--",
"[START_DIR]/cipd_tool/path/to/aemu/version%3Apinned-version/aemu",
"-find_bid",
"-branch",
"aosp-emu-master-dev",
"-artifact",
"emulator-linux_x64_internal,sdk-repo-linux-emulator-{bid}.zip",
"-artifact",
"emulator-linux_aarch64,sdk-repo-linux_aarch64-emulator-{bid}.zip",
"-artifact",
"emulator-mac_x64,sdk-repo-darwin-emulator-{bid}.zip",
"-artifact",
"emulator-mac_aarch64,sdk-repo-darwin_aarch64-emulator-{bid}.zip"
],
"name": "check latest versions AEMU.get latest bid from Android build for AEMU",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"failure": {
"failure": {},
"humanReason": "Step('check latest versions AEMU.get latest bid from Android build for AEMU') (retcode: 1)"
},
"name": "$result"
}
]