blob: fcb04af3129e115378b12657377aa61a548f7747 [file] [log] [blame]
[
{
"cmd": [],
"name": "ensure_gsutil"
},
{
"cmd": [
"cipd",
"ensure",
"--root",
"[START_DIR]/cipd/gsutil",
"--list",
"infra/tools/gsutil latest",
"--json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure_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@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/gsutil\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-h",
"Cache-Control:no-cache",
"-h",
"x-goog-meta-Remove-Me",
"-h",
"x-goog-meta-Test-Field:value",
"-h",
"x-custom-field:custom-value",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[TMP_BASE]/file",
"gs://example/path/to/file"
],
"infra_step": true,
"name": "gsutil cp",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/example/path/to/file@@@"
]
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-h",
"Cache-Control:no-cache",
"-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",
"-m",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[TMP_BASE]/file",
"gs://example/path/to/file"
],
"infra_step": true,
"name": "gsutil cp (2)",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/example/path/to/file@@@"
]
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"gs://example/some/random/path/**",
"gs://example/staging"
],
"infra_step": true,
"name": "gsutil cp (3)"
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"gs://example/path/to/file",
"[TMP_BASE]/file"
],
"infra_step": true,
"name": "gsutil download url"
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"gs://example/staging/to/file",
"[TMP_BASE]/erang"
],
"infra_step": true,
"name": "gsutil cp (4)"
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"signurl",
"path/to/key",
"example",
"path/to/file"
],
"infra_step": true,
"name": "gsutil signurl"
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"rm",
"gs://example/staging/to/file"
],
"infra_step": true,
"name": "gsutil rm"
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"ls",
"gs://example/foo"
],
"infra_step": true,
"name": "gsutil ls"
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"gs://example/path/to/file",
"gs://example/staging/to/file"
],
"infra_step": true,
"name": "gsutil cp (5)",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.copy@https://storage.cloud.google.com/example/staging/to/file@@@"
]
},
{
"cmd": [
"vpython",
"-spec",
"RECIPE_MODULE[infra::gsutil]/resources/gsutil.vpython",
"-u",
"[START_DIR]/cipd/gsutil/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cat",
"gs://example/foo"
],
"infra_step": true,
"name": "gsutil cat"
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]