Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: recipe_modules/url/example.expected/basic.json

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/url/example.py ('k') | recipe_modules/url/examples/full.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/url/example.expected/basic.json
diff --git a/recipe_modules/url/example.expected/basic.json b/recipe_modules/url/example.expected/basic.json
deleted file mode 100644
index 31ea6a10e7ef33ca2798f1b71b103bf8c4d40313..0000000000000000000000000000000000000000
--- a/recipe_modules/url/example.expected/basic.json
+++ /dev/null
@@ -1,158 +0,0 @@
-[
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "https://chromium.org",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "[START_DIR]/download.bin",
- "--headers-json",
- "{\"Authorization\": \"thing\"}"
- ],
- "name": "GET https://chromium.org"
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "http://chromium.org",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/"
- ],
- "name": "GET http://chromium.org"
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "http://chromium.org",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/"
- ],
- "name": "GET http://chromium.org (2)"
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "https://chromium.googlesource.com/infra/infra?format=JSON",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/json",
- "--strip-prefix",
- "\")]}'\\n\""
- ],
- "name": "GET https://chromium.googlesource.com/infra/infra?format=JSON",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@json.output[output]@{@@@",
- "@@@STEP_LOG_LINE@json.output[output]@ \"is_json\": true@@@",
- "@@@STEP_LOG_LINE@json.output[output]@}@@@",
- "@@@STEP_LOG_END@json.output[output]@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "https://chromium.googlesource.com/infra/infra?format=JSON",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/json",
- "--strip-prefix",
- "\")]}'\\n\""
- ],
- "name": "GET https://chromium.googlesource.com/infra/infra?format=JSON (2)"
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "http://httpstat.us/500",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/",
- "--transient-retry",
- "4"
- ],
- "name": "error"
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "http://httpstat.us/500",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/",
- "--transient-retry",
- "0"
- ],
- "infra_step": true,
- "name": "infra error"
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "https://wrong.host.badssl.com/",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/"
- ],
- "name": "GET https://wrong.host.badssl.com/",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "cmd": [
- "vpython",
- "-u",
- "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py",
- "--url",
- "https://expired.badssl.com/",
- "--status-json",
- "/path/to/tmp/json",
- "--outfile",
- "/path/to/tmp/"
- ],
- "name": "GET https://expired.badssl.com/",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "name": "$result",
- "recipe_result": null,
- "status_code": 0
- }
-]
« no previous file with comments | « recipe_modules/url/example.py ('k') | recipe_modules/url/examples/full.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698