You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/recipes/recipe_modules/bot_update/examples/buildbucket.py

25 lines
689 B
Python

# Copyright 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.
DEPS = [
'bot_update',
'gclient',
'recipe_engine/buildbucket',
]
def RunSteps(api):
cfg = api.gclient.make_config(CACHE_DIR='[GIT_CACHE]')
soln = cfg.solutions.add()
soln.name = 'v8'
soln.url = 'https://chromium.googlesource.com/v8/v8'
api.gclient.c = cfg
api.bot_update.ensure_checkout()
def GenTests(api):
yield api.test('ci') + api.buildbucket.ci_build(
'v8', 'ci', 'builder',
git_repo='https://chromium.googlesource.com/v8/v8',
revision='2d72510e447ab60a9728aeea2362d8be2cbd7789')