Commit Graph

424 Commits

Author SHA1 Message Date
Carl George
45f5335356 bodhi: override status and mandatory_days_in_testing for EPEL bootstrap
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-07-31 16:56:22 -05:00
Kevin Fenzi
d11f9c5ced epel7 retirement
Drop epel7 all the places in ansible where it is and makes sense.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 20:00:59 +00:00
Kevin Fenzi
ec2f9a1c0b bodhi: enable trusted_sources again
We had the syntax wrong here, it's space seperated, not ,
so the entire thing was getting checked and of course failing.
Lets try again now with space seperator

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-16 13:22:29 -07:00
Mattia Verga
4b9b2fc171 bodhi: update bot name in top users blacklist
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-05-16 19:27:45 +00:00
Kevin Fenzi
904e6e20c9 bodhi: disable trusted sources for now
This seems to be blocking real updates.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-08 14:18:17 -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
Kevin Fenzi
4987fc7c59 bodhi: set primary arches for current stable releases
bodhi is failing to finish a f40-updates-testing push because it's
looking for the ppc64le repomd on the primary location instead of the
secondary one.

This should fix it, but I don't understand how it worked before.
Did we just get lucky and always check aarch64 before anything else?
I can't see anything that changed in config around this off hand. ;(

Will try this and see if it fixes it for now...

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-04-30 14:55:25 -07: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
Aurélien Bompard
175eeaff4d Bodhi: activate access logs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-02-22 15:50:33 +01:00
Mattia Verga
2bf9503987 bodhi: temporarily disable BrO inheritance
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-02-16 18:00:26 +00:00
amedvede
ca42dcf422 bodhi: cleanup_changes_that_didnt_work
Signed-off-by: amedvede <amedvede@redhat.com>
2024-02-14 21:51:34 +00:00
Mattia Verga
b986f402cb bodhi: fix config for override inheritance
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-02-09 17:53:10 +00:00
Mattia Verga
c386f0b0c5 bodhi: update config file for v8
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-02-05 17:52:42 +00:00
Mattia Verga
5120f77d87 bodhi: use config file for createrepo_c settings
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-02-05 17:51:04 +00:00
Mattia Verga
d3ae9b2981 bodhi: another try to prevent stg logs from being unreadable
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-01-29 09:26:08 +00:00
Mattia Verga
6ad94dfdc5 bodhi: prevent staging logs to be clogged by markdown debug msgs
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-01-27 17:46:49 +00:00
amedvede
9abb75e209 bodhi: cors policy for dist-git stg domain
Signed-off-by: amedvede <amedvede@redhat.com>
2024-01-16 13:06:04 +00:00
amedvede
d94a49a2b4 feat: added Access-Control-Allow-Origin header to the Bodhi response on requests from dist-git for staging
Signed-off-by: amedvede <amedvede@redhat.com>
2024-01-09 12:13:21 +00:00
Aurélien Bompard
79949846e2 Define the bodhi variables in a single place
This removes the different definitions of `sent_topics` for Bodhi, which
were causing issue https://pagure.io/releng/issue/11827

It also brings the bodhi options in the `os_control*` group vars into
the same vars file.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-12-15 12:54:12 +01:00
Kevin Fenzi
d2c2dde6b2 bodhi: need to also load the alembic.ini template in openshift
We need this template to run the schema upgrades via the mid pod.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-12-08 11:39:01 -08:00
Kevin Fenzi
ddc17b2e23 bodhi: switch skopeo command
bodhi was using a small script to copy flatpak images from candidate
registry to registry. This was done because skopeo wasn't able to copy
multi-arch containers at the time. It has since gained the ability to do
that and we should stop using the temporary script to do this.

The script doesn't understand the new f39+ flatpaks hash passed to it so
it fails to push them.

This patch switches bodhi to use normal skopeo and pass it -a which
should tell it to copy all the arches, not just the one it's running on.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-05 16:47:12 +00:00
Mattia Verga
d1d9b83a9f bodhi: relax logging level on stg for markdown
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2023-05-17 10:23:27 +02:00
Aurélien Bompard
666ca57725 Workaround a bug in the rabbitmq_user ansible module, this time for bodhi
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-09 13:28:23 +02:00
Aurélien Bompard
360e184862 FMN: move the old to -old and redirect to the new
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-26 10:55:25 +02:00
Adam Williamson
842db118e8 Bodhi: switch to grouped critpath for prod too (whee!)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-26 14:58:27 -08:00
Adam Williamson
8445bb6e26 bodhi: switch to grouped JSON critical path data on staging
This switches the Bodhi staging instance to use (and regularly
update) its own grouped critical path data, instead of consuming
the data from PDC that is non-grouped and irregularly updated by
releng. If this works out well, we'll also apply it to prod.
This requires Bodhi 7 or higher.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-19 14:07:47 -08:00
Matej Focko
5b838955a4 bodhi: add bots to admin packager groups
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-01-12 20:16:43 +00:00
Kevin Fenzi
27a521b838 bodhi: try and blacklist osbuild-automation-bot from auto updates in rawhide
This user is used by osbuild, but autosign and bodhi don't know what
to do with images it builds. Just like the livecd's and such releng
makes. So, just don't auto make updates for them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-06 15:11:34 -08:00
Kevin Fenzi
11d1b484c0 bodhi: add bodhi_updates_bot group to admin groups
This group is needed by packit bot. It doesn't need any git perms at
all, only perms to file updates, so we are moving this to a group that
can be a admin group in bodhi. See ticket 10959

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-18 18:07:54 -08:00
Kevin Fenzi
b92ec93736 bodhi: fix days in testing conditional for pre/post beta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-26 09:35:59 -07:00
Tomáš Hrčka
27a248b397 Update roles/bodhi2/base/templates/production.ini.j2 2022-08-24 06:05:14 +00:00
Kamil Páral
f91294e5d7 send compose and updates reports to test-reports list instead of test list
Related: https://pagure.io/fedora-qa/issue/700

Signed-off-by: Kamil Páral <kparal@redhat.com>
2022-07-21 16:13:38 +00:00
Aurélien Bompard
a3f9082a07 Ansible issues a warning when there's append but no groups
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-06-24 10:55:16 +02:00
Kevin Fenzi
68141d381b resultsdb: drop old vm's and adjust other apps to new openshift url
Drop resultsdb vars and playbooks.
resultsdb is now in openshift and on a different url.
Adjust bodhi, pagure dist git for the new url.
Drop taskotron roles.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-21 14:01:28 -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
186edfca9b Actually the static files are shipped with Bodhi
Also set the python version right.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-06-09 13:32:56 +02:00
Mark O Brien
fcd8d0c144 update bodhi to openshift4 and use openid connect
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-06-09 10:42:03 +01:00
Aurélien Bompard
2050d7112b Simplify the Bodhi playbooks
It should not actually change anything on the hosts.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-05-23 15:11:30 +02:00
Aurélien Bompard
6c43fb870b Rebase Bodhi on F35 in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-04-13 08:32:25 +02:00
Ryan Lerch
6150301cbe Update the client_secret name to the new one with _staging suffix
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-03-11 13:40:55 +10:00
Ryan Lerch
1a79d5b76e Add config for OIDC for bodhi staging
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-03-09 09:06:30 +10:00
Mattia Verga
903df7e9e9 bodhi: use BZ API key in staging
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2022-02-23 19:53:51 +00:00
Mattia Verga
6227932392 bodhi: add new bot name to blacklist
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2022-02-17 22:09:53 +00:00
Mattia Verga
0de9fdade7 bodhi: relax regex used to catch bug ids in changelogs
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2022-01-24 18:41:28 +00:00
Adam Williamson
104fb66c9c Revert "Enable debug logging on Bodhi temporarily"
This reverts commit 432ad2dcea. We
figured out the problem now.
2022-01-22 11:38:31 -08:00
Adam Williamson
432ad2dcea Enable debug logging on Bodhi temporarily
We're trying to figure out why Bodhi isn't changing update gating
status in response to new test results. Debug logging might help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-22 11:27:39 -08:00
Carl George
55e0c11435 Use versioned repomd template for epel7, unversioned for epel8/epel9
Signed-off-by: Carl George <carl@george.computer>
2021-11-05 16:38:56 -05:00
Mohan Boddu
5774410fcc Bodhi config update for epel9 next
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-11-05 17:06:27 -04:00
Kevin Fenzi
5af7e90429 bodhi / common: switch EPEL to 7 days for testing required per EPEL sig decision.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-04 13:18:33 -07:00
Mattia Verga
15f3dea6a1 Use bugzilla.stage instance after partner-bugzilla shutdown
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2021-07-31 17:08:49 +00:00