Commit graph

41 commits

Author SHA1 Message Date
Aurélien Bompard
e160a30a32 Update Bodhi to 5.0 in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:12 +02:00
Aurélien Bompard
18e0b29dec Try to fix a build issue on OS
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-07-25 08:54:59 +00:00
Randy Barlow
4cf1624c76 bodhi: Upgrade production to Bodhi 4.0.0.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-28 15:58:52 +00:00
Randy Barlow
373ac96ef2 bodhi: Upgrade staging to 4.0.0-0.2.beta.fc29.infra.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-16 18:32:12 +00:00
Randy Barlow
fc7584b419 bodhi: Maybe we do want the dockerStrategy but can use from on it?
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 19:22:17 +00:00
Randy Barlow
7f20d02af6 bodhi: Try dropping type: Docker from the strategy too.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 19:12:05 +00:00
Randy Barlow
d15693177b bodhi: Apparently I can't use a sourceStrategy and a dockerStrategy.
also camelCase is silly.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 19:09:47 +00:00
Randy Barlow
33261bd578 bodhi: Trigger builds off of the base-image.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 19:06:24 +00:00
Randy Barlow
de5c73901c bodhi: Use a base container image to be more efficient.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 18:46:03 +00:00
Randy Barlow
cac31d7323 bodhi: Install the composer in the consumer image.
The composer isn't actually used in OpenShift, but unfortunately
we forgot to make the import optional in Bodhi 4.0.0b1. This
results in a lot of unnecessary dependencies getting into the
container image, so I will make a future Bodhi release that makes
the composer import in the consumer optional. For now, let's just
make a bloated container.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 18:35:11 +00:00
Randy Barlow
9887217b0a bodhi: Add a message consumer container pod.
This commit attempts to move all message consuming except for
the compose.start topic to OpenShift. compose.start needs to
continue to be handled by a VM for now due to it needing the NFS
mount for Koji.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-15 17:36:34 +00:00
Randy Barlow
2bc531d124 bodhi: Fix the logic around an endif.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-10 16:37:55 +00:00
Randy Barlow
e2850cfa22 bodhi: Don't set up fedmsg in the container.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-10 16:23:53 +00:00
Randy Barlow
b3a4f6fa2f bodhi: Deploy bodhi-4.0.0b0 to staging.
A lot of things have changed in Bodhi 4.0.0, so I'm sure this
commit isn't quite correct (too bad we can't easily test Ansible
code before committing!)

This adjusts the playbook to switch staging to Bodhi 4.0.0, which
includes switching to fedora-messaging and a new logging config
(Bodhi can now send rate-limited error e-mails!)

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-05-09 21:44:44 +00:00
Kevin Fenzi
8138db0d4d openshift: bodhi-web: remove downgrade, as the base image hasn't yet updated to the broken version.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-03 17:42:08 +00:00
Kevin Fenzi
736ab6eebb openshift: bodhi-web: fix typo in url
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-03 17:14:07 +00:00
Kevin Fenzi
cb624d50fe openshift: bodhi-web: downgrade librepo to non broken version in image builds.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-03 17:01:40 +00:00
Randy Barlow
72d48e5bc2 Revert "Try to use the infra repo without TLS."
This reverts commit a3368f4cd8.
2018-11-28 15:34:29 +00:00
Randy Barlow
a3368f4cd8 Try to use the infra repo without TLS.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-28 15:31:27 +00:00
Randy Barlow
c02010125c Revert "Try to download the infra repo with http and ip address."
This reverts commit 0a075e8acf.
2018-11-28 15:31:15 +00:00
Randy Barlow
0a075e8acf Try to download the infra repo with http and ip address.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-28 15:27:11 +00:00
Randy Barlow
be1e84816e Upgrade the staging Bodhi frontend to Fedora 29.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-01 13:49:58 +00:00
Patrick Uiterwijk
8ab16bab92 Combine several steps of the bodhi openshift build process into a single docker layer
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-31 04:01:18 +02:00
Randy Barlow
4d6d34cdbf Update staging to Bodhi 3.7.0b1.
Additionally, pin the container to use Fedora 27 since Bodhi 3.7
is in the f27-infra repo.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-05-05 00:10:55 +00:00
Patrick Uiterwijk
bb070496c3 Tie us to specific bodhi package versions
This also means that when we bump this and rerun ansible, openshift will
clear the build cache.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-19 17:10:02 +02:00
Patrick Uiterwijk
aa3b773f72 DNF is silly.... Why no option to specify this on the CLI? Nobody knows
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-19 17:04:49 +02:00
Patrick Uiterwijk
113a8b542f Install bodhi-docs for docs in openshift bodhi
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-19 16:30:28 +02:00
Patrick Uiterwijk
9681d7d8f5 With httpd, no need for this mv
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-19 15:54:29 +02:00
Patrick Uiterwijk
af327709d3 Switch bodhi on openshift from gunicorn to httpd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-19 15:25:52 +02:00
Randy Barlow
9f74f46187 Cache the Bodhi dockerfile in the OS buildconfig.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-18 22:18:02 +00:00
Patrick Uiterwijk
464590e528 Some tuning of probes and workers
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 16:48:30 +02:00
Patrick Uiterwijk
251555b692 Deploy krb5.conf for bodhi
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 02:10:57 +00:00
Patrick Uiterwijk
559e7652b4 Symlink krb5 keytab
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 01:54:53 +00:00
Randy Barlow
e34e637b1e Rename fedmsg.d/bodhi.py to zzbodhi.py.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-17 01:08:11 +00:00
Randy Barlow
c9d657e9d3 Remove the bodhi.py fedmsg config from the package and use the name.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-17 00:15:22 +00:00
Randy Barlow
4bb555e0ba Don't mount a folder in a read only volume.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-16 23:52:52 +00:00
Randy Barlow
649b768595 Don't try to bind mount bodhi.py as a directory.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-16 23:29:18 +00:00
Patrick Uiterwijk
f82264261f Set a user for fedmsg purposes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 00:59:13 +02:00
Randy Barlow
c92f1f0c5d Configure fedmsg in a better way and give it bodhi03's cert.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-16 20:31:30 +00:00
Randy Barlow
79baeb984f Configure Bodhi in OpenShift to use active=True for fedmsgs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-04-16 15:15:44 +00:00
Patrick Uiterwijk
15f11fd80e Make buildconfig for bodhi do stg infra tags
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-13 15:45:24 +00:00
Renamed from roles/openshift-apps/bodhi/files/buildconfig.yml (Browse further)