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

Unified Diff: slave/skia_slave_scripts/chrome_drt_canary_upload_results.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 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 | « slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py ('k') | slave/skia_slave_scripts/clean.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/chrome_drt_canary_upload_results.py
diff --git a/slave/skia_slave_scripts/chrome_drt_canary_upload_results.py b/slave/skia_slave_scripts/chrome_drt_canary_upload_results.py
deleted file mode 100644
index 2a39476c8fbdb5cdf675193d9f31803491739546..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/chrome_drt_canary_upload_results.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2013 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.
-
-""" Run this before running any tests. """
-
-from build_step import BuildStep
-from py.utils import shell_utils
-from utils import gs_utils
-from utils import upload_to_bucket
-import os
-import posixpath
-import skia_vars
-import sys
-
-
-GS_DRT_SUBDIR = 'chrome_drt_results'
-
-
-class ChromeDRTCanaryUploadResults(BuildStep):
- def _Run(self):
- # Tar up the results.
- result_tarball = '%s_%s.tgz' % (self._builder_name,
- self._got_revision)
- shell_utils.run(['tar', '-cvzf', os.path.join(os.pardir, result_tarball),
- self._flavor_utils.result_dir])
-
- # Upload to Google Storage
- bucket_url = gs_utils.GSUtils.with_gs_prefix(
- skia_vars.GetGlobalVariable('googlestorage_bucket'))
- upload_to_bucket.upload_to_bucket(
- os.path.join(os.pardir, result_tarball),
- bucket_url,
- subdir=GS_DRT_SUBDIR)
-
- print 'To download the tarball, run this command:'
- gs_url = posixpath.join(
- bucket_url,
- GS_DRT_SUBDIR,
- result_tarball)
- print 'gsutil cp %s <local_dir>' % gs_url
-
-
-if '__main__' == __name__:
- sys.exit(BuildStep.RunBuildStep(ChromeDRTCanaryUploadResults))
« no previous file with comments | « slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py ('k') | slave/skia_slave_scripts/clean.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698