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

Side by Side Diff: tools/roll_webrtc.py

Issue 2150963002: tools/roll*: use master.tryserver instead of tryserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « tools/roll_webgl_conformance.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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium 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 collections 7 import collections
8 import logging 8 import logging
9 import os 9 import os
10 import re 10 import re
(...skipping 19 matching lines...) Expand all
30 COMMIT_POSITION_RE = re.compile('^Cr-Original-Commit-Position: .*#([0-9]+).*$') 30 COMMIT_POSITION_RE = re.compile('^Cr-Original-Commit-Position: .*#([0-9]+).*$')
31 CL_ISSUE_RE = re.compile('^Issue number: ([0-9]+) \((.*)\)$') 31 CL_ISSUE_RE = re.compile('^Issue number: ([0-9]+) \((.*)\)$')
32 RIETVELD_URL_RE = re.compile('^https?://(.*)/(.*)') 32 RIETVELD_URL_RE = re.compile('^https?://(.*)/(.*)')
33 ROLL_BRANCH_NAME = 'special_webrtc_roll_branch' 33 ROLL_BRANCH_NAME = 'special_webrtc_roll_branch'
34 TRYJOB_STATUS_SLEEP_SECONDS = 30 34 TRYJOB_STATUS_SLEEP_SECONDS = 30
35 35
36 # Use a shell for subcommands on Windows to get a PATH search. 36 # Use a shell for subcommands on Windows to get a PATH search.
37 IS_WIN = sys.platform.startswith('win') 37 IS_WIN = sys.platform.startswith('win')
38 WEBRTC_PATH = os.path.join('third_party', 'webrtc') 38 WEBRTC_PATH = os.path.join('third_party', 'webrtc')
39 # Run these CQ trybots in addition to the default ones in infra/config/cq.cfg. 39 # Run these CQ trybots in addition to the default ones in infra/config/cq.cfg.
40 EXTRA_TRYBOTS = ('tryserver.chromium.linux:linux_chromium_archive_rel_ng;' 40 EXTRA_TRYBOTS = (
41 'tryserver.chromium.mac:mac_chromium_archive_rel_ng') 41 'master.tryserver.chromium.linux:linux_chromium_archive_rel_ng;'
42 'master.tryserver.chromium.mac:mac_chromium_archive_rel_ng'
43 )
42 44
43 # Result codes from build/third_party/buildbot_8_4p1/buildbot/status/results.py 45 # Result codes from build/third_party/buildbot_8_4p1/buildbot/status/results.py
44 # plus the -1 code which is used when there's no result yet. 46 # plus the -1 code which is used when there's no result yet.
45 TRYJOB_STATUS = { 47 TRYJOB_STATUS = {
46 -1: 'RUNNING', 48 -1: 'RUNNING',
47 0: 'SUCCESS', 49 0: 'SUCCESS',
48 1: 'WARNINGS', 50 1: 'WARNINGS',
49 2: 'FAILURE', 51 2: 'FAILURE',
50 3: 'SKIPPED', 52 3: 'SKIPPED',
51 4: 'EXCEPTION', 53 4: 'EXCEPTION',
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 if args.abort: 414 if args.abort:
413 return autoroller.Abort() 415 return autoroller.Abort()
414 elif args.wait_for_trybots: 416 elif args.wait_for_trybots:
415 return autoroller.WaitForTrybots() 417 return autoroller.WaitForTrybots()
416 else: 418 else:
417 return autoroller.PrepareRoll(args.dry_run, args.ignore_checks, 419 return autoroller.PrepareRoll(args.dry_run, args.ignore_checks,
418 args.no_commit, args.close_previous_roll) 420 args.no_commit, args.close_previous_roll)
419 421
420 if __name__ == '__main__': 422 if __name__ == '__main__':
421 sys.exit(main()) 423 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/roll_webgl_conformance.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698