12 Commits

Author SHA1 Message Date
Matt Prahl
290f19d477 Merge #1076 Update the README for OpenShift deployments 2018-11-13 17:24:22 +00:00
Hunor Csomortáni
8ec8a01006 Rename 'koji_arches' to 'arches' in OpenShift config
'koji_arches' was renamed to 'arches' in a previous commit. Update the
configuration in the OpenShift template accordingly.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-13 15:10:32 +01:00
Hunor Csomortáni
abda4dd8f2 Update the README for OpenShift deployments
The backend container images needs a build argument holding the UMB CA
certificate. Update the README with this information.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-13 12:39:44 +01:00
Hunor Csomortáni
cded35e33a Increase polling interval
Polling works in weird ways. It's much better to rely on messaging.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:56:16 +01:00
Hunor Csomortáni
76e5845632 Indicate 'git' in default repository URLs
Without this, Koji will not treat them as SCM URLs.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:56:16 +01:00
Hunor Csomortáni
64b8d8c169 Allow custom SCMs in OpenShift
The template is intended to be used for testing, so it makes sense to
allow submitting builds from custom SCM URLs.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:56:16 +01:00
Hunor Csomortáni
438fc1e531 Configure topic prefix in the OpenShift template
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:56:16 +01:00
Hunor Csomortáni
849ffec729 Add module-build-macros to platform buildroots
Koji builds done for a module have to have this in order to set the
correct %dist tag, for example.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:56:16 +01:00
Hunor Csomortáni
236bc69938 Disable authentication in the OpenShift template
In testing contexts there auth providers are still missing. Disable auth
to allow anyone to submit module builds.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:56:16 +01:00
Hunor Csomortáni
f68d708f41 Add the test UMB server CA to the backend image
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:55:54 +01:00
Hunor Csomortáni
d30c50cff0 Use stomppy 3.1.6 in the container image
Using the latest version would require rewriting some of the messaging
pieces.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-11-12 17:51:30 +01:00
Hunor Csomortáni
65300a57b7 Add OpenShift test template and Dockerfiles
Add Dockerfiles to build images for the backend and frontend.

Add an OpenShift template to deploy an MBS test instance, and connect it
to a message bus and Koji instance.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2018-10-31 15:58:28 +01:00