Commit 9d956789 authored by binji@chromium.org's avatar binji@chromium.org

[NaCl SDK] Push sdk_tools.tgz to commondatastorage on linux buildbots.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10271013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134595 0039d316-1c4b-4281-b951-d872f2087c98
parent f5d62e36
...@@ -682,12 +682,20 @@ def main(args): ...@@ -682,12 +682,20 @@ def main(args):
cwd=os.path.abspath(dirnode), shell=True) cwd=os.path.abspath(dirnode), shell=True)
# Archive on non-trybots. # Archive on non-trybots.
if options.archive or '-sdk' in os.environ.get('BUILDBOT_BUILDERNAME', ''): buildername = os.environ.get('BUILDBOT_BUILDERNAME', '')
if options.archive or '-sdk' in buildername:
buildbot_common.BuildStep('Archive build') buildbot_common.BuildStep('Archive build')
bucket_path = 'nativeclient-mirror/nacl/nacl_sdk/%s' % \ bucket_path = 'nativeclient-mirror/nacl/nacl_sdk/%s' % \
build_utils.ChromeVersion() build_utils.ChromeVersion()
buildbot_common.Archive(tarname, bucket_path, os.path.dirname(tarfile)) buildbot_common.Archive(tarname, bucket_path, os.path.dirname(tarfile))
if not skip_update:
# Only push up sdk_tools.tgz on the linux buildbot.
if buildername == 'linux-sdk-multi':
sdk_tools = os.path.join(OUT_DIR, 'sdk_tools.tgz')
buildbot_common.Archive('sdk_tools.tgz', bucket_path, OUT_DIR,
step_link=False)
# generate "manifest snippet" for this archive. # generate "manifest snippet" for this archive.
if not skip_test_updater: if not skip_test_updater:
archive = bundle.GetArchive(manifest_util.GetHostOS()) archive = bundle.GetArchive(manifest_util.GetHostOS())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment