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

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

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

Powered by Google App Engine
This is Rietveld 408576698