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

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

Issue 1923013002: Revert of recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: Created 4 years, 8 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/json/example.py ('k') | recipe_modules/path/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/json/example.expected/basic.json
diff --git a/recipe_modules/json/example.expected/basic.json b/recipe_modules/json/example.expected/basic.json
index 556ebcae86ea2bad00c81e511df55704b9a1b797..40fc25579579c601a5456ad9a1cc6705cd52d4c9 100644
--- a/recipe_modules/json/example.expected/basic.json
+++ b/recipe_modules/json/example.expected/basic.json
@@ -4,6 +4,7 @@
"echo",
"[1, 2, 3]"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "echo1",
"stdout": "/path/to/tmp/json",
"~followup_annotations": [
@@ -20,6 +21,7 @@
"echo",
"[2, 3, 4]"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "echo2",
"stdout": "/path/to/tmp/json",
"~followup_annotations": [
@@ -39,6 +41,7 @@
"/path/to/tmp/json",
"/path/to/tmp/json"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "foo",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output[1]@[@@@",
@@ -68,6 +71,7 @@
"cat",
"{\"x\": 1, \"y\": 2}"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "json through",
"stdout": "/path/to/tmp/json",
"~followup_annotations": [
@@ -83,17 +87,19 @@
"cat",
"{\"x\": 1, \"y\": 2}"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "write json to file",
- "stdout": "[TMP]/temp.json"
+ "stdout": "[SLAVE_BUILD]/temp.json"
},
{
"cmd": [
"python",
"-u",
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[TMP]/temp.json",
+ "[SLAVE_BUILD]/temp.json",
"/path/to/tmp/json"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "read json from file we just wrote",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
« no previous file with comments | « recipe_modules/json/example.py ('k') | recipe_modules/path/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698