-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml.dist
86 lines (69 loc) · 2.36 KB
/
config.yml.dist
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
# a list of github api connection blocks
github:
- domain: github.com # github domain for git remotes
# github api host
host: api.github.com
# personal access token w/ repo privs, used for API access (PRs) and pushing
# to personal fork
token: some-github-token
# shared secret for webhooks, e.g:
# node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# note that webhooks require the following events:
# - push
# - page_build
# - pull_request, pull_request_review, pull_request_review_comment
# secrets must be different for each github client!
secret: some-shared-secret
# proxy to use for this github api connection (if any)
# defaults to environment vars
# proxy: http://some-http-proxy:8080
# git client config
git:
# overrides user.name if not already set
name: Monasca CI
# overrides user.email if not already set
email: [email protected]
# proxy to use for https push/pull
# proxy: http://some-http-proxy:8080
# proxy to use when checking helm repositories for updates
#helm:
# proxy: http://some-http-proxy:8080
# backing db config
datastore:
# database type, one of: gcloud, memory, nedb
type: gcloud
# db engine specific config options
config:
projectId: monasca-ci-testing
# memory db is appropriate for testing purposes
#datastore:
# type: memory
# config:
# file: db.yml
# task queue config
queue:
type: memory
# google PubSub example
# queue:
# type: google
# # options are passed to public constructor
# # per the PubSub docs, these should be optional when running inside gcloud
# config:
# topic: monasca-ci-tasks
# auth:
# projectId: monasca-ci-testing
# keyFilename:
# list of tokens that can access the main REST API, e.g.
# node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
tokens:
- deadbeef
# a list of hipchat endpoints
# these can be associated with repositories using the room id
hipchat:
# a plain room URL with an access token, roomId = 1234
- https://hipchat.mydomain.com/v2/room/1234/notification?access_token=abcd1234xyz
# a dict-style URL with extra options
- url: https://hipchat.something.com/v2/room/5678/notification?access_token=asdf5678
proxy: http://some-proxy:8080/
# misc operational notifications can be sent to the default hipchat room
default: true