blob: 0fe0ee4d6481a99091ee07b08d283ed4a3dda630 [file] [log] [blame]
joychen3cb228e2013-06-12 12:13:13 -07001# 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-02 17:42:50 -07009CHANNELS = 'canary', 'dev', 'beta', 'stable'
joychenf8f07e22013-07-12 17:45:51 -070010GS_IMAGE_DIR = 'gs://chromeos-image-archive'
11GS_LATEST_MASTER = GS_IMAGE_DIR + '/%(board)s-%(suffix)s/LATEST-master'
12IMAGE_DIR = '%(board)s-%(suffix)s/%(version)s'
13
14GS_RELEASES_DIR = 'gs://chromeos-releases'
15GS_CHANNEL_DIR = GS_RELEASES_DIR + '/%(channel)s-channel/%(board)s/'
16
17VERSION_RE = 'R?[-0-9\.]+'
joychen3cb228e2013-06-12 12:13:13 -070018
19#### Local storage locations and names. ####
20AUTOTEST_DIR = 'autotest'
joychen7c2054a2013-07-25 11:14:07 -070021UPDATE_FILE = 'update.gz'
joychen921e1fb2013-06-28 11:12:20 -070022IMAGE_FILE = "chromiumos_image.bin"
23BASE_IMAGE_FILE = 'chromiumos_base_image.bin'
24TEST_IMAGE_FILE = 'chromiumos_test_image.bin'
Chris Sosa968a1062013-08-02 17:42:50 -070025RECOVERY_IMAGE_FILE = 'recovery_image.bin'