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

Side by Side Diff: tools/bots/linux_distribution_support.py

Issue 2833073002: Stoppp using trippple consonants (Closed)
Patch Set: More spolling Created 3 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 | « tests/lib_strong/html/svgelement_test.dart ('k') | tools/dom/docs/docs.json » ('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/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 """ 7 """
8 Buildbot steps for src tarball generation and debian package generation 8 Buildbot steps for src tarball generation and debian package generation
9 9
10 Package up the src of the dart repo and create a debian package. 10 Package up the src of the dart repo and create a debian package.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 Run([sys.executable, './tools/create_tarball.py', 131 Run([sys.executable, './tools/create_tarball.py',
132 '--tar_filename', tarfile]) 132 '--tar_filename', tarfile])
133 133
134 print 'Building Debian packages' 134 print 'Building Debian packages'
135 Run([sys.executable, './tools/create_debian_packages.py', 135 Run([sys.executable, './tools/create_debian_packages.py',
136 '--tar_filename', tarfile, 136 '--tar_filename', tarfile,
137 '--out_dir', builddir]) 137 '--out_dir', builddir])
138 138
139 with bot.BuildStep('Sanity check installation'): 139 with bot.BuildStep('Sanity check installation'):
140 if os.path.exists('/usr/bin/dart'): 140 if os.path.exists('/usr/bin/dart'):
141 print "Dart already installled, removing" 141 print "Dart already installed, removing"
142 UninstallDart() 142 UninstallDart()
143 TestInstallation(assume_installed=False) 143 TestInstallation(assume_installed=False)
144 144
145 InstallFromDep(builddir) 145 InstallFromDep(builddir)
146 TestInstallation(assume_installed=True) 146 TestInstallation(assume_installed=True)
147 147
148 # We build the runtime target to get everything we need to test the 148 # We build the runtime target to get everything we need to test the
149 # standalone target. 149 # standalone target.
150 Run([sys.executable, './tools/build.py', '-mrelease', '-ax64', 'runtime']) 150 Run([sys.executable, './tools/build.py', '-mrelease', '-ax64', 'runtime'])
151 # Copy in the installed binary to avoid poluting /usr/bin (and having to 151 # Copy in the installed binary to avoid poluting /usr/bin (and having to
(...skipping 23 matching lines...) Expand all
175 bot_name, _ = bot.GetBotName() 175 bot_name, _ = bot.GetBotName()
176 channel = bot_utils.GetChannelFromName(bot_name) 176 channel = bot_utils.GetChannelFromName(bot_name)
177 if channel != bot_utils.Channel.BLEEDING_EDGE: 177 if channel != bot_utils.Channel.BLEEDING_EDGE:
178 ArchiveArtifacts(tarfile, builddir, channel, build_info.builder_tag) 178 ArchiveArtifacts(tarfile, builddir, channel, build_info.builder_tag)
179 else: 179 else:
180 print 'Not uploading artifacts on bleeding edge' 180 print 'Not uploading artifacts on bleeding edge'
181 181
182 if __name__ == '__main__': 182 if __name__ == '__main__':
183 # We pass in None for build_step to avoid building the sdk. 183 # We pass in None for build_step to avoid building the sdk.
184 bot.RunBot(SrcConfig, SrcSteps, build_step=None) 184 bot.RunBot(SrcConfig, SrcSteps, build_step=None)
OLDNEW
« no previous file with comments | « tests/lib_strong/html/svgelement_test.dart ('k') | tools/dom/docs/docs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698