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

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

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

Powered by Google App Engine
This is Rietveld 408576698