blob: 70c13ec9e56f7aff529de37e20287fc251239cba [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 recipe_engine.recipe_api import Property
from recipe_engine.config import ConfigGroup, List, Single
DEPS = [
'buildbucket',
'json',
'platform',
'properties',
'raw_io',
'runtime',
'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={},
),
}