Kevin Fenzi
f103b2a728
Revert "bodhi: leave prod alone for now"
...
This reverts commit 5243c435be .
Lets try and move production over.
2025-05-17 10:52:39 -07:00
Kevin Fenzi
5243c435be
bodhi: leave prod alone for now
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-05-16 13:36:22 -07:00
Mattia Verga
9d5d752a88
bodhi: apply 25.5.0 release
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2025-05-16 19:13:33 +00:00
Aurélien Bompard
a19859a8f0
Tabs to spaces
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-17 13:15:15 +02:00
Aurélien Bompard
5d8631d7d5
Make debugging Bodhi in staging a little bit easier
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-17 13:11:26 +02:00
Aurélien Bompard
1fb6c82482
Don't use --preload, it causes threading errors with Fedora Messaging on Python 3.13
...
Ref: https://github.com/fedora-infra/fedora-messaging/issues/431
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-17 13:07:00 +02:00
Ryan Lerch
0a080ac582
bodhi - rename yml templates to .j2
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 08:37:32 +10:00
Kevin Fenzi
aa828e6a5d
bodhi: something is broken, try moving back to f40 base image
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-12-06 12:58:33 -08:00
Mattia Verga
5a9fffb0f4
bodhi: update to 8.3.0 and F41 base image
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-12-06 20:01:50 +00:00
Aurélien Bompard
2cea864def
OpenShift/Bodhi: fix the apiVersion
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2024-12-03 12:40:21 +01:00
Ryan Lerch
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2024-11-28 17:31:45 +10:00
Mattia Verga
a8695c5c33
bodhi-stg: switch base images to F41
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-11-22 17:14:39 +01:00
Kevin Fenzi
f130669dc6
bodhi / openshift: drop upstreamed patch
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-05-08 12:46:40 -07:00
Mattia Verga
4f9e62bc3a
bodhi: update to 8.1
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-05-08 19:41:27 +00:00
Mattia Verga
8ae7d1610c
bodhi: adjust config for staging instance
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-04-24 16:38:05 +00:00
Kevin Fenzi
41764dcee3
bodhi / staging: drop db patch for now because fedora 39 does not use the same python
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-04-01 09:39:26 -07:00
Mattia Verga
5a08866473
bodhi: use f39 in staging base images
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-03-27 22:57:31 +00:00
Kevin Fenzi
56b8d3640a
bodhi: remove hotfix thats in the rpm now
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-03-22 11:57:15 -07:00
Mattia Verga
bbde45f158
bodhi: quick fix for DRPMs disabled in F40
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-02-28 18:51:06 +01:00
Mattia Verga
2ff74f0ed1
bodhi: fix failing critpath cronjob
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-02-16 20:31:29 +00:00
Kevin Fenzi
be63b58958
bodhi: critpathcron: move to correct spec
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-02-14 14:11:10 -08:00
Kevin Fenzi
fe1d94e8c6
bodhi / critpath: fix spec to be valid
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-02-14 14:03:32 -08:00
Jonathan Lebon
727017ce95
bodhi/critpathcron: run critpath.py with --with-coreos
...
Have the cron job that generates critpath information for Bodhi include
gating information from CoreOS CI since we want to be able to actually
gate those packages.
2024-02-14 21:54:36 +00:00
Kevin Fenzi
bc314685ba
bodhi: fix typos
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-02-12 17:32:56 -08:00
Kevin Fenzi
721d30875a
bodhi: change liveness probes to hopefully avoid restarting pods
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-02-12 17:30:20 -08:00
Mattia Verga
c2025d4833
bodhi: revert nullPool patch and apply timeout to queries
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-01-28 15:25:14 +01:00
Kevin Fenzi
1d953b4678
bodhi: apply nulldb patch to production as well.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-01-27 09:58:35 -08:00
Mattia Verga
c18ab47b69
bodhi: temporary patch to use NullPool for sqlalchemy engine
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2024-01-27 18:05:46 +01:00
Kevin Fenzi
394e856f0e
bodhi: use the right path for the alembic config
...
Since this mid pod was never working before it was using the old
/srv/bodhi path instead of the current /etc/bodhi one. Switch it over to
use the current path.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-12-08 11:39:52 -08:00
Kevin Fenzi
e9216f7424
bodhi: fix deploumentconfig indentation
...
This is why the schema upgrade pre has never been working,
as well as other possible issues. ;(
oc apply --validate=strict caught it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-12-08 11:23:00 -08:00
Kevin Fenzi
9996fb44a9
bodhi: increase liveness timeout
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-12-08 11:00:46 -08:00
Kevin Fenzi
cd6cbe632e
bodhi: move to version 7.2.2
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-10-03 10:21:22 -07:00
Mattia Verga
230e62e051
bodhi: upgrade to 7.2.1 and prod base image to F38
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2023-08-02 06:58:28 +00:00
Kevin Fenzi
c46c659b1b
bodhi: remove confusing hotfix dockerfile
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-05-15 14:18:27 -07:00
Mattia Verga
bcd665876d
Use F38 for bodhi staging
...
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it >
2023-05-11 22:41:33 +00:00
Kevin Fenzi
1551d42f45
openshift: next CRD
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 11:54:08 -08:00
Kevin Fenzi
9dead9c3a8
openshift / various apps: update DeploymentConfig to use apps.openshift.io/v1
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 11:50:00 -08:00
Kevin Fenzi
e614b31457
openshift / various apps: update BuildConfig to use build.openshift.io/v1
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-02-13 11:46:39 -08:00
Adam Williamson
3788e4c09e
grouped critpath: pass --srpm to the script
...
Bodhi wants critpath components by SRPM name, not binary RPM name.
The script was already being called with `--srpm` when used to
update the PDC data, we just forgot to do the same here.
Signed-off-by: Adam Williamson <awilliam@redhat.com >
2023-01-26 13:59:01 -08:00
Adam Williamson
fea60aab95
Bodhi: try and do critical path data generation in openshift
...
The previous attempt to have staging Bodhi use grouped JSON
critical path data didn't work because we did it in the backend
(i.e. the composer), not the openshift pods where the web UI
and the consumers run.
We need at least the web UI and consumer pods to have the
critpath data, as both those pods may create updates (Bodhi
decides if the update is critical path at creation time). This
attempts to handle that by having a daily openshift cron job
that runs a simple container with the necessary packages in it,
checks out the script, and runs it. It's run on a persistent
storage volume which is also mounted by all the Bodhi pods in
the place where Bodhi will look for the data.
The cron job frequency is temporarily set to once an hour; this
is so it will run soon after initial deployment. Once it has
run once we can cut it back to once a day.
Signed-off-by: Adam Williamson <awilliam@redhat.com >
2023-01-26 11:52:28 -08:00
Kevin Fenzi
acaff7aff9
bodhi: also enable the prod infra-tags in stg because we move builds to prod from stg and then they are no longer there
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-01-19 19:03:12 -08:00
Kevin Fenzi
a7abb71efd
bodhi: move to f37
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-01-16 15:21:23 -08:00
Kevin Fenzi
a1f8e69641
bodhi: don't hard code python versions
...
F36 is using python3.10, but f37 is using python3.11
so, just use a wildcard here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2022-12-06 17:01:34 -08:00
Mattia Verga
55ead79f2a
bodhi: run stg on F37
...
Signed-off-by: Mattia Verga <mattia.verga@proton.me >
2022-12-07 00:52:56 +00:00
Kevin Fenzi
0800afd8a2
bodhi: fix hotfix to RUN sed
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2022-08-11 16:32:44 -07:00
Kevin Fenzi
699e534001
bodhi: when sending to greenwave, always use verbose
...
This is a hack to work around bugs in bodhi and greewave.
It happens if we send here with verbose, bodhi sends the right stuff and
avoids the greenwave bug. This should be dropped as soon as upstream
fixes land in bodhi or greenwave. See:
https://pagure.io/greenwave/pull-request/666
and
https://github.com/fedora-infra/bodhi/pull/4687
for the proper fix.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2022-08-11 16:28:01 -07:00
Aurélien Bompard
3da52306b2
Bodhi: workaround python's versioned path for static files
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-06-09 17:41:20 +02:00
Aurélien Bompard
d0b3ad7423
Add a warning about changing python versions
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-06-09 13:36:00 +02:00
Aurélien Bompard
dc07e0b447
Bodhi: we don't need the docs anymore
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-06-09 12:30:29 +02:00
Aurélien Bompard
0722089014
Bodhi should use F36 in Openshift too
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2022-06-09 12:21:53 +02:00