blob: 235f17d32d798f22addeabd1f69b5b08f32a9822 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Module contains constants shared across all other devserver modules."""
#### Google Storage locations and names. ####
# TODO (joyc) move the google storage filenames of artfacts here
CHANNELS = 'canary', 'dev', 'beta', 'stable'
GS_IMAGE_DIR = 'gs://chromeos-image-archive'
GS_LATEST_MASTER = GS_IMAGE_DIR + '/%(board)s-%(suffix)s/LATEST-master'
IMAGE_DIR = '%(board)s-%(suffix)s/%(version)s'
GS_RELEASES_DIR = 'gs://chromeos-releases'
GS_CHANNEL_DIR = GS_RELEASES_DIR + '/%(channel)s-channel/%(board)s/'
VERSION_RE = 'R?[-0-9\.]+'
#### Local storage locations and names. ####
AUTOTEST_DIR = 'autotest'
BASE_IMAGE_FILE = 'chromiumos_base_image.bin'
IMAGE_FILE = 'chromiumos_image.bin'
RECOVERY_IMAGE_FILE = 'recovery_image.bin'
STATEFUL_UPDATE_FILE = 'stateful.tgz'
TEST_IMAGE_FILE = 'chromiumos_test_image.bin'
#### Update files
CACHE_DIR = 'cache'
METADATA_FILE = 'update.meta'
STATEFUL_FILE = 'stateful.tgz'
UPDATE_FILE = 'update.gz'