diff options
author | 2017-04-10 08:19:10 -0400 | |
---|---|---|
committer | 2017-04-10 12:58:33 +0000 | |
commit | 4c7754c499d092c8b81fe3c5119aebe4dcfd09f4 (patch) | |
tree | 53ab6eef1ef1d930afea64a15a960654bb323b63 /infra/bots/recipe_modules/upload_dm_results/example.py | |
parent | a90aa2bfd430ca9bc321c3c7b3f1c727927606d1 (diff) |
Move recipe content from modules back into recipes
At one point I moved the contents of the recipes into modules so that
they could be shared between repos. It turns out that we don't need
that, and it adds complexity.
Bug: skia:6473
Change-Id: I75a920b6a8474dcdd8b37ee9edd52aac801d1ab0
Reviewed-on: https://skia-review.googlesource.com/12622
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/upload_dm_results/example.py')
-rw-r--r-- | infra/bots/recipe_modules/upload_dm_results/example.py | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/infra/bots/recipe_modules/upload_dm_results/example.py b/infra/bots/recipe_modules/upload_dm_results/example.py deleted file mode 100644 index 5e332bf81b..0000000000 --- a/infra/bots/recipe_modules/upload_dm_results/example.py +++ /dev/null @@ -1,75 +0,0 @@ -# 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/', - ) - ) |