This repository was archived by the owner on Jan 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.yml
More file actions
112 lines (88 loc) · 2.93 KB
/
config.yml
File metadata and controls
112 lines (88 loc) · 2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
defaults:
app:
# Route prefix used to form custom routes on the form
# 'route.<routePrefix>.<namespace>'
routePrefix: 'index'
# Name of task-graph table in azure table storage
indexedTaskTableName: 'IndexedTasks'
namespaceTableName: 'Namespaces'
# Publish references and schemas
publishMetaData: !env:bool PUBLISH_METADATA
# Name of pulse queue, if a non-exclusive queue is to be used.
listenerQueueName: null
# Time delay before expiring artifacts, in readable format, see:
# taskcluster.fromNow, notice this should be negative!
expirationDelay: '-1 day'
# Azure account
azure:
accountId: !env AZURE_ACCOUNT
monitoring:
project: !env MONITORING_PROJECT
enable: !env:bool MONITORING_ENABLE
# Server configuration
server:
# Port to listen for requests on
port: !env:number PORT
# Environment 'development' or 'production'
env: 'development'
# Force SSL, not useful when runnning locally
forceSSL: false
# Trust a forwarding proxy
trustProxy: false
# Configuration of access to other taskcluster components
taskcluster:
# TaskCluster credentials for this server, these must have scopes:
# auth:credentials, queue:*
# (typically configured using environment variables)
rootUrl: !env TASKCLUSTER_ROOT_URL
credentials:
clientId: !env TASKCLUSTER_CLIENT_ID
accessToken: !env TASKCLUSTER_ACCESS_TOKEN
# Pulse
pulse:
hostname: !env PULSE_HOSTNAME
username: !env PULSE_USERNAME
password: !env PULSE_PASSWORD
vhost: !env PULSE_VHOST
namespace: !env PULSE_NAMESPACE
# AWS SDK configuration for publication of schemas and references
aws:
# Access key id (typically configured using environment variables)
accessKeyId: !env AWS_ACCESS_KEY_ID
# Secret access key (typically configured using environment variables)
secretAccessKey: !env AWS_SECRET_ACCESS_KEY
# Default AWS region, this is where the S3 bucket lives
region: 'us-west-2'
# Lock API version to use the latest API from 2013, this is fuzzy locking
# but it does the trick...
apiVersion: '2014-01-01'
production:
pulse:
namespace: taskcluster-index
app:
routePrefix: 'index'
indexedTaskTableName: 'IndexedTasks'
namespaceTableName: 'Namespaces'
# updated because the old queue was wedged when CloudAmqp failed 2016-08-24
listenerQueueName: 'index/incoming-tasks2'
server:
env: 'production'
forceSSL: !env:bool FORCE_SSL
# We trust the proxy on heroku, as the SSL end-point provided by heroku
# is a proxy, so we have to trust it.
trustProxy: !env:bool TRUST_PROXY
test:
app:
indexedTaskTableName: 'DummyTestIndexedTasks'
namespaceTableName: 'DummyTestNamespaces'
listenerQueueName: 'test-queue'
monitoring:
enable: false
server:
port: 60020
aws:
region: 'us-west-2'
azure:
accountId: 'jungle'
pulse:
namespace: 'taskcluster-fake'