You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/recipes/recipe_modules/gsutil/examples/full.expected/basic.json

197 lines
4.5 KiB
JSON

[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"-h",
"Cache-Control:no-cache",
"-h",
"x-goog-meta-Remove-Me",
"-h",
"x-goog-meta-Test-Field:value",
"-h",
"x-custom-field:custom-value",
"cp",
"[TMP_BASE]/boom",
"gs://example/some/random/path/to/boom"
],
"infra_step": true,
"name": "gsutil upload",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/example/some/random/path/to/boom@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"-o",
"GSUtil:parallel_composite_upload_threshold=50M",
"-m",
"--",
"-h",
"Cache-Control:no-cache",
"-h",
"x-goog-meta-Remove-Me",
"-h",
"x-goog-meta-Test-Field:value",
"-h",
"x-custom-field:custom-value",
"cp",
"[TMP_BASE]/boom",
"gs://example/some/random/path/to/boom"
],
"infra_step": true,
"name": "gsutil upload (2)",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/example/some/random/path/to/boom@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://example/some/random/path/**",
"gs://example/staging"
],
"infra_step": true,
"name": "gsutil cp"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"--force-version",
"3.25",
"----",
"cp",
"gs://example/some/random/path/**",
"gs://example/staging"
],
"infra_step": true,
"name": "gsutil cp (2)"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://example/some/random/path/to/boom",
"[TMP_BASE]/boom"
],
"infra_step": true,
"name": "gsutil gsutil download url"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://example/staging/to/boom",
"[TMP_BASE]/erang"
],
"infra_step": true,
"name": "gsutil download"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"signurl",
"path/to/key",
"gs://example/some/random/path/to/boom"
],
"infra_step": true,
"name": "gsutil signed url"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"rm",
"gs://example/staging/to/boom"
],
"infra_step": true,
"name": "gsutil remove"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"ls",
"gs://example/foo"
],
"infra_step": true,
"name": "gsutil list"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://example/some/random/path/to/boom",
"gs://example/staging/to/boom"
],
"infra_step": true,
"name": "gsutil copy",
"~followup_annotations": [
"@@@STEP_LINK@gsutil.copy@https://storage.cloud.google.com/example/staging/to/boom@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
"----",
"cat",
"gs://example/foo"
],
"infra_step": true,
"name": "gsutil cat"
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]