-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-config.yaml
More file actions
66 lines (58 loc) · 1.71 KB
/
example-config.yaml
File metadata and controls
66 lines (58 loc) · 1.71 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
server:
listenAddress: "0.0.0.0:5137"
advertiseUrl: https://cattery.my-org.com
# SQLite (default, zero external dependencies):
database:
type: sqlite
path: /var/lib/cattery/cattery.db
# MongoDB (uncomment to use instead of SQLite):
# database:
# type: mongodb
# uri: mongodb://localhost:27017/cattery
# database: cattery
github:
- name: paritytech-stg
appId: 123456
installationId: 654321
appClientId: Iv123abC
privateKeyPath: path/to/github-private-key.pem
webhookSecret: my-webhook-secret
- name: paritytech
appId: 123456
installationId: 654321
appClientId: Iv123abC
privateKeyPath: path/to/github-private-key.pem
webhookSecret: my-webhook-secret
providers:
- name: docker-local
type: docker
catteryUrl: http://host.containers.internal:5137 # example for podman
- name: gce-stg
type: google
project: my-gcp-project
credentialsFile: path/to/credentials.json
trayTypes:
- name: cattery-tiny
provider: docker-local
shutdown: false
runnerGroupId: 3
githubOrg: My-Github-Org
config:
image: cattery-runner-tiny:latest
- name: cattery-gce
config:
instanceTemplate: global/instanceTemplates/<instance-template>
machineType: e2-standard-2
project: my-gcp-project
zones:
- us-west1-a
- us-west1-b
extraMetadata:
# can be: version (0.0.2), server (to download binary from server) or a commit hash
cattery-agent-version: 0.0.4
# cattery-agent-version: 13d197aa1e73db09514772e55794b3a0f9b7952b
githubOrg: My-Github-Org
maxTrays: 3 # max number of VMs of this type
provider: gce
runnerGroupId: 3 # check in github org settings -> Runner groups
shutdown: true