-
Notifications
You must be signed in to change notification settings - Fork 6
/
main.yml
155 lines (142 loc) · 5.08 KB
/
main.yml
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
# defaults file for mbs
# Which module-build-service pkg we want to deploy/install (pinning a version instead of latest)
mbs_pkg_version: 3.6.1-7
mbs_platform_url: "https://gitlab.com/redhat/centos-stream/modules/platform/-/raw/el9/platform.yaml"
mbs_buildtools_repo_gpgkey: "{{ kojid_buildtools_repo_gpgkey | default('') }}"
mbs_env: "{{ centos_infra_env | default('prod') }}"
mbs_frontend: True
mbs_backend: True
mbs_cert_prefix: mbs
mbs_import_default_modules: true
mbs_upgrade_db: true
mbs_num_workers: 3
mbs_celery_max_worker_tasks: 10
mbs_default_modules_dir: default-modules
mbs_pki_store: "{{ pkistore | default('./') }}"
# psql
mbs_postgres_local: True
mbs_postgres_hostname: localhost
mbs_postgres_username: mbs
mbs_postgres_password: mbs
mbs_postgres_database: mbs
# rabbitmq
mbs_rabbitmq_local: True
mbs_rabbitmq_vhost: mbs
mbs_rabbitmq_username: mbs
mbs_rabbitmq_password: mbs
# kojihub
mbs_kojihub_top_url: https://cbs.centos.org
mbs_kojihub_use_fast_upload: true
mbs_kojihub_auth_type: kerberos
mbs_kojihub_kerberos_rdns: false
# mbs config.py settings
mbs_config_broker_url: 'amqp://{{ mbs_rabbitmq_username }}:{{ mbs_rabbitmq_password }}@localhost/{{ mbs_rabbitmq_vhost }}'
mbs_config_debug: false
mbs_config_secret_key: a1b2c3d4
mbs_config_database_url: postgresql://{{ mbs_postgres_username }}:{{ mbs_postgres_password }}@{{ mbs_postgres_hostname }}/{{ mbs_postgres_database }}
# which koji profile to use to kick builds (see mbs_kojihub)
mbs_config_system: koji
mbs_config_koji_profile: koji
# which message bus to use (we support fedmsg - legacy - or umb)
mbs_config_messaging: fedmsg
# common settings for fedmsg/umb
# for fedmsg, something like ['org.centos.prod'] , Fedora messaging style
# for umb, something like '/queue/Consumer.<service_account>.<env>.VirtualTopic.eng', see with umb admin
mbs_config_messaging_topic_prefix: ['org.centos.prod']
# fedora-messaging (when using fedmsg)
mbs_fedora_messaging_addrs: ["tcp://hub.fedoraproject.org:9940"]
# umb settings
mbs_umb_koji_topic_prefix: "{{ mbs_config_messaging_topic_prefix }}"
mbs_umb_mbs_topic_prefix: /topic/VirtualTopic.mbs
mbs_umb_services:
- koji
- mbs
mbs_umb_client_crt: my-stomp-umb.crt
mbs_umb_client_key: my-stomp-umb.key
mbs_umb_stomp_uri: umb.my-domain.com:61612
mbs_config_koji_file: /etc/module-build-service/koji.conf
mbs_config_arches:
- x86_64
mbs_config_koji_proxy_user: true
mbs_config_koji_repository_url: https://cbs.centos.org/repos
mbs_config_scm_urls: []
mbs_config_polling_interval: 3600
mbs_config_default_repository_url: 'git+https://git.centos.org/rpms/'
mbs_config_allow_rpm_repository: false
mbs_config_rpm_default_cache_url: 'https://git.centos.org/repo/pkgs/'
mbs_config_rpm_allow_cache: false
mbs_config_modules_repository_url: 'git+https://git.centos.org/centos/modules'
mbs_config_modules_allow_repository: false
mbs_config_log_backend: file
mbs_config_log_file: /var/log/mbs/module_build_service.log
mbs_config_log_level: info
mbs_config_logs_build_dir: /var/tmp
mbs_config_krb_keytab: /etc/module-build-service/mbs-{{ mbs_env }}.centos.org.keytab
mbs_config_krb_principal: [email protected]
mbs_config_allowed_groups:
- packager
mbs_config_admin_groups:
- factory2
- releng-team
mbs_config_allowed_users: []
mbs_config_rebuild_strategy: only-changed
mbs_config_rebuild_strategy_override: true
mbs_config_resolver: db
mbs_config_content_generator: true
mbs_config_base_module_names:
- platform
- bootstrap
mbs_config_koji_build_tag: modular-updates-candidate
mbs_config_koji_tag_prefixes:
- module
mbs_config_koji_tag_extra_opts:
mock.package_manager: dnf
repo_include_all: true
mock.new_chroot: 0
mock.yum.module_hotfixes: 1
mbs_config_dist_tag_prefix: module_
mbs_config_koji_delete_time: 3600
mbs_config_no_auth: false
mbs_config_yaml_allowed: false
mbs_config_build_priority: 0
mbs_config_koji_devel_module: false
mbs_config_modules_allow_scratch: true
mbs_config_modules_only_compatible: false
mbs_koji_tag_permission: admin
mbs_koji_cg_tag_build: true
mbs_allow_name_override_from_scm: false
mbs_allow_stream_override_from_scm: false
mbs_num_concurrent_builds: 5
mbs_allowed_privileged_module_names: []
mbs_allowed_groups_to_import_module: []
mbs_br_stream_override_module: "platform"
mbs_br_stream_override_regexes: []
mbs_product_pages_url: ''
mbs_product_pages_schedule_task_name: ''
mbs_product_pages_module_streams: {}
mbs_scratch_build_only_branches: ["^private-.*"]
mbs_fedmsg_endpoints: ["tcp://127.0.0.1:3001"]
# relay
mbs_relay_inbound_addrs: ["tcp://127.0.0.1:3999"]
mbs_relay_outbound_addrs: ["tcp://127.0.0.1:9941"]
# moksha
mbs_moksha_monitoring_addr: tcp://0.0.0.0:10030
# frontend
mbs_wsgi_procs: 1
mbs_wsgi_threads: 1
mbs_wsgi_log_level: DEBUG
mbs_scheduler_consumer: false
mbs_scheduler_poller: false
# httpd hostname for tls cert
mbs_frontend_host: localhost
mbs_frontend_https_enabled: false
mbs_frontend_https_port: 443
mbs_frontend_http_enabled: true
mbs_frontend_http_port: 80
mbs_frontend_auth_type: kerberos
# HTTP keytab distributed from pkistore for httpd vhost
mbs_frontend_krb_keytab: localhost.keytab
mbs_frontend_krb_host: 'localhost'
mbs_frontend_ldap_uri: ''
mbs_frontend_ldap_dn_groups: ''