mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 02:37:48 +08:00
Add the test UMB server CA to the backend image
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
This commit is contained in:
@@ -10,6 +10,7 @@ LABEL \
|
||||
# The caller can chose to provide an already built module-build-service RPM.
|
||||
ARG mbs_rpm=module-build-service
|
||||
ARG mbs_messaging_umb_rpm
|
||||
ARG umb_ca_crt
|
||||
|
||||
RUN dnf -y install \
|
||||
python2-pungi \
|
||||
@@ -19,6 +20,9 @@ RUN dnf -y install \
|
||||
$mbs_messaging_umb_rpm \
|
||||
&& dnf -y clean all
|
||||
|
||||
ADD $umb_ca_crt /etc/pki/ca-trust/source/anchors/umb_serverca.crt
|
||||
# Do this as a workaround instead of `update-ca-trust`
|
||||
RUN cat /etc/pki/ca-trust/source/anchors/umb_serverca.crt >> /etc/pki/tls/certs/ca-bundle.crt
|
||||
|
||||
VOLUME ["/etc/module-build-service", "/etc/fedmsg.d", "/etc/mbs-certs"]
|
||||
ENTRYPOINT fedmsg-hub
|
||||
|
||||
@@ -492,6 +492,7 @@ objects:
|
||||
'stomp_heartbeat': 5000,
|
||||
'stomp_ssl_crt': '/etc/mbs-certs/messaging.crt',
|
||||
'stomp_ssl_key': '/etc/mbs-certs/messaging.key',
|
||||
'stomp_ca_certs': None,
|
||||
'stomp_ack_mode': 'auto',
|
||||
}
|
||||
mbs-scheduler.py: |
|
||||
|
||||
Reference in New Issue
Block a user