-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.schema.yaml
53 lines (53 loc) · 1.43 KB
/
config.schema.yaml
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
---
username:
description: "Bitbucket username"
type: "string"
secret: false
required: true
password:
description: "Bitbucket password"
type: "string"
secret: true
required: true
email:
description: "Your email address"
type: "string"
secret: false
required: true
sensor:
type: "object"
additionalProperties: false
properties:
bitbucket_type:
type: "string"
description: "BitBucket service type"
required: true
enum:
- "cloud"
- "server"
bitbucket_server_url:
type: "string"
description: "URL of BitBucket server (this is only required to set in the case of the 'bitbucket_type' is set 'server')"
required: false
targets:
type: "array"
required: true
items:
type: "object"
required: true
additionalProperties: false
properties:
repository:
type: "string"
description: "Repository name to monitor including username/project (e.g. hoge/fuga)"
required: true
branches:
type: "array"
description: "Branch name to monitor in the repository"
default: ["master"]
items:
type: "string"
timeout:
type: "integer"
description: "Timeout seconds for confirmation processing"
default: 20