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

Side by Side Diff: infra/bots/recipes/swarm_presubmit.expected/presubmit.json

Issue 2398653002: Presubmit recipe: commit the patch (Closed)
Patch Set: Branch not needed? Created 4 years, 2 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
« no previous file with comments | « infra/bots/recipes/swarm_presubmit.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[CUSTOM_/_B_WORK]", 7 "[CUSTOM_/_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "BUILDTYPE": "Release", 115 "BUILDTYPE": "Release",
116 "CHROME_HEADLESS": "1", 116 "CHROME_HEADLESS": "1",
117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
118 "SKIA_OUT": "[SLAVE_BUILD]/out" 118 "SKIA_OUT": "[SLAVE_BUILD]/out"
119 }, 119 },
120 "name": "gclient recurse (git config user.email)" 120 "name": "gclient recurse (git config user.email)"
121 }, 121 },
122 { 122 {
123 "cmd": [ 123 "cmd": [
124 "git", 124 "git",
125 "checkout",
126 "-b",
127 "tmp_00000000-0000-0000-0000-000000000000"
128 ],
129 "cwd": "[CUSTOM_/_B_WORK]/skia",
130 "name": "create git branch"
131 },
132 {
133 "cmd": [
134 "git",
135 "status" 125 "status"
136 ], 126 ],
137 "cwd": "[CUSTOM_/_B_WORK]/skia", 127 "cwd": "[CUSTOM_/_B_WORK]/skia",
138 "name": "git status" 128 "name": "git status"
139 }, 129 },
140 { 130 {
141 "cmd": [ 131 "cmd": [
142 "git", 132 "RECIPE_PACKAGE_REPO[depot_tools]/presubmit_support.py",
143 "cl", 133 "--commit",
144 "presubmit", 134 "--upstream=HEAD^",
145 "--force",
146 "-v", 135 "-v",
147 "-v" 136 "-v"
148 ], 137 ],
149 "cwd": "[CUSTOM_/_B_WORK]/skia", 138 "cwd": "[CUSTOM_/_B_WORK]/skia",
150 "env": { 139 "env": {
151 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" 140 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
152 }, 141 },
153 "name": "presubmit" 142 "name": "presubmit"
154 }, 143 },
155 { 144 {
156 "cmd": [
157 "git",
158 "reset",
159 "--hard",
160 "origin/master"
161 ],
162 "cwd": "[CUSTOM_/_B_WORK]/skia",
163 "name": "git reset"
164 },
165 {
166 "cmd": [
167 "git",
168 "checkout",
169 "origin/master"
170 ],
171 "cwd": "[CUSTOM_/_B_WORK]/skia",
172 "name": "checkout origin/master"
173 },
174 {
175 "cmd": [
176 "git",
177 "branch",
178 "-D",
179 "tmp_00000000-0000-0000-0000-000000000000"
180 ],
181 "cwd": "[CUSTOM_/_B_WORK]/skia",
182 "name": "delete git branch"
183 },
184 {
185 "name": "$result", 145 "name": "$result",
186 "recipe_result": null, 146 "recipe_result": null,
187 "status_code": 0 147 "status_code": 0
188 } 148 }
189 ] 149 ]
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarm_presubmit.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698