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

Side by Side Diff: recipe_modules/context/examples/full.expected/basic.json

Issue 2933473002: [context] Split "env" values and prefixes. (Closed)
Patch Set: comments Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "bash", 4 "bash",
5 "-c", 5 "-c",
6 "echo default!" 6 "echo default!"
7 ], 7 ],
8 "name": "default step" 8 "name": "default step"
9 }, 9 },
10 { 10 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 }, 52 },
53 "name": "env step" 53 "name": "env step"
54 }, 54 },
55 { 55 {
56 "cmd": [ 56 "cmd": [
57 "bash", 57 "bash",
58 "-c", 58 "-c",
59 "echo $FOO" 59 "echo $FOO"
60 ], 60 ],
61 "env": { 61 "env": {
62 "FOO": "[START_DIR]/pants:[START_DIR]/shirt:bar" 62 "FOO": "bar"
63 }, 63 },
64 "name": "env step with prefix" 64 "env_prefixes": {
65 "FOO": [
66 "[START_DIR]/pants",
67 "[START_DIR]/shirt"
68 ]
69 },
70 "name": "env step with prefix",
71 "stdout": "/path/to/tmp/"
72 },
73 {
74 "cmd": [
75 "bash",
76 "-c",
77 "echo $FOO"
78 ],
79 "env": {
80 "FOO": ""
81 },
82 "env_prefixes": {
83 "FOO": [
84 "[START_DIR]/pants",
85 "[START_DIR]/shirt"
86 ]
87 },
88 "name": "env prefixes with empty value",
89 "stdout": "/path/to/tmp/"
65 }, 90 },
66 { 91 {
67 "cmd": [], 92 "cmd": [],
68 "name": "nested" 93 "name": "nested"
69 }, 94 },
70 { 95 {
71 "cmd": [ 96 "cmd": [
72 "bash", 97 "bash",
73 "-c", 98 "-c",
74 "echo yay!" 99 "echo yay!"
(...skipping 13 matching lines...) Expand all
88 "~followup_annotations": [ 113 "~followup_annotations": [
89 "@@@STEP_NEST_LEVEL@1@@@" 114 "@@@STEP_NEST_LEVEL@1@@@"
90 ] 115 ]
91 }, 116 },
92 { 117 {
93 "name": "$result", 118 "name": "$result",
94 "recipe_result": null, 119 "recipe_result": null,
95 "status_code": 0 120 "status_code": 0
96 } 121 }
97 ] 122 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698