OLD | NEW |
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 Loading... |
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", |
125 "status" | 135 "status" |
126 ], | 136 ], |
127 "cwd": "[CUSTOM_/_B_WORK]/skia", | 137 "cwd": "[CUSTOM_/_B_WORK]/skia", |
128 "name": "git status" | 138 "name": "git status" |
129 }, | 139 }, |
130 { | 140 { |
131 "cmd": [ | 141 "cmd": [ |
132 "RECIPE_PACKAGE_REPO[depot_tools]/presubmit_support.py", | 142 "git", |
133 "--commit", | 143 "cl", |
134 "--upstream=HEAD^", | 144 "presubmit", |
| 145 "--force", |
135 "-v", | 146 "-v", |
136 "-v" | 147 "-v" |
137 ], | 148 ], |
138 "cwd": "[CUSTOM_/_B_WORK]/skia", | 149 "cwd": "[CUSTOM_/_B_WORK]/skia", |
139 "env": { | 150 "env": { |
140 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" | 151 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" |
141 }, | 152 }, |
142 "name": "presubmit" | 153 "name": "presubmit" |
143 }, | 154 }, |
144 { | 155 { |
| 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 { |
145 "name": "$result", | 185 "name": "$result", |
146 "recipe_result": null, | 186 "recipe_result": null, |
147 "status_code": 0 | 187 "status_code": 0 |
148 } | 188 } |
149 ] | 189 ] |
OLD | NEW |