-
Notifications
You must be signed in to change notification settings - Fork 11
/
.shipyard.yml
209 lines (194 loc) · 6.67 KB
/
.shipyard.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
name: kazoo-configs-haproxy
custom_files: null
exposure: private
base_branch: origin/master
base_core: null
template: spec.tmpl
package:
centos7:
name: kazoo-configs-haproxy
group: Productivity/Telephony
license: MPL1.1
build_arch: noarch
build_requires:
- rpm-build
summary: 'Kazoo specific configuration for HAProxy'
description: |
The Kazoo platform uses HAProxy primarily to proxy connetcions
to the database servers to ensure they are always reachable as
well as load balance. It is also used to proxy API, websockets
and other services into Kazoo. This package is the minimal
configuration to ensure there are no single points of failure.
If you need help you can contact us via the dev mailing
list or on IRC at #2600hz on FreeNode.
dist: .el7.centos
requires:
sudo: { }
source: '%{_build_tar}'
prep: '%setup -q'
install: |
mkdir -p %{buildroot}/etc/kazoo
cp -r haproxy %{buildroot}/etc/kazoo
cp CHANGELOG VERSION %{buildroot}/etc/kazoo/haproxy
mkdir -p %{buildroot}/usr/sbin
cp -r system/sbin/* %{buildroot}/usr/sbin
chmod +x %{buildroot}/usr/sbin/*
mkdir -p %{buildroot}/etc/rsyslog.d
rm -rf system/rsyslog.d/1-default-config-override.conf
rm -rf system/rsyslog.d/5-rate-limits.conf
cp -r system/rsyslog.d/*.conf %{buildroot}/etc/rsyslog.d
mkdir -p %{buildroot}/etc/logrotate.d
cp -r system/logrotate.d/*.conf %{buildroot}/etc/logrotate.d
mkdir -p %{buildroot}/etc/security/limits.d
cp -r system/security/limits.d/*.conf %{buildroot}/etc/security/limits.d
mkdir -p %{buildroot}/usr/lib/systemd/system
cp system/systemd/* %{buildroot}/usr/lib/systemd/system
files:
doc:
- CHANGELOG
- VERSION
config:
-
mode: noreplace
path: /etc/kazoo/haproxy
-
mode: noreplace
path: '/etc/rsyslog.d/*haproxy*'
-
mode: noreplace
path: '/etc/logrotate.d/*haproxy*'
-
mode: noreplace
path: '/etc/security/limits.d/*haproxy*'
path:
- /usr/sbin/kazoo-haproxy
- /usr/lib/systemd/system/kazoo-haproxy.service
url: 'http://www.2600hz.org'
vendor: 2600Hz
rockylinux8:
name: kazoo-configs-haproxy
group: Productivity/Telephony
license: MPL1.1
build_arch: noarch
build_requires:
- rpm-build
summary: 'Kazoo specific configuration for HAProxy'
description: |
The Kazoo platform uses HAProxy primarily to proxy connetcions
to the database servers to ensure they are always reachable as
well as load balance. It is also used to proxy API, websockets
and other services into Kazoo. This package is the minimal
configuration to ensure there are no single points of failure.
If you need help you can contact us via the dev mailing
list or on IRC at #2600hz on FreeNode.
dist: .el8
requires:
sudo: { }
source: '%{_build_tar}'
prep: '%setup -q'
install: |
mkdir -p %{buildroot}/etc/kazoo
cp -r haproxy %{buildroot}/etc/kazoo
cp CHANGELOG VERSION %{buildroot}/etc/kazoo/haproxy
mkdir -p %{buildroot}/usr/sbin
cp -r system/sbin/* %{buildroot}/usr/sbin
chmod +x %{buildroot}/usr/sbin/*
mkdir -p %{buildroot}/etc/rsyslog.d
rm -rf system/rsyslog.d/1-default-config-override.conf
rm -rf system/rsyslog.d/5-rate-limits.conf
cp -r system/rsyslog.d/*.conf %{buildroot}/etc/rsyslog.d
mkdir -p %{buildroot}/etc/logrotate.d
cp -r system/logrotate.d/*.conf %{buildroot}/etc/logrotate.d
mkdir -p %{buildroot}/etc/security/limits.d
cp -r system/security/limits.d/*.conf %{buildroot}/etc/security/limits.d
mkdir -p %{buildroot}/usr/lib/systemd/system
cp system/systemd/* %{buildroot}/usr/lib/systemd/system
files:
doc:
- CHANGELOG
- VERSION
config:
-
mode: noreplace
path: /etc/kazoo/haproxy
-
mode: noreplace
path: '/etc/rsyslog.d/*haproxy*'
-
mode: noreplace
path: '/etc/logrotate.d/*haproxy*'
-
mode: noreplace
path: '/etc/security/limits.d/*haproxy*'
path:
- /usr/sbin/kazoo-haproxy
- /usr/lib/systemd/system/kazoo-haproxy.service
url: 'http://www.2600hz.org'
vendor: 2600Hz
rockylinux9:
name: kazoo-configs-haproxy
group: Productivity/Telephony
license: MPL1.1
build_arch: noarch
build_requires:
- rpm-build
summary: 'Kazoo specific configuration for HAProxy'
description: |
The Kazoo platform uses HAProxy primarily to proxy connetcions
to the database servers to ensure they are always reachable as
well as load balance. It is also used to proxy API, websockets
and other services into Kazoo. This package is the minimal
configuration to ensure there are no single points of failure.
If you need help you can contact us via the dev mailing
list or on IRC at #2600hz on FreeNode.
dist: .el9
requires:
sudo: { }
source: '%{_build_tar}'
prep: '%setup -q'
install: |
mkdir -p %{buildroot}/etc/kazoo
cp -r haproxy %{buildroot}/etc/kazoo
cp CHANGELOG VERSION %{buildroot}/etc/kazoo/haproxy
mkdir -p %{buildroot}/usr/sbin
cp -r system/sbin/* %{buildroot}/usr/sbin
chmod +x %{buildroot}/usr/sbin/*
mkdir -p %{buildroot}/etc/rsyslog.d
rm -rf system/rsyslog.d/1-default-config-override.conf
rm -rf system/rsyslog.d/5-rate-limits.conf
cp -r system/rsyslog.d/*.conf %{buildroot}/etc/rsyslog.d
mkdir -p %{buildroot}/etc/logrotate.d
cp -r system/logrotate.d/*.conf %{buildroot}/etc/logrotate.d
mkdir -p %{buildroot}/etc/security/limits.d
cp -r system/security/limits.d/*.conf %{buildroot}/etc/security/limits.d
mkdir -p %{buildroot}/usr/lib/systemd/system
cp system/systemd/* %{buildroot}/usr/lib/systemd/system
files:
doc:
- CHANGELOG
- VERSION
config:
-
mode: noreplace
path: /etc/kazoo/haproxy
-
mode: noreplace
path: '/etc/rsyslog.d/*haproxy*'
-
mode: noreplace
path: '/etc/logrotate.d/*haproxy*'
-
mode: noreplace
path: '/etc/security/limits.d/*haproxy*'
path:
- /usr/sbin/kazoo-haproxy
- /usr/lib/systemd/system/kazoo-haproxy.service
url: 'http://www.2600hz.org'
vendor: 2600Hz
metapackage:
-
name: meta-kazoo-haproxy
package: kazoo-configs-haproxy
type: required
branch: master
dependencies: null