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/url/example.expected/basic.json

76 lines
1.3 KiB
JSON

[
{
"cmd": [
"/bin/echo",
"foo/bar/baz"
],
"name": "step1"
},
{
"cmd": [
"/bin/echo",
"foo/bar/baz"
],
"name": "step2"
},
{
"cmd": [
"/bin/echo",
"foo/bar/baz"
],
"name": "step3"
},
{
"cmd": [
"/bin/echo",
"foo/bar/baz"
],
"name": "step4"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::url]/resources/pycurl.py",
"fake://foo/bar",
"--outfile",
"/path/to/tmp/",
"--attempts",
"5"
],
"name": "fetch fake://foo/bar"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::url]/resources/pycurl.py",
"fake://foo/bar (w/ auth)",
"--outfile",
"/path/to/tmp/",
"--headers-json",
"{\"Authorization\": \"thing\"}"
],
"name": "fetch fake://foo/bar (w/ auth)"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::url]/resources/pycurl.py",
"fake://foo/bar",
"--outfile",
"[START_DIR]",
"--headers-json",
"{\"Authorization\": \"thing\"}",
"--attempts",
"10"
],
"name": "fetch fake://foo/bar (2)"
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]