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

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

Powered by Google App Engine
This is Rietveld 408576698