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

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

Issue 1915033006: Revert of Reland 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: Remove recipes.cfg ? 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 "cwd": "[SLAVE_BUILD]",
13 "name": "git setup" 13 "name": "git setup"
14 }, 14 },
15 { 15 {
16 "cmd": [ 16 "cmd": [
17 "git", 17 "git",
18 "retry", 18 "retry",
19 "fetch", 19 "fetch",
20 "origin", 20 "origin",
21 "master", 21 "master",
22 "--recurse-submodules" 22 "--recurse-submodules"
23 ], 23 ],
24 "cwd": "[CWD]/src", 24 "cwd": "[SLAVE_BUILD]/src",
25 "name": "git fetch" 25 "name": "git fetch"
26 }, 26 },
27 { 27 {
28 "cmd": [ 28 "cmd": [
29 "git", 29 "git",
30 "checkout", 30 "checkout",
31 "-f", 31 "-f",
32 "FETCH_HEAD" 32 "FETCH_HEAD"
33 ], 33 ],
34 "cwd": "[CWD]/src", 34 "cwd": "[SLAVE_BUILD]/src",
35 "name": "git checkout" 35 "name": "git checkout"
36 }, 36 },
37 { 37 {
38 "cmd": [ 38 "cmd": [
39 "git", 39 "git",
40 "rev-parse", 40 "rev-parse",
41 "HEAD" 41 "HEAD"
42 ], 42 ],
43 "cwd": "[CWD]/src", 43 "cwd": "[SLAVE_BUILD]/src",
44 "name": "read revision", 44 "name": "read revision",
45 "stdout": "/path/to/tmp/", 45 "stdout": "/path/to/tmp/",
46 "~followup_annotations": [ 46 "~followup_annotations": [
47 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" 47 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
48 ] 48 ]
49 }, 49 },
50 { 50 {
51 "cmd": [ 51 "cmd": [
52 "git", 52 "git",
53 "clean", 53 "clean",
54 "-f", 54 "-f",
55 "-d", 55 "-d",
56 "-x" 56 "-x"
57 ], 57 ],
58 "cwd": "[CWD]/src", 58 "cwd": "[SLAVE_BUILD]/src",
59 "name": "git clean" 59 "name": "git clean"
60 }, 60 },
61 { 61 {
62 "cmd": [ 62 "cmd": [
63 "git", 63 "git",
64 "submodule", 64 "submodule",
65 "sync" 65 "sync"
66 ], 66 ],
67 "cwd": "[CWD]/src", 67 "cwd": "[SLAVE_BUILD]/src",
68 "name": "submodule sync" 68 "name": "submodule sync"
69 }, 69 },
70 { 70 {
71 "cmd": [ 71 "cmd": [
72 "git", 72 "git",
73 "submodule", 73 "submodule",
74 "update", 74 "update",
75 "--init", 75 "--init",
76 "--recursive" 76 "--recursive"
77 ], 77 ],
78 "cwd": "[CWD]/src", 78 "cwd": "[SLAVE_BUILD]/src",
79 "name": "submodule update" 79 "name": "submodule update"
80 }, 80 },
81 { 81 {
82 "cmd": [ 82 "cmd": [
83 "git", 83 "git",
84 "-c", 84 "-c",
85 "foo=bar", 85 "foo=bar",
86 "count-objects", 86 "count-objects",
87 "-v" 87 "-v"
88 ], 88 ],
89 "cwd": "[CWD]/src", 89 "cwd": "[SLAVE_BUILD]/src",
90 "name": "count-objects", 90 "name": "count-objects",
91 "stdout": "/path/to/tmp/" 91 "stdout": "/path/to/tmp/"
92 }, 92 },
93 { 93 {
94 "cmd": [ 94 "cmd": [
95 "git", 95 "git",
96 "config", 96 "config",
97 "--get", 97 "--get",
98 "remote.origin.url" 98 "remote.origin.url"
99 ], 99 ],
100 "cwd": "[CWD]/src", 100 "cwd": "[SLAVE_BUILD]/src",
101 "name": "git config remote.origin.url", 101 "name": "git config remote.origin.url",
102 "stdout": "/path/to/tmp/", 102 "stdout": "/path/to/tmp/",
103 "~followup_annotations": [ 103 "~followup_annotations": [
104 "@@@STEP_TEXT@foo@@@" 104 "@@@STEP_TEXT@foo@@@"
105 ] 105 ]
106 }, 106 },
107 { 107 {
108 "cmd": [ 108 "cmd": [
109 "git", 109 "git",
110 "show", 110 "show",
111 "HEAD", 111 "HEAD",
112 "--format=%at", 112 "--format=%at",
113 "-s" 113 "-s"
114 ], 114 ],
115 "cwd": "[CWD]/src", 115 "cwd": "[SLAVE_BUILD]/src",
116 "name": "git show", 116 "name": "git show",
117 "stdout": "/path/to/tmp/" 117 "stdout": "/path/to/tmp/"
118 }, 118 },
119 { 119 {
120 "cmd": [ 120 "cmd": [
121 "git", 121 "git",
122 "fetch", 122 "fetch",
123 "origin", 123 "origin",
124 "--tags" 124 "--tags"
125 ], 125 ],
126 "cwd": "[CWD]/src", 126 "cwd": "[SLAVE_BUILD]/src",
127 "name": "git fetch tags" 127 "name": "git fetch tags"
128 }, 128 },
129 { 129 {
130 "cmd": [ 130 "cmd": [
131 "git", 131 "git",
132 "status" 132 "status"
133 ], 133 ],
134 "cwd": "[CWD]/src", 134 "cwd": "[SLAVE_BUILD]/src",
135 "name": "git status" 135 "name": "git status"
136 }, 136 },
137 { 137 {
138 "cmd": [ 138 "cmd": [
139 "git", 139 "git",
140 "status" 140 "status"
141 ], 141 ],
142 "cwd": "[CWD]/src", 142 "cwd": "[SLAVE_BUILD]/src",
143 "name": "git status can_fail_build", 143 "name": "git status can_fail_build",
144 "~followup_annotations": [ 144 "~followup_annotations": [
145 "step returned non-zero exit code: 1", 145 "step returned non-zero exit code: 1",
146 "@@@STEP_EXCEPTION@@@" 146 "@@@STEP_EXCEPTION@@@"
147 ] 147 ]
148 }, 148 },
149 { 149 {
150 "name": "$result", 150 "name": "$result",
151 "reason": "Infra Failure: Step('git status can_fail_build') returned 1", 151 "reason": "Infra Failure: Step('git status can_fail_build') returned 1",
152 "status_code": 1 152 "status_code": 1
153 } 153 }
154 ] 154 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698