blob: ea8d2670deb09e8e789aa2d3b12cf22215c1d113 [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.
xixuanbea010f2017-03-27 10:10:19 -07004"""Module for fetching files used by suite scheduler."""
5
6import os
7
xixuanbea010f2017-03-27 10:10:19 -07008# The path to save credentials.
9CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), 'credentials')
10
xixuanbea010f2017-03-27 10:10:19 -070011# The path to save configs.
12CONFIG_PATH = os.path.join(os.path.dirname(__file__), 'configs')
13
14# Suite scheduler event config file
Prathmesh Prabhu8dff3e22020-06-23 13:49:45 -070015SUITE_SCHEDULER_CONFIG_FILE = os.path.join(CONFIG_PATH, 'suite_scheduler.ini')
Xixuan Wu26d06e02017-09-20 14:50:28 -070016
17# The suite scheduler config file for testing.
Xixuan Wuf0cb5c42017-11-30 11:49:15 -080018TEST_SUITE_SCHEDULER_CONFIG_FILE = SUITE_SCHEDULER_CONFIG_FILE
xixuanbea010f2017-03-27 10:10:19 -070019
20# Lab config file
21LAB_CONFIG_FILE = os.path.join(CONFIG_PATH, 'lab_config.ini')
22
Xixuan Wu26d06e02017-09-20 14:50:28 -070023# Service account secret json file used for staging project.
24STAGING_CLIENT_SECRETS_FILE = os.path.join(
Xixuan Wu865fa282017-09-05 15:23:19 -070025 CREDENTIALS_PATH,
26 'suite-scheduler-staging_client_secret_service_account.json')
Xixuan Wu26d06e02017-09-20 14:50:28 -070027
28# Service account secret json file used for prod project.
29PROD_CLIENT_SECRETS_FILE = os.path.join(
Prathmesh Prabhu8dff3e22020-06-23 13:49:45 -070030 CREDENTIALS_PATH, 'suite-scheduler_client_secret_service_account.json')