blob: aecd444a298f21c678d5f4daad2a2121b871dbf0 [file] [log] [blame]
joychen3cb228e2013-06-12 19:13:131# Copyright (c) 2013 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"""Module contains constants shared across all other devserver modules."""
6
7#### Google Storage locations and names. ####
8# TODO (joyc) move the google storage filenames of artfacts here
Chris Sosa968a1062013-08-03 00:42:509CHANNELS = 'canary', 'dev', 'beta', 'stable'
joychenf8f07e22013-07-13 00:45:5110GS_IMAGE_DIR = 'gs://chromeos-image-archive'
Chris Sosaea734d92013-10-11 18:28:5811GS_LATEST_MASTER = GS_IMAGE_DIR + '/%(board)s%(suffix)s/LATEST-master'
12IMAGE_DIR = '%(board)s%(suffix)s/%(version)s'
joychenf8f07e22013-07-13 00:45:5113
14GS_RELEASES_DIR = 'gs://chromeos-releases'
15GS_CHANNEL_DIR = GS_RELEASES_DIR + '/%(channel)s-channel/%(board)s/'
16
joychen562699a2013-08-13 22:22:1417VERSION_RE = 'R[-0-9\.]+'
18VERSION = '[-0-9\.]+'
joychen3cb228e2013-06-12 19:13:1319
20#### Local storage locations and names. ####
21AUTOTEST_DIR = 'autotest'
joychen921e1fb2013-06-28 18:12:2022BASE_IMAGE_FILE = 'chromiumos_base_image.bin'
joychen25d25972013-07-30 21:54:1623IMAGE_FILE = 'chromiumos_image.bin'
beepsc3d0f872013-08-01 04:50:4024FACTORY_IMAGE_FILE = 'factory_test/chromiumos_factory_image.bin'
joychen25d25972013-07-30 21:54:1625RECOVERY_IMAGE_FILE = 'recovery_image.bin'
joychen921e1fb2013-06-28 18:12:2026TEST_IMAGE_FILE = 'chromiumos_test_image.bin'
joychen25d25972013-07-30 21:54:1627
joychen121fc9b2013-08-02 21:30:3028ALL_IMAGES = (
29 BASE_IMAGE_FILE,
30 IMAGE_FILE,
31 RECOVERY_IMAGE_FILE,
32 TEST_IMAGE_FILE,
33)
34
joychen25d25972013-07-30 21:54:1635#### Update files
36CACHE_DIR = 'cache'
37METADATA_FILE = 'update.meta'
David Zeuthen52ccd012013-10-31 19:58:2638METADATA_HASH_FILE = 'metadata_hash'
joychen25d25972013-07-30 21:54:1639STATEFUL_FILE = 'stateful.tgz'
40UPDATE_FILE = 'update.gz'