2012-02-01 11:59:23 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#-*- coding: utf-8 -*-
|
|
|
|
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
"""Contains tweakable constants for quality dashboard utility scripts."""
|
|
|
|
|
|
|
|
# This identifies our application using the information we got when we
|
|
|
|
# registered the application on Google appengine.
|
2012-02-27 16:42:25 +01:00
|
|
|
DASHBOARD_SERVER = 'webrtc-dashboard.appspot.com'
|
2012-02-01 11:59:23 +01:00
|
|
|
DASHBOARD_SERVER_HTTP = 'http://' + DASHBOARD_SERVER
|
|
|
|
CONSUMER_KEY = DASHBOARD_SERVER
|
|
|
|
CONSUMER_SECRET_FILE = 'consumer.secret'
|
|
|
|
ACCESS_TOKEN_FILE = 'access.token'
|
|
|
|
|
|
|
|
# OAuth URL:s.
|
|
|
|
REQUEST_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetRequestToken'
|
|
|
|
AUTHORIZE_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthAuthorizeToken'
|
|
|
|
ACCESS_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetAccessToken'
|
|
|
|
|
|
|
|
# The build master URL.
|
|
|
|
BUILD_MASTER_SERVER = 'webrtc-cb-linux-master.cbf.corp.google.com:8010'
|
2012-02-01 18:08:03 +01:00
|
|
|
BUILD_MASTER_TRANSPOSED_GRID_URL = '/tgrid'
|
2012-02-01 11:59:23 +01:00
|
|
|
|
2012-02-27 16:42:25 +01:00
|
|
|
# Build bot constants.
|
2012-03-01 16:50:30 +01:00
|
|
|
BUILD_BOT_COVERAGE_WWW_DIRECTORY = '/var/www/coverage'
|
2012-02-01 11:59:23 +01:00
|
|
|
|
|
|
|
# Dashboard data input URLs.
|
2012-02-27 16:42:25 +01:00
|
|
|
ADD_COVERAGE_DATA_URL = DASHBOARD_SERVER_HTTP + '/add_coverage_data'
|
|
|
|
ADD_BUILD_STATUS_DATA_URL = DASHBOARD_SERVER_HTTP + '/add_build_status_data'
|