blob: 199016e2d8cfaf3ab4d635a41e4fdfce43c764c7 [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
xixuanbea010f2017-03-27 10:10:19 -07009# The path to save credentials.
10CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), 'credentials')
11
12# Credentials for Cloud SQL connection
13SQL_CREDENTIAL_FILE = os.path.join(CREDENTIALS_PATH,
14 'cloud_sql_credentials.txt')
15
16# The path to save configs.
17CONFIG_PATH = os.path.join(os.path.dirname(__file__), 'configs')
18
19# Suite scheduler event config file
20SUITE_SCHEDULER_CONFIG_FILE = os.path.join(CONFIG_PATH, 'suite_scheduler.ini')
21
22# Lab config file
23LAB_CONFIG_FILE = os.path.join(CONFIG_PATH, 'lab_config.ini')
24
25# Service account secret json file used for local development.
26LOCAL_CLIENT_SECRETS_FILE = os.path.join(
27 CREDENTIALS_PATH, 'suite-scheduler_client_secret_service_account.json')