This repository has been archived by the owner on Nov 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.yml
184 lines (172 loc) · 5.68 KB
/
config.yml
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
---
defaults:
app:
publishQueueMetadata: !env:bool PUBLISH_METADATA
iterationInterval: !env:number ITERATION_INTERVAL
describeInstanceDelay: !env:number DESCRIBE_INSTANCE_DELAY
describeSpotRequestDelay: !env:number DESCRIBE_SPOT_REQUEST_DELAY
maxInstanceLife: '- 96 hours'
provisionerId: !env PROVISIONER_ID
description: 'No description'
stability: 'experimental'
declareQueueMetadata: false
workerTypeTableName: DevWorkerTypes2
secretTableName: DevWorkerSecrets2
workerStateTableName: DevWorkerState2
awsInstancePubkey: !env AWS_INSTANCE_PUBKEY
awsKeyPrefix: "aws-provisioner-dev-managed:"
statsComponent: aws-provisioner-dev
exchangePrefix: "v1/"
allowedRegions:
- 'us-west-1'
- 'us-west-2'
- 'us-east-1'
- 'us-east-2'
- 'eu-central-1'
# Key for signing in base.Entity (sufficiently random string required)
tableSigningKey: !env TABLE_SIGNING_KEY
# Key for data encryption in base.Entity (32 random bytes as base64)
tableCryptoKey: !env TABLE_CRYPTO_KEY
ec2manager:
baseUrl: !env EC2_MANAGER_BASEURL
taskcluster:
authBaseUrl: https://auth.taskcluster.net/v1
queueBaseUrl: https://queue.taskcluster.net/v1
credentials:
clientId: !env TASKCLUSTER_CLIENT_ID
accessToken: !env TASKCLUSTER_ACCESS_TOKEN
monitoring:
project: !env MONITORING_PROJECT
enable: !env:bool MONITORING_ENABLE
server:
port: 5557
publicUrl: localhost:5557
env: development
forceSSL: false
trustProxy: false
azure:
accountId: !env AZURE_ACCOUNT_ID
azureBlob:
accountName: !env AZURE_BLOB_ACCOUNT_NAME
accountKey: !env AZURE_BLOB_ACCOUNT_KEY
pulse:
username: !env PULSE_USERNAME
password: !env PULSE_PASSWORD
aws:
# Credentials with access to artifact buckets and
# references/schemas.taskcluster.net if you wish to publish meta-data
accessKeyId: !env AWS_ACCESS_KEY_ID
secretAccessKey: !env AWS_SECRET_ACCESS_KEY
region: us-west-2
apiVersion: 2014-01-01
maxRetries: 10
deadmanssnitch:
api:
key: !env DEADMANSSNITCH_API_KEY
iterationSnitch: !env DEADMANSSNITCH_ITERATION_SNITCH
# Configuration in production
production:
app:
provisionerId: aws-provisioner-v1
description: |
The provisioner managing all EC2 instances for Taskcluster, for both Gecko-related
workerTypes and non-Gecko-related workertypes.
stability: 'stable'
declareQueueMetadata: true
workerTypeTableName: WorkerTypes
secretTableName: Secrets
workerStateTableName: WorkerState
publishQueueMetadata: true
publishMetaData: true
statsComponent: aws-provisioner-v1
awsKeyPrefix: "aws-provisioner-v1-managed:"
allowedRegions: !env:list ALLOWED_REGIONS
server:
publicUrl: https://aws-provisioner.taskcluster.net
port: !env:number PORT
env: production
forceSSL: true
trustProxy: true
ec2manager:
baseUrl: https://ec2-manager.herokuapp.com/v1
staging:
app:
provisionerId: staging-aws
description: |
Staging instance for the AWS provisioner. Not for production use.
stability: 'experimental'
declareQueueMetadata: true
workerTypeTableName: StagingWorkerTypes
secretTableName: StagingSecrets
workerStateTableName: StagingWorkerState
publishQueueMetadata: true
statsComponent: staging-aws
awsKeyPrefix: "ec2-manager-staging:"
describeInstanceDelay: 5000
describeSpotRequestDelay: 5000
allowedRegions: !env:list ALLOWED_REGIONS
server:
publicUrl: https://provisioner-staging.herokuapp.com
port: !env:number PORT
env: development
forceSSL: true
trustProxy: true
ec2manager:
baseUrl: https://ec2-manager-staging.herokuapp.com/v1
development:
deadmanssnitch:
api:
key: 'nokey'
iterationSnitch: 'http://httpbin.org/status/200'
azure:
accountId: jungle
monitoring:
project: DISABLED
enable: false
app:
provisionerId: aws-provisioner-dev
iterationInterval: 10
awsKeyPrefix: "aws-provisioner-dev:"
awsInstancePubkey: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDbPJ9W0lOXMQX8+ooo054m96IRcyhEJZ+ocdBqklFSlyC+6UZPwDBoY3lmT1PPOE/niVYKjSGqGtnw9Y0iSEE1MuNvrLDzmFd3+mmHOhHVs6buDOdIFS+MXVyjcdhRoZBqCNg1tz9vvq1NXzYZ4DIWo8xQG/Xq5EKcsgRiitl6VfssCw6jZla8YEQ7ARk8EqJ1BbaMfW8PceiqkmpL/SPNnFyKkbnfVkiqjYarLJJZaW21Wq7eEcZZdUOaHuSpFdNlfGORuDD35VjQDNB+QximDrAEDUN2LOKmS718Yf6+w2k72PZkHwMUHxA4GvlkQO61v+Jm/A2fYTp3QPtQuKuh'
tableSigningKey: not-a-secret-so-you-cant-guess-it
tableCryptoKey: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
allowedRegions:
- 'us-west-1'
- 'us-west-2'
- 'us-east-1'
- 'us-east-2'
- 'eu-central-1'
describeInstanceDelay: 1000
describeSpotRequestDelay: 1000
ec2manager:
baseUrl: http://localhost:5555/v1
test:
app:
provisionerId: aws-provisioner-test
workerTypeTableName: TestWorkerTypes
secretTableName: TestWorkerSecrets
workerStateTableName: TestWorkerState
publishQueueMetadata: false
statsComponent: aws-provisioner-test
awsKeyPrefix: "aws-provisioner-test-managed:"
awsInstancePubkey: 'ssh-rsa fake-pubkey'
allowedRegions:
- 'us-west-2'
tableSigningKey: not-a-secret-so-you-cant-guess-it
tableCryptoKey: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
describeInstanceDelay: 1000
describeSpotRequestDelay: 1000
monitoring:
project: DISABLED
enable: false
server:
publicUrl: http://localhost:60407
port: 60407
azure:
accountId: jungle
deadmanssnitch:
api:
key: 'nokey'
iterationSnitch: 'http://httpbin.org/status/200'
ec2manager:
baseUrl: https://ec2-manager-staging.herokuapp.com/v1