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

Unified Diff: tools/dartium/multivm_archive.py

Issue 2956043002: Remove support for multivm branch and runners (Closed)
Patch Set: Created 3 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 | « tools/dartium/download_multivm.py ('k') | tools/dartium/update_deps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dartium/multivm_archive.py
diff --git a/tools/dartium/multivm_archive.py b/tools/dartium/multivm_archive.py
deleted file mode 100755
index 499532ce58acea21a46e2466e289dfd8642bd796..0000000000000000000000000000000000000000
--- a/tools/dartium/multivm_archive.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/python
-
-# Copyright (c) 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Archive builds from the multivm and dartium perf builders
-
-Archive dartium, content_shell, and chromedriver to the old cloud storage bucket
-gs://dartium-archive.
-"""
-
-import os
-import platform
-import re
-import subprocess
-import sys
-
-import dartium_bot_utils
-import upload_steps
-
-SRC_PATH = dartium_bot_utils.srcPath()
-
-def main():
- if (upload_steps.BuildInfo('', '').channel == 'be'):
- revision = sys.argv[1]
- else:
- multivm_deps = os.path.join(os.path.dirname(SRC_PATH), 'multivm.deps')
- revision_directory = (multivm_deps if (os.path.isdir(multivm_deps))
- else os.path.join(SRC_PATH, 'dart'))
- output, _ = subprocess.Popen(['svn', 'info'],
- stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT,
- shell=(platform.system() == 'Windows'),
- cwd=revision_directory).communicate()
- revision = re.search('Last Changed Rev: (\d+)', output).group(1)
-
- version = revision + '.0'
- info = upload_steps.BuildInfo(version, revision)
- if info.is_build:
- upload_steps.ArchiveAndUpload(info, archive_latest=False)
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « tools/dartium/download_multivm.py ('k') | tools/dartium/update_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698