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

Side by Side Diff: slave/skia_slave_scripts/update_skp_version.py

Issue 344183004: Use new common utils where possible. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 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
OLDNEW
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Create a CL to update the SKP version.""" 5 """Create a CL to update the SKP version."""
6 6
7 7
8 import os 8 import os
9 import re 9 import re
10 import sys 10 import sys
11 import time 11 import time
12 12
13 from build_step import BuildStep 13 from build_step import BuildStep
14 from config_private import SKIA_GIT_URL 14 from config_private import SKIA_GIT_URL
15 from utils.git_utils import GIT 15 from py.utils.git_utils import GIT
16 from utils import misc 16 from py.utils import misc
17 from utils import shell_utils 17 from py.utils import shell_utils
18 18
19 19
20 CHROMIUM_SKIA = 'https://chromium.googlesource.com/skia.git' 20 CHROMIUM_SKIA = 'https://chromium.googlesource.com/skia.git'
21 COMMIT_MSG = '''Update SKP version to %s 21 COMMIT_MSG = '''Update SKP version to %s
22 22
23 Automatic commit by the RecreateSKPs bot. 23 Automatic commit by the RecreateSKPs bot.
24 24
25 TBR= 25 TBR=
26 ''' 26 '''
27 PATH_TO_SKIA = os.path.join('third_party', 'skia') 27 PATH_TO_SKIA = os.path.join('third_party', 'skia')
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 wait() 89 wait()
90 while not bexpect.all_trybots_finished(codereview_url): 90 while not bexpect.all_trybots_finished(codereview_url):
91 wait() 91 wait()
92 92
93 # Add trybot results as new expectations. 93 # Add trybot results as new expectations.
94 bexpect.gen_bench_expectations_from_codereview(codereview_url) 94 bexpect.gen_bench_expectations_from_codereview(codereview_url)
95 95
96 96
97 if '__main__' == __name__: 97 if '__main__' == __name__:
98 sys.exit(BuildStep.RunBuildStep(UpdateSkpVersion)) 98 sys.exit(BuildStep.RunBuildStep(UpdateSkpVersion))
OLDNEW
« no previous file with comments | « slave/skia_slave_scripts/update_all_slave_hosts.py ('k') | slave/skia_slave_scripts/upload_bench_results_appengine.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698