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

Side by Side Diff: recipe_modules/git/example.expected/platform_win.json

Issue 1751003002: Fix recipe module git to use package_resouce. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: fix expectations Created 4 years, 9 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 "RECIPE_PACKAGE[depot_tools]\\bootstrap\\win\\win_tools.bat"
5 ],
6 "cwd": "RECIPE_PACKAGE[depot_tools]",
7 "name": "ensure git tooling on windows"
8 },
9 {
10 "cmd": [
4 "python", 11 "python",
5 "-u", 12 "-u",
6 "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", 13 "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py",
7 "--path", 14 "--path",
8 "[SLAVE_BUILD]\\src", 15 "[SLAVE_BUILD]\\src",
9 "--url", 16 "--url",
10 "https://chromium.googlesource.com/chromium/src.git", 17 "https://chromium.googlesource.com/chromium/src.git",
11 "--git_cmd_path", 18 "--git_cmd_path",
12 "[DEPOT_TOOLS]\\git.bat" 19 "RECIPE_PACKAGE[depot_tools]\\git.bat"
13 ], 20 ],
14 "cwd": "[SLAVE_BUILD]", 21 "cwd": "[SLAVE_BUILD]",
15 "name": "git setup" 22 "name": "git setup"
16 }, 23 },
17 { 24 {
18 "cmd": [ 25 "cmd": [
19 "[DEPOT_TOOLS]\\git.bat", 26 "RECIPE_PACKAGE[depot_tools]\\git.bat",
20 "retry", 27 "retry",
21 "fetch", 28 "fetch",
22 "origin", 29 "origin",
23 "master", 30 "master",
24 "--recurse-submodules" 31 "--recurse-submodules"
25 ], 32 ],
26 "cwd": "[SLAVE_BUILD]\\src", 33 "cwd": "[SLAVE_BUILD]\\src",
27 "name": "git fetch" 34 "name": "git fetch"
28 }, 35 },
29 { 36 {
30 "cmd": [ 37 "cmd": [
31 "[DEPOT_TOOLS]\\git.bat", 38 "RECIPE_PACKAGE[depot_tools]\\git.bat",
32 "checkout", 39 "checkout",
33 "-f", 40 "-f",
34 "FETCH_HEAD" 41 "FETCH_HEAD"
35 ], 42 ],
36 "cwd": "[SLAVE_BUILD]\\src", 43 "cwd": "[SLAVE_BUILD]\\src",
37 "name": "git checkout" 44 "name": "git checkout"
38 }, 45 },
39 { 46 {
40 "cmd": [ 47 "cmd": [
41 "[DEPOT_TOOLS]\\git.bat", 48 "RECIPE_PACKAGE[depot_tools]\\git.bat",
42 "rev-parse", 49 "rev-parse",
43 "HEAD" 50 "HEAD"
44 ], 51 ],
45 "cwd": "[SLAVE_BUILD]\\src", 52 "cwd": "[SLAVE_BUILD]\\src",
46 "name": "read revision", 53 "name": "read revision",
47 "stdout": "/path/to/tmp/", 54 "stdout": "/path/to/tmp/",
48 "~followup_annotations": [ 55 "~followup_annotations": [
49 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" 56 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
50 ] 57 ]
51 }, 58 },
52 { 59 {
53 "cmd": [ 60 "cmd": [
54 "[DEPOT_TOOLS]\\git.bat", 61 "RECIPE_PACKAGE[depot_tools]\\git.bat",
55 "clean", 62 "clean",
56 "-f", 63 "-f",
57 "-d", 64 "-d",
58 "-x" 65 "-x"
59 ], 66 ],
60 "cwd": "[SLAVE_BUILD]\\src", 67 "cwd": "[SLAVE_BUILD]\\src",
61 "name": "git clean" 68 "name": "git clean"
62 }, 69 },
63 { 70 {
64 "cmd": [ 71 "cmd": [
65 "[DEPOT_TOOLS]\\git.bat", 72 "RECIPE_PACKAGE[depot_tools]\\git.bat",
66 "submodule", 73 "submodule",
67 "sync" 74 "sync"
68 ], 75 ],
69 "cwd": "[SLAVE_BUILD]\\src", 76 "cwd": "[SLAVE_BUILD]\\src",
70 "name": "submodule sync" 77 "name": "submodule sync"
71 }, 78 },
72 { 79 {
73 "cmd": [ 80 "cmd": [
74 "[DEPOT_TOOLS]\\git.bat", 81 "RECIPE_PACKAGE[depot_tools]\\git.bat",
75 "submodule", 82 "submodule",
76 "update", 83 "update",
77 "--init", 84 "--init",
78 "--recursive" 85 "--recursive"
79 ], 86 ],
80 "cwd": "[SLAVE_BUILD]\\src", 87 "cwd": "[SLAVE_BUILD]\\src",
81 "name": "submodule update" 88 "name": "submodule update"
82 }, 89 },
83 { 90 {
84 "cmd": [ 91 "cmd": [
85 "[DEPOT_TOOLS]\\git.bat", 92 "RECIPE_PACKAGE[depot_tools]\\git.bat",
86 "-c", 93 "-c",
87 "foo=bar", 94 "foo=bar",
88 "count-objects", 95 "count-objects",
89 "-v" 96 "-v"
90 ], 97 ],
91 "cwd": "[SLAVE_BUILD]\\src", 98 "cwd": "[SLAVE_BUILD]\\src",
92 "name": "count-objects", 99 "name": "count-objects",
93 "stdout": "/path/to/tmp/" 100 "stdout": "/path/to/tmp/"
94 }, 101 },
95 { 102 {
96 "cmd": [ 103 "cmd": [
97 "[DEPOT_TOOLS]\\git.bat", 104 "RECIPE_PACKAGE[depot_tools]\\git.bat",
98 "config", 105 "config",
99 "--get", 106 "--get",
100 "remote.origin.url" 107 "remote.origin.url"
101 ], 108 ],
102 "cwd": "[SLAVE_BUILD]\\src", 109 "cwd": "[SLAVE_BUILD]\\src",
103 "name": "git config remote.origin.url", 110 "name": "git config remote.origin.url",
104 "stdout": "/path/to/tmp/", 111 "stdout": "/path/to/tmp/",
105 "~followup_annotations": [ 112 "~followup_annotations": [
106 "@@@STEP_TEXT@foo@@@" 113 "@@@STEP_TEXT@foo@@@"
107 ] 114 ]
108 }, 115 },
109 { 116 {
110 "cmd": [ 117 "cmd": [
111 "[DEPOT_TOOLS]\\git.bat", 118 "RECIPE_PACKAGE[depot_tools]\\git.bat",
112 "show", 119 "show",
113 "HEAD", 120 "HEAD",
114 "--format=%at", 121 "--format=%at",
115 "-s" 122 "-s"
116 ], 123 ],
117 "cwd": "[SLAVE_BUILD]\\src", 124 "cwd": "[SLAVE_BUILD]\\src",
118 "name": "git show", 125 "name": "git show",
119 "stdout": "/path/to/tmp/" 126 "stdout": "/path/to/tmp/"
120 }, 127 },
121 { 128 {
122 "cmd": [ 129 "cmd": [
123 "[DEPOT_TOOLS]\\git.bat", 130 "RECIPE_PACKAGE[depot_tools]\\git.bat",
124 "fetch", 131 "fetch",
125 "origin", 132 "origin",
126 "--tags" 133 "--tags"
127 ], 134 ],
128 "cwd": "[SLAVE_BUILD]\\src", 135 "cwd": "[SLAVE_BUILD]\\src",
129 "name": "git fetch tags" 136 "name": "git fetch tags"
130 }, 137 },
131 { 138 {
132 "cmd": [ 139 "cmd": [
133 "[DEPOT_TOOLS]\\git.bat", 140 "RECIPE_PACKAGE[depot_tools]\\git.bat",
134 "status" 141 "status"
135 ], 142 ],
136 "cwd": "[SLAVE_BUILD]\\src", 143 "cwd": "[SLAVE_BUILD]\\src",
137 "name": "git status" 144 "name": "git status"
138 }, 145 },
139 { 146 {
140 "cmd": [ 147 "cmd": [
141 "[DEPOT_TOOLS]\\git.bat", 148 "RECIPE_PACKAGE[depot_tools]\\git.bat",
142 "status" 149 "status"
143 ], 150 ],
144 "cwd": "[SLAVE_BUILD]\\src", 151 "cwd": "[SLAVE_BUILD]\\src",
145 "name": "git status can_fail_build" 152 "name": "git status can_fail_build"
146 }, 153 },
147 { 154 {
148 "cmd": [ 155 "cmd": [
149 "[DEPOT_TOOLS]\\git.bat", 156 "RECIPE_PACKAGE[depot_tools]\\git.bat",
150 "status" 157 "status"
151 ], 158 ],
152 "cwd": "[SLAVE_BUILD]\\src", 159 "cwd": "[SLAVE_BUILD]\\src",
153 "name": "git status cannot_fail_build" 160 "name": "git status cannot_fail_build"
154 }, 161 },
155 { 162 {
156 "cmd": [ 163 "cmd": [
157 "[DEPOT_TOOLS]\\git.bat", 164 "RECIPE_PACKAGE[depot_tools]\\git.bat",
158 "rebase", 165 "rebase",
159 "origin/master" 166 "origin/master"
160 ], 167 ],
161 "cwd": "[SLAVE_BUILD]\\src", 168 "cwd": "[SLAVE_BUILD]\\src",
162 "name": "my repo rebase" 169 "name": "my repo rebase"
163 }, 170 },
164 { 171 {
165 "cmd": [ 172 "cmd": [
166 "[DEPOT_TOOLS]\\git.bat", 173 "RECIPE_PACKAGE[depot_tools]\\git.bat",
167 "bundle", 174 "bundle",
168 "create", 175 "create",
169 "[SLAVE_BUILD]\\all.bundle", 176 "[SLAVE_BUILD]\\all.bundle",
170 "--all" 177 "--all"
171 ], 178 ],
172 "cwd": "[SLAVE_BUILD]\\src", 179 "cwd": "[SLAVE_BUILD]\\src",
173 "name": "git bundle" 180 "name": "git bundle"
174 }, 181 },
175 { 182 {
176 "name": "$result", 183 "name": "$result",
177 "recipe_result": null, 184 "recipe_result": null,
178 "status_code": 0 185 "status_code": 0
179 } 186 }
180 ] 187 ]
OLDNEW
« no previous file with comments | « recipe_modules/git/api.py ('k') | recipe_modules/tryserver/example.expected/with_wrong_patch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698