xixuan | bea010f | 2017-03-27 10:10:19 -0700 | [diff] [blame] | 1 | # Copyright 2017 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 for fetching files used by suite scheduler.""" |
| 6 | |
| 7 | import os |
| 8 | |
xixuan | bea010f | 2017-03-27 10:10:19 -0700 | [diff] [blame] | 9 | # The path to save credentials. |
| 10 | CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), 'credentials') |
| 11 | |
| 12 | # Credentials for Cloud SQL connection |
| 13 | SQL_CREDENTIAL_FILE = os.path.join(CREDENTIALS_PATH, |
| 14 | 'cloud_sql_credentials.txt') |
| 15 | |
| 16 | # The path to save configs. |
| 17 | CONFIG_PATH = os.path.join(os.path.dirname(__file__), 'configs') |
| 18 | |
| 19 | # Suite scheduler event config file |
| 20 | SUITE_SCHEDULER_CONFIG_FILE = os.path.join(CONFIG_PATH, 'suite_scheduler.ini') |
| 21 | |
| 22 | # Lab config file |
| 23 | LAB_CONFIG_FILE = os.path.join(CONFIG_PATH, 'lab_config.ini') |
| 24 | |
| 25 | # Service account secret json file used for local development. |
| 26 | LOCAL_CLIENT_SECRETS_FILE = os.path.join( |
Xixuan Wu | 865fa28 | 2017-09-05 15:23:19 -0700 | [diff] [blame^] | 27 | CREDENTIALS_PATH, |
| 28 | 'suite-scheduler-staging_client_secret_service_account.json') |