blob: 932caa66ed06fab6afba5e087a24649accbbc152 [file] [log] [blame]
xixuanbea010f2017-03-27 10:10:19 -07001# 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
7import os
8
Xixuan Wu26d06e02017-09-20 14:50:28 -07009# The path for third-party libraries.
10THIRD_PARTY_LIB_PATH = os.path.join(os.path.dirname(__file__), 'lib')
11
xixuanbea010f2017-03-27 10:10:19 -070012# The path to save credentials.
13CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), 'credentials')
14
15# Credentials for Cloud SQL connection
16SQL_CREDENTIAL_FILE = os.path.join(CREDENTIALS_PATH,
17 'cloud_sql_credentials.txt')
18
19# The path to save configs.
20CONFIG_PATH = os.path.join(os.path.dirname(__file__), 'configs')
21
22# Suite scheduler event config file
Xixuan Wu26d06e02017-09-20 14:50:28 -070023SUITE_SCHEDULER_CONFIG_FILE = os.path.join(CONFIG_PATH,
24 'suite_scheduler.ini')
25
26# The suite scheduler config file for testing.
Xixuan Wuf0cb5c42017-11-30 11:49:15 -080027TEST_SUITE_SCHEDULER_CONFIG_FILE = SUITE_SCHEDULER_CONFIG_FILE
xixuanbea010f2017-03-27 10:10:19 -070028
29# Lab config file
30LAB_CONFIG_FILE = os.path.join(CONFIG_PATH, 'lab_config.ini')
31
Xixuan Wu26d06e02017-09-20 14:50:28 -070032# Service account secret json file used for staging project.
33STAGING_CLIENT_SECRETS_FILE = os.path.join(
Xixuan Wu865fa282017-09-05 15:23:19 -070034 CREDENTIALS_PATH,
35 'suite-scheduler-staging_client_secret_service_account.json')
Xixuan Wu26d06e02017-09-20 14:50:28 -070036
37# Service account secret json file used for prod project.
38PROD_CLIENT_SECRETS_FILE = os.path.join(
39 CREDENTIALS_PATH,
40 'suite-scheduler_client_secret_service_account.json')