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

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

Powered by Google App Engine
This is Rietveld 408576698