blob: fbecefac56f602050f1aac4a09d085d26e367c45 [file] [log] [blame]
[
{
"cmd": [],
"name": "check latest versions AEMU"
},
{
"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@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/android/aemu/release/linux-amd64",
"-tag",
"bid:1234567",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd search fuchsia/third_party/android/aemu/release/linux-amd64 bid:1234567",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/android/aemu/release/linux-amd64\"@@@",
"@@@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 starnix"
},
{
"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",
"git_starnix-dev",
"-artifact",
"starnix_x86_64-eng,starnix_x86_64-img-{bid}.zip",
"-artifact",
"starnix_x86_64-eng,bin/adb",
"-artifact",
"starnix_x86_64-eng,bin/aidl",
"-artifact",
"starnix_x86_64-eng,bin/aidl_rust_glue.py",
"-artifact",
"starnix_x86_64-eng,lib64/libc++.so",
"-artifact",
"starnix_x86_64-eng,art-run-test-target-data-merged.zip",
"-artifact",
"starnix_x86_64-eng,starnix_testcases.img",
"-artifact",
"starnix_x86_64-eng,build-id.zip",
"-artifact",
"starnix_arm64-eng,starnix_arm64-img-{bid}.zip",
"-artifact",
"starnix_arm64-eng,bin/adb",
"-artifact",
"starnix_arm64-eng,bin/aidl",
"-artifact",
"starnix_arm64-eng,bin/aidl_rust_glue.py",
"-artifact",
"starnix_arm64-eng,lib64/libc++.so",
"-artifact",
"starnix_arm64-eng,art-run-test-target-data-merged.zip",
"-artifact",
"starnix_arm64-eng,starnix_testcases.img",
"-artifact",
"starnix_arm64-eng,build-id.zip"
],
"name": "check latest versions starnix.get latest bid from Android build for starnix",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia_internal/starnix/android-image-amd64",
"-tag",
"bid:1234567",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd search fuchsia_internal/starnix/android-image-amd64 bid:1234567",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia_internal/starnix/android-image-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"name": "$result"
}
]