Chris Sosa | 18fea3f | 2011-03-22 13:15:34 -0700 | [diff] [blame] | 1 | # Copyright (c) 2011 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 | import os |
| 6 | |
| 7 | _TEST_LIB_PATH = os.path.realpath(__file__) |
| 8 | |
Chris Sosa | 85d67ab | 2011-09-29 14:48:27 -0700 | [diff] [blame] | 9 | CROS_PLATFORM_ROOT = os.path.join(os.path.dirname(_TEST_LIB_PATH), '..', '..') |
| 10 | |
Chris Sosa | a404a38 | 2013-08-22 11:28:38 -0700 | [diff] [blame] | 11 | DEFAULT_CHROOT_DIR = 'chroot' |
| 12 | |
David James | 9d059db | 2012-12-30 10:04:32 -0800 | [diff] [blame] | 13 | SOURCE_ROOT = os.path.realpath(os.path.join( |
| 14 | os.path.dirname(_TEST_LIB_PATH), '..', '..', '..', '..')) |
Chris Sosa | 18fea3f | 2011-03-22 13:15:34 -0700 | [diff] [blame] | 15 | |
David James | 9d059db | 2012-12-30 10:04:32 -0800 | [diff] [blame] | 16 | CROSUTILS_DIR = os.path.join(SOURCE_ROOT, 'src', 'scripts') |
| 17 | |
| 18 | CROSUTILS_LIB_DIR = os.path.join(CROSUTILS_DIR, 'lib') |
David James | 53f9a2e | 2012-12-28 17:33:52 -0800 | [diff] [blame] | 19 | |
Jay Kim | cde7129 | 2014-03-17 20:29:00 -0700 | [diff] [blame] | 20 | MAX_TIMEOUT_SECONDS = 4800 |
Daniel Wang | 4acc435 | 2015-06-16 11:25:38 -0700 | [diff] [blame] | 21 | |
Daniel Wang | 40b11e1 | 2015-08-26 11:39:57 -0700 | [diff] [blame] | 22 | # Information of the GCE autotest bots. |
| 23 | GCE_PROJECT = 'cros-autotest-bots' |
| 24 | GCE_DEFAULT_ZONE = 'us-central1-a' |
| 25 | GCE_DEFAULT_NETWORK = 'network-prod' |
Daniel Wang | c0ed34f | 2015-10-19 18:38:02 -0700 | [diff] [blame] | 26 | GCE_DEFAULT_MACHINE_TYPE = 'n1-standard-8' |
Daniel Wang | 40b11e1 | 2015-08-26 11:39:57 -0700 | [diff] [blame] | 27 | GCE_JSON_KEY = '/creds/service_accounts/service-account-cros-autotest-bots.json' |
| 28 | GCS_BUCKET = 'chromeos-test-gce-tarballs' |
Daniel Wang | c0ed34f | 2015-10-19 18:38:02 -0700 | [diff] [blame] | 29 | |
| 30 | TRUSTED_BOARDS = [ |
Aditya Kali | d3ac8cd | 2016-01-26 12:14:07 -0800 | [diff] [blame^] | 31 | 'lakitu', |
| 32 | 'lakitu_next', |
Daniel Wang | c0ed34f | 2015-10-19 18:38:02 -0700 | [diff] [blame] | 33 | ] |