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

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

Issue 2933473002: [context] Split "env" values and prefixes. (Closed)
Patch Set: fix typo 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
« no previous file with comments | « recipe_modules/context/examples/full.py ('k') | recipe_modules/context/tests/env.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 },
64 "env_prefixes": {
65 "FOO": [
66 "[START_DIR]/pants",
67 "[START_DIR]/shirt"
68 ]
63 }, 69 },
64 "name": "env step with prefix" 70 "name": "env step with prefix"
65 }, 71 },
66 { 72 {
73 "cmd": [
74 "bash",
75 "-c",
76 "echo $FOO"
77 ],
78 "env": {
79 "FOO": ""
80 },
81 "env_prefixes": {
82 "FOO": [
83 "[START_DIR]/pants",
84 "[START_DIR]/shirt"
85 ]
86 },
87 "name": "env prefixes with empty value"
88 },
89 {
67 "cmd": [], 90 "cmd": [],
68 "name": "nested" 91 "name": "nested"
69 }, 92 },
70 { 93 {
71 "cmd": [ 94 "cmd": [
72 "bash", 95 "bash",
73 "-c", 96 "-c",
74 "echo yay!" 97 "echo yay!"
75 ], 98 ],
76 "name": "nested.properly indented", 99 "name": "nested.properly indented",
(...skipping 11 matching lines...) Expand all
88 "~followup_annotations": [ 111 "~followup_annotations": [
89 "@@@STEP_NEST_LEVEL@1@@@" 112 "@@@STEP_NEST_LEVEL@1@@@"
90 ] 113 ]
91 }, 114 },
92 { 115 {
93 "name": "$result", 116 "name": "$result",
94 "recipe_result": null, 117 "recipe_result": null,
95 "status_code": 0 118 "status_code": 0
96 } 119 }
97 ] 120 ]
OLDNEW
« no previous file with comments | « recipe_modules/context/examples/full.py ('k') | recipe_modules/context/tests/env.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698