blob: 83e43689445d6ec23fac9443ed2b589c256694ac [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/checkout"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/infra/repo",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/infra/repo.get packages",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::repo]/resources/cipd.ensure",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure fuchsia/infra/repo.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@cipd.ensure@fuchsia/infra/repo version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/infra/repo.install fuchsia/infra/repo",
"~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",
"0o777",
"[START_DIR]/cipd_tool/fuchsia/infra/repo/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure fuchsia/infra/repo.install fuchsia/infra/repo.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/infra/repo/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"fuchsia/infra/repo version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.ensure fuchsia/infra/repo.install fuchsia/infra/repo.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\": \"fuchsia/infra/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": [
"[START_DIR]/cipd_tool/fuchsia/infra/repo/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/repo",
"init",
"--manifest-url",
"https://fuchsia.googlesource.com/foo",
"--manifest-branch",
"2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.repo init https://fuchsia.googlesource.com/foo",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/infra/repo/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/repo",
"sync"
],
"cwd": "[START_DIR]/checkout",
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.repo sync",
"timeout": 900.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"rdb",
"stream",
"--",
"[START_DIR]/checkout/run-tests.sh",
"--cipd-yaml-manifest",
"[CLEANUP]/cipd_manifest_tmp_1"
],
"cwd": "[START_DIR]/checkout",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "run run-tests.sh"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/cipd_manifest_tmp_1",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/checkout",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "read CIPD yaml manifest",
"~followup_annotations": [
"@@@STEP_LOG_LINE@cipd_manifest_tmp_1@path/to/foo.yaml@@@",
"@@@STEP_LOG_LINE@cipd_manifest_tmp_1@path/to/bar.yaml@@@",
"@@@STEP_LOG_END@cipd_manifest_tmp_1@@@"
]
},
{
"cmd": [],
"name": "repo snapshot"
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/infra/repo/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/repo",
"list"
],
"cwd": "[START_DIR]/checkout",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo snapshot.repo list",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/checkout/project/a",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo snapshot.get project/a HEAD",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/checkout/project/b",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "repo snapshot.get project/b HEAD",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"create",
"-pkg-def",
"[START_DIR]/checkout/path/to/foo.yaml",
"-hash-algo",
"sha256",
"-ref",
"latest",
"-tag",
"project_a:foo",
"-tag",
"project_b:foo",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/checkout",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "create foo.yaml",
"~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\": \"foo.yaml\"@@@",
"@@@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/foo.yaml/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"cmd": [
"cipd",
"create",
"-pkg-def",
"[START_DIR]/checkout/path/to/bar.yaml",
"-hash-algo",
"sha256",
"-ref",
"latest",
"-tag",
"project_a:foo",
"-tag",
"project_b:foo",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/checkout",
"env": {
"COMMIT_MESSAGE_FILE": "[CLEANUP]/tmp_tmp_1/commit_message.txt"
},
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "create bar.yaml",
"~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\": \"bar.yaml\"@@@",
"@@@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/bar.yaml/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]