Chris Sosa | 76e44b9 | 2013-01-31 12:11:38 -0800 | [diff] [blame] | 1 | # 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. |
| 12 | FULL_PAYLOAD = 'full_payload' |
| 13 | |
| 14 | # The name of the artifact to stage all delta payloads for a build. |
| 15 | DELTA_PAYLOADS = 'delta_payloads' |
| 16 | |
| 17 | # The payload containing stateful data not stored on the rootfs of the image. |
| 18 | STATEFUL_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. |
| 23 | BASE_IMAGE = 'base_image' |
| 24 | |
| 25 | # The recovery image - the image used to recover a chromiumos device. |
| 26 | RECOVERY_IMAGE = 'recovery_image' |
| 27 | |
| 28 | # The test image - the base image with both develolper and test enhancements. |
| 29 | TEST_IMAGE = 'test_image' |
| 30 | |
| 31 | #### Autotest related packages. #### |
| 32 | |
| 33 | # Autotest -- the main autotest directory without the test_suites subdir. |
| 34 | AUTOTEST = 'autotest' |
| 35 | |
| 36 | # Test Suites - just the test suites control files from the autotest directory. |
| 37 | TEST_SUITES = 'test_suites' |
| 38 | |
| 39 | # AU Suite - The control files for the autotest autoupdate suite. |
| 40 | AU_SUITE = 'au_suite' |
| 41 | |
Chris Sosa | 968a106 | 2013-08-02 17:42:50 -0700 | [diff] [blame] | 42 | # AU Suite - The control files for the paygen autoupdate suite (depends |
| 43 | # on channel defined in devserver_constants). |
| 44 | PAYGEN_AU_SUITE_TEMPLATE = 'paygen_au_%(channel)s_suite' |
Chris Sosa | 5d1b079 | 2013-07-31 10:54:52 -0700 | [diff] [blame] | 45 | |
Chris Sosa | 76e44b9 | 2013-01-31 12:11:38 -0800 | [diff] [blame] | 46 | #### Miscellaneous artifacts. #### |
| 47 | |
| 48 | # Firmware tarball. |
| 49 | FIRMWARE = 'firmware' |
| 50 | |
| 51 | # Tarball containing debug symbols for the given build. |
| 52 | SYMBOLS = 'symbols' |
| 53 | |
beeps | c3d0f87 | 2013-07-31 21:50:40 -0700 | [diff] [blame^] | 54 | # The factory test image. |
| 55 | FACTORY_IMAGE = 'factory_image' |
Chris Sosa | 76e44b9 | 2013-01-31 12:11:38 -0800 | [diff] [blame] | 56 | |
| 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. |
| 61 | REQUESTED_TO_OPTIONAL_MAP = { |
| 62 | TEST_SUITES: [AUTOTEST], |
| 63 | } |