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

Side by Side Diff: tools/clang/scripts/upload_revision.py

Issue 1860823006: clang upload bot rename, src/ part (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebae 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
« no previous file with comments | « no previous file | tools/mb/mb_config.pyl » ('j') | 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 (c) 2016 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2016 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 """This script takes a Clang revision as an argument, it then 6 """This script takes a Clang revision as an argument, it then
7 creates a feature branch, puts this revision into update.py, uploads 7 creates a feature branch, puts this revision into update.py, uploads
8 a CL, triggers Clang Upload try bots, and tells what to do next""" 8 a CL, triggers Clang Upload try bots, and tells what to do next"""
9 9
10 import argparse 10 import argparse
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 Git(["checkout", "-b", "clang-{}-{}".format( 64 Git(["checkout", "-b", "clang-{}-{}".format(
65 clang_revision, clang_sub_revision)]) 65 clang_revision, clang_sub_revision)])
66 Git(["add", UPDATE_PY_PATH]) 66 Git(["add", UPDATE_PY_PATH])
67 67
68 commit_message = 'Ran `{}`.'.format(' '.join(sys.argv)) 68 commit_message = 'Ran `{}`.'.format(' '.join(sys.argv))
69 Git(["commit", "-m", "Roll clang {}:{}.\n\n{}".format( 69 Git(["commit", "-m", "Roll clang {}:{}.\n\n{}".format(
70 clang_old_revision, clang_revision, commit_message)]) 70 clang_old_revision, clang_revision, commit_message)])
71 71
72 Git(["cl", "upload"]) 72 Git(["cl", "upload"])
73 Git(["cl", "try", "-b", "linux_chromium_clang_upload", "-r", git_revision]) 73 Git(["cl", "try", "-b", "linux_upload_clang", "-r", git_revision])
74 Git(["cl", "try", "-b", "mac_chromium_clang_upload", "-r", git_revision]) 74 Git(["cl", "try", "-b", "mac_upload_clang", "-r", git_revision])
75 Git(["cl", "try", "-b", "win_chromium_clang_upload", "-r", git_revision]) 75 Git(["cl", "try", "-b", "win_upload_clang", "-r", git_revision])
76 76
77 print ("Please, wait until the try bots succeeded " 77 print ("Please, wait until the try bots succeeded "
78 "and then push the binaries to goma.") 78 "and then push the binaries to goma.")
79 79
80 if __name__ == '__main__': 80 if __name__ == '__main__':
81 sys.exit(main()) 81 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tools/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698