965861bf47
BUG=skia:6070 Change-Id: I67c040239ca2cf77a7430aa1a45b1bb69fef3b91 Reviewed-on: https://skia-review.googlesource.com/8069 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Eric Boren <borenet@google.com>
76 lines
2.1 KiB
Python
76 lines
2.1 KiB
Python
# Copyright 2016 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.
|
|
|
|
|
|
# Example recipe w/ coverage.
|
|
|
|
|
|
DEPS = [
|
|
'upload_dm_results',
|
|
'recipe_engine/properties',
|
|
]
|
|
|
|
|
|
def RunSteps(api):
|
|
api.upload_dm_results.run()
|
|
|
|
|
|
def GenTests(api):
|
|
builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug'
|
|
yield (
|
|
api.test('normal_bot') +
|
|
api.properties(buildername=builder,
|
|
gs_bucket='skia-infra-gm',
|
|
revision='abc123',
|
|
path_config='kitchen')
|
|
)
|
|
|
|
yield (
|
|
api.test('failed_once') +
|
|
api.properties(buildername=builder,
|
|
gs_bucket='skia-infra-gm',
|
|
revision='abc123',
|
|
path_config='kitchen') +
|
|
api.step_data('upload images', retcode=1)
|
|
)
|
|
|
|
yield (
|
|
api.test('failed_all') +
|
|
api.properties(buildername=builder,
|
|
gs_bucket='skia-infra-gm',
|
|
revision='abc123',
|
|
path_config='kitchen') +
|
|
api.step_data('upload images', retcode=1) +
|
|
api.step_data('upload images (attempt 2)', retcode=1) +
|
|
api.step_data('upload images (attempt 3)', retcode=1) +
|
|
api.step_data('upload images (attempt 4)', retcode=1) +
|
|
api.step_data('upload images (attempt 5)', retcode=1)
|
|
)
|
|
|
|
builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot'
|
|
yield (
|
|
api.test('trybot') +
|
|
api.properties(buildername=builder,
|
|
gs_bucket='skia-infra-gm',
|
|
revision='abc123',
|
|
path_config='kitchen',
|
|
issue='12345',
|
|
patchset='1002')
|
|
)
|
|
|
|
yield (
|
|
api.test('recipe_with_gerrit_patch') +
|
|
api.properties(
|
|
buildername=builder,
|
|
gs_bucket='skia-infra-gm',
|
|
revision='abc123',
|
|
path_config='kitchen',
|
|
patch_storage='gerrit') +
|
|
api.properties.tryserver(
|
|
buildername=builder,
|
|
gerrit_project='skia',
|
|
gerrit_url='https://skia-review.googlesource.com/',
|
|
)
|
|
)
|