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

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

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

Powered by Google App Engine
This is Rietveld 408576698