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

Unified Diff: tools/bots/dartium_android.py

Issue 367613002: Also archive android dartium to the latest bucket (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dartium_android.py
===================================================================
--- tools/bots/dartium_android.py (revision 37774)
+++ tools/bots/dartium_android.py (working copy)
@@ -39,7 +39,6 @@
def UploadAPKs(options):
with bot.BuildStep('Upload apk'):
- revision = utils.GetSVNRevision()
bot_name = os.environ.get("BUILDBOT_BUILDERNAME")
channel = bot_utils.GetChannelFromName(bot_name)
namer = bot_utils.GCSNamer(channel=channel)
@@ -49,16 +48,18 @@
# Archive content shell
local = os.path.join(options.build_products_dir, CS_LOCATION)
- # TODO(whesse): pass in arch and mode from reciepe
- remote = namer.dartium_android_apk_filepath(revision,
- 'content_shell-android',
- 'arm',
- 'release')
- content_shell_link = string.replace(remote, 'gs://', web_link_prefix)
- UploadSetACL(gsutil, local, remote)
- print "Uploaded content shell, available from: %s" % content_shell_link
+ for revision in [utils.GetSVNRevision(), 'latest']:
+ # TODO(whesse): pass in arch and mode from reciepe
+ remote = namer.dartium_android_apk_filepath(revision,
+ 'content_shell-android',
+ 'arm',
+ 'release')
+ content_shell_link = string.replace(remote, 'gs://', web_link_prefix)
+ UploadSetACL(gsutil, local, remote)
+ print "Uploaded content shell, available from: %s" % content_shell_link
+
def RunContentShellTests(options):
with bot.BuildStep('ContentShell tests'):
subprocess.check_call([os.path.join(SCRIPT_DIR, 'run_android_tests.sh'),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698