blob: 1d218de39c2adc80f13e0d012ee18dd2e2db0d51 [file] [log] [blame]
# Copyright 2019 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.
from recipe_engine import recipe_api
DEPS = [
'buildbucket',
'cq',
'step',
]
from PB.go.chromium.org.luci.buildbucket.proto.build import Build
@recipe_api.ignore_warnings('recipe_engine/CQ_MODULE_DEPRECATED')
def RunSteps(api):
assert not api.cq.do_not_retry_build
api.cq.set_do_not_retry_build()
assert api.cq.do_not_retry_build
api.cq.set_do_not_retry_build() # noop.
def GenTests(api):
yield api.test('example')