OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 the V8 project authors. All rights reserved. | 2 # Copyright 2014 the V8 project authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import argparse | 6 import argparse |
7 import os | 7 import os |
8 import sys | 8 import sys |
9 | 9 |
10 from common_includes import * | 10 from common_includes import * |
11 | 11 |
12 ROLL_SUMMARY = ("Summary of changes available at:\n" | 12 ROLL_SUMMARY = ("Summary of changes available at:\n" |
13 "https://chromium.googlesource.com/v8/v8/+log/%s..%s") | 13 "https://chromium.googlesource.com/v8/v8/+log/%s..%s") |
14 | 14 |
15 ISSUE_MSG = ( | 15 ISSUE_MSG = ( |
16 """Please follow these instructions for assigning/CC'ing issues: | 16 """Please follow these instructions for assigning/CC'ing issues: |
17 https://github.com/v8/v8/wiki/Triaging%20issues | 17 https://github.com/v8/v8/wiki/Triaging%20issues |
18 | 18 |
19 Please close rolling in case of a roll revert: | 19 Please close rolling in case of a roll revert: |
20 https://v8-roll.appspot.com/ | 20 https://v8-roll.appspot.com/ |
21 This only works with a Google account. | 21 This only works with a Google account. |
22 | 22 |
23 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel;tryserver.chromium.linux:linu
x_optional_gpu_tests_rel""") | 23 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel;master.tryserver.chrom
ium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optiona
l_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel""") |
24 | 24 |
25 class Preparation(Step): | 25 class Preparation(Step): |
26 MESSAGE = "Preparation." | 26 MESSAGE = "Preparation." |
27 | 27 |
28 def RunStep(self): | 28 def RunStep(self): |
29 self['json_output']['monitoring_state'] = 'preparation' | 29 self['json_output']['monitoring_state'] = 'preparation' |
30 # Update v8 remote tracking branches. | 30 # Update v8 remote tracking branches. |
31 self.GitFetchOrigin() | 31 self.GitFetchOrigin() |
32 self.Git("fetch origin +refs/tags/*:refs/tags/*") | 32 self.Git("fetch origin +refs/tags/*:refs/tags/*") |
33 | 33 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 PrepareRollCandidate, | 222 PrepareRollCandidate, |
223 SwitchChromium, | 223 SwitchChromium, |
224 UpdateChromiumCheckout, | 224 UpdateChromiumCheckout, |
225 UploadCL, | 225 UploadCL, |
226 CleanUp, | 226 CleanUp, |
227 ] | 227 ] |
228 | 228 |
229 | 229 |
230 if __name__ == "__main__": # pragma: no cover | 230 if __name__ == "__main__": # pragma: no cover |
231 sys.exit(AutoRoll().Run()) | 231 sys.exit(AutoRoll().Run()) |
OLD | NEW |