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

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

Issue 1906323003: recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: tmp 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 40fc25579579c601a5456ad9a1cc6705cd52d4c9..556ebcae86ea2bad00c81e511df55704b9a1b797 100644
--- a/recipe_modules/json/example.expected/basic.json
+++ b/recipe_modules/json/example.expected/basic.json
@@ -4,7 +4,6 @@
"echo",
"[1, 2, 3]"
],
- "cwd": "[SLAVE_BUILD]",
"name": "echo1",
"stdout": "/path/to/tmp/json",
"~followup_annotations": [
@@ -21,7 +20,6 @@
"echo",
"[2, 3, 4]"
],
- "cwd": "[SLAVE_BUILD]",
"name": "echo2",
"stdout": "/path/to/tmp/json",
"~followup_annotations": [
@@ -41,7 +39,6 @@
"/path/to/tmp/json",
"/path/to/tmp/json"
],
- "cwd": "[SLAVE_BUILD]",
"name": "foo",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output[1]@[@@@",
@@ -71,7 +68,6 @@
"cat",
"{\"x\": 1, \"y\": 2}"
],
- "cwd": "[SLAVE_BUILD]",
"name": "json through",
"stdout": "/path/to/tmp/json",
"~followup_annotations": [
@@ -87,19 +83,17 @@
"cat",
"{\"x\": 1, \"y\": 2}"
],
- "cwd": "[SLAVE_BUILD]",
"name": "write json to file",
- "stdout": "[SLAVE_BUILD]/temp.json"
+ "stdout": "[TMP]/temp.json"
},
{
"cmd": [
"python",
"-u",
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[SLAVE_BUILD]/temp.json",
+ "[TMP]/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