15 Commits

Author SHA1 Message Date
Brendan Reilly
543e2a013f Match dockerfile deps with Fedora requirements 2022-12-20 11:44:47 -05:00
Brendan Reilly
60692b0c6a Fix C3I tests 2022-12-15 10:19:35 -05:00
Mike Bonnet
ecf7da7aa3 install mbs in the container images using pip
Removing the requirement to build the rpm as part of the image build simplifies the
build process and reduces fragility introduced by trying to keep the rpm build and
image builds in sync.
2022-08-24 12:03:08 -07:00
Michal Kovarik
c80a361717 C3I role integration with MBS3
Use unified role for C3I workflows - https://pagure.io/c3i-library/blob/master/f/roles/c3i
2020-04-30 07:18:34 +00:00
Mike Bonnet
86c85825ee update container base images to Fedora 31
Also update the uid management in the frontend image to be more consistent with
best practices, as demonstrated by:

https://github.com/RHsyseng/container-rhel-examples/tree/master/starter-arbitrary-uid

This allows the dependency on nss_wrapper to be dropped.
2019-11-01 12:04:36 -07:00
Mike Bonnet
6868454fcc increase build timeouts 2019-10-18 10:29:29 -07:00
mprahl
86b16d61c0 Unpin python3-libmodulemd in the C3I tests since the MBS RPM requires it directly 2019-09-13 09:12:34 -04:00
mprahl
10d70f51e1 Install python3-pytest-cov in the C3I Dockerfile since it's now used by tox 2019-09-13 09:12:24 -04:00
mprahl
c1e2a5b0af Unpin the libmodulemd RPMs 2019-05-16 11:51:38 +00:00
mprahl
0d96b1ffd3 Pin the RPMs for libmodulemd v2 in the Jenkins job 2019-05-13 22:26:07 -04:00
Mike Bonnet
c369bc416c use CMD instead of ENTRYPOINT 2019-04-30 15:27:28 -07:00
Mike Bonnet
9c3d9bb441 MBS-Koji integration tests
This change introduces a set of Jenkins pipelines for building MBS
images and running integration tests against Koji using those images.
These pipelines are directly based on the WaiverDB pipeline work:

https://pagure.io/waiverdb/blob/master/f/openshift

The results of those tests are used to provide feedback to Pagure PRs
and to promote images through a series of environments, which may be
used to implement a continuous deployment process.

The current test cases, written in Groovy, are:
 - module-build-init: initate a module build and check that tags
   and targets in Koji are created correctly
 - module-build-cgimport: build an empty module and ensure that
   results are imported correctly into Koji, using the CGImport
   interface
2019-04-30 15:27:28 -07: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