-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yaml
More file actions
107 lines (102 loc) · 2.96 KB
/
config.yaml
File metadata and controls
107 lines (102 loc) · 2.96 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
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
# FOCA configuration
server:
host: '0.0.0.0'
port: 8080
debug: True
environment: development
testing: True
use_reloader: True
db:
host: mongodb.pubgrade-ns
port: 27017
dbs:
pubgradeStore:
collections:
repositories:
indexes:
- keys:
id: 1
options:
'unique': True
builds:
indexes:
- keys:
id: 1
options:
'unique': True
subscriptions:
indexes:
- keys:
id: 1
options:
'unique': True
users:
indexes:
- keys:
uid: 1
options:
'unique': True
admin_users:
indexes:
- keys:
uid: 1
options:
'unique': True
api:
specs:
- path:
- api/pubgrade.yaml
append: null
add_operation_fields:
x-openapi-router-controller: pubgrade.modules.server
connexion:
strict_validation: True
validate_responses: True
options:
swagger_ui: True
serve_spec: True
exceptions:
required_members: [['msg'], ['status_code']]
status_member: ['status_code']
exceptions: pubgrade.errors.exceptions.exceptions
log:
version: 1
disable_existing_loggers: False
formatters:
standard:
class: logging.Formatter
style: "{"
format: "[{asctime}: {levelname:<8}] {message} [{name}]"
handlers:
console:
class: logging.StreamHandler
level: 20
formatter: standard
stream: ext://sys.stderr
root:
level: 10
handlers: [console]
# Custom app configuration
endpoints:
repository:
id_charset: [string.ascii_lowercase, string.digits , '.' , '-']
id_length: 6
retries: 3
user:
uid_charset: [string.ascii_lowercase, string.digits , '.' , '-']
uid_length: 6
retries: 3
access_token:
charset: [ string.ascii_lowercase, string.digits , '.' , '-' ]
length: 32
subscriptions:
admin_users:
- name: 'Akash'
uid: 'akash.saini'
user_access_token: 'c42a6d44e3d0'
- name: 'Alvaro'
uid: 'alvaro.gonzalez'
user_access_token: 'c42fhg44e3d0'
builds:
gh_action_path: "akash2237778/pubgrade-signer"
intermediate_registery_format: "image-registry.apps.2.rahti.csc.fi/pubgrade/{}:1h"