Home | History | Annotate | Download | only in suite_scheduler
      1 # Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 
      6 """Module containing the constants to be reused throughout suite_scheduler."""
      7 
      8 
      9 class Labels:
     10     """Constants related to label names.
     11 
     12     @var BOARD_PREFIX The string with which board labels are prefixed.
     13     @var POOL_PREFIX The stright with which pool labels are prefixed."""
     14     BOARD_PREFIX = 'board:'
     15     POOL_PREFIX = 'pool:'
     16 
     17 
     18 class Builds:
     19     """Constants related to build type.
     20 
     21     @var FIRMWARE_RW: The string indicating the given build is used to update
     22                       RW firmware.
     23     @var CROS: The string indicating the given build is used to update ChromeOS.
     24     """
     25     FIRMWARE_RW = 'firmware_rw'
     26     CROS = 'cros'