blob: f72c57bc60a928afb322979d5c18938bfc705f48 [file] [log] [blame]
Chris Sosa76e44b92013-01-31 12:11:38 -08001# 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 a list of artifact name related constants and methods."""
6
7############ Artifact Names ############
8
9#### Update payload names. ####
10
11# The name of artifact to stage a full update payload.
12FULL_PAYLOAD = 'full_payload'
13
14# The name of the artifact to stage all delta payloads for a build.
15DELTA_PAYLOADS = 'delta_payloads'
16
17# The payload containing stateful data not stored on the rootfs of the image.
18STATEFUL_PAYLOAD = 'stateful'
19
20#### The following are the names of images to stages. ####
21
22# The base image i.e. the image without any test/developer enhancements.
23BASE_IMAGE = 'base_image'
24
25# The recovery image - the image used to recover a chromiumos device.
26RECOVERY_IMAGE = 'recovery_image'
27
28# The test image - the base image with both develolper and test enhancements.
29TEST_IMAGE = 'test_image'
30
31#### Autotest related packages. ####
32
33# Autotest -- the main autotest directory without the test_suites subdir.
34AUTOTEST = 'autotest'
35
36# Test Suites - just the test suites control files from the autotest directory.
37TEST_SUITES = 'test_suites'
38
39# AU Suite - The control files for the autotest autoupdate suite.
40AU_SUITE = 'au_suite'
41
Chris Sosa968a1062013-08-02 17:42:50 -070042# AU Suite - The control files for the paygen autoupdate suite (depends
43# on channel defined in devserver_constants).
44PAYGEN_AU_SUITE_TEMPLATE = 'paygen_au_%(channel)s_suite'
Chris Sosa5d1b0792013-07-31 10:54:52 -070045
Chris Sosa76e44b92013-01-31 12:11:38 -080046#### Miscellaneous artifacts. ####
47
48# Firmware tarball.
49FIRMWARE = 'firmware'
50
51# Tarball containing debug symbols for the given build.
52SYMBOLS = 'symbols'
53
beepsc3d0f872013-07-31 21:50:40 -070054# The factory test image.
55FACTORY_IMAGE = 'factory_image'
Chris Sosa76e44b92013-01-31 12:11:38 -080056
57# In general, downloading one artifact usually indicates that the caller will
58# want to download other artifacts later. The following map explicitly defines
59# this relationship. Specifically:
60# If X is requested, all items in Y should also get triggered for download.
61REQUESTED_TO_OPTIONAL_MAP = {
62 TEST_SUITES: [AUTOTEST],
63}