blob: cc2ed8750c41599c2879f375303aa8f0f34fde89 [file] [log] [blame]
# Copyright 2018 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
from past.builtins import basestring
from recipe_engine.recipe_api import Property
from recipe_engine.config import ConfigGroup, List, Single
PYTHON_VERSION_COMPATIBILITY = 'PY2+3'
DEPS = [
'buildbucket',
'json',
'platform',
'raw_io',
'step',
'time',
]
PROPERTIES = {
'$recipe_engine/scheduler': Property(
help='Internal property to initialize scheduler module',
param_name='init_state',
kind=ConfigGroup(
hostname=Single(basestring),
# A list of scheduler triggers that triggered the current build.
# A trigger is JSON-formatted dict of a scheduler.Trigger protobuf
# message.
triggers=List(dict),
),
default={},
),
}