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