blob: 5605cbbe3f41f851355387deee412169b1682bfc [file] [log] [blame]
[
{
"cmd": [],
"name": "install infra/3pp/tools/gsutil"
},
{
"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/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install infra/3pp/tools/gsutil.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3",
"-ensure-file",
"infra/3pp/tools/gsutil/${platform} version:2@5.19",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install infra/3pp/tools/gsutil.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@5.19--\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/gsutil/resolved-platform\"@@@",
"@@@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/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3/gsutil",
"-h",
"Cache-Control:no-cache",
"-h",
"Custom-Time:2012-05-14T12:53:21.500000Z",
"-h",
"x-goog-meta-Remove-Me",
"-h",
"x-goog-meta-Test-Field:value",
"-h",
"x-custom-field:custom-value",
"-o",
"GSUtil:parallel_composite_upload_threshold=50M",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-n",
"example",
"gs://[CLEANUP]/file/builds/8945511751514863184/path/to/file"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload path/to/file to [CLEANUP]/file",
"~followup_annotations": [
"@@@STEP_LINK@path/to/file@https://storage.googleapis.com/[CLEANUP]/file/builds/8945511751514863184/path/to/file@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3/gsutil",
"-h",
"Custom-Time:2012-05-14T12:53:23.000000Z",
"-o",
"GSUtil:software_update_check_period=0",
"-m",
"rsync",
"-r",
"-u",
"-j",
"html",
"[CLEANUP]/dir",
"gs://example/builds/8945511751514863184/rsync_subpath"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload rsync_subpath to example",
"~followup_annotations": [
"@@@STEP_LINK@rsync_subpath@https://console.cloud.google.com/storage/browser/example/builds/8945511751514863184/rsync_subpath@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3/gsutil",
"-h",
"Custom-Time:2012-05-14T12:53:24.500000Z",
"-o",
"GSUtil:software_update_check_period=0",
"-m",
"cp",
"-r",
"-n",
"-j",
"html",
"[CLEANUP]/dir",
"gs://example/builds/8945511751514863184/cp_subpath"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "upload cp_subpath to example",
"~followup_annotations": [
"@@@STEP_LINK@cp_subpath@https://storage.cloud.google.com/example/builds/8945511751514863184/cp_subpath@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3/gsutil",
"-h",
"Custom-Time:2012-05-14T12:53:26.000000Z",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-r",
"[CLEANUP]/dir",
"gs://example/dir"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "gsutil cp",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/example/dir@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-r",
"gs://example/foo",
"gs://example/bar"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "gsutil cp (2)",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.copy@https://storage.cloud.google.com/example/bar@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/3pp/tools/gsutil/b4b219a8941171148883e671bbc50247a15c06d7bae1e2ad831ef38fbb8831f3/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-r",
"gs://example/foo",
"tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "gsutil cp (3)"
},
{
"name": "$result"
}
]