aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/server.yaml
blob: 198cae61ef3308bd5d00707309e92ebdf935e201 (plain) (blame)
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
---
"$schema": "http://json-schema.org/schema#"
id: "boxhatter://server.yaml#"
type: object
required:
    - repos
properties:
    env:
        type: object
        description: |
            environment variables avaliable to all repositories
            (keys represent variable names)
        patternProperties:
            ".+":
                type: string
                description: environment variable value
    repos:
        type: object
        description: git repositories (keys represent repository names)
        patternProperties:
            ".+":
                type: object
                required:
                    - url
                properties:
                    url:
                        type: string
                        description: remote repository location
                    refs:
                        type: array
                        description: git references used for commit listing
                        items:
                            type: string
                        default:
                            - "refs/heads/*"
                    action:
                        type: string
                        decription: action file path inside repository
                        default: ".boxhatter.yaml"
                    min_sync_delay:
                        type:
                            - number
                            - "null"
                        description: |
                            minimum time delay (in seconds) between
                            two consecutive remote ref synchronizations
                            (null disables synchronization limiting)
                        default: 60
                    max_sync_delay:
                        type:
                            - number
                            - "null"
                        description: |
                            maximum time delay (in seconds) between
                            two consecutive remote ref synchronizations
                            (null disables periodic synchronization)
                        default: null
                    env:
                        type: object
                        description: |
                            environment variables avaliable to this repository
                            (keys represent variable names)
                        patternProperties:
                            ".+":
                                type: string
                                description: environment variable value
...