Commit Graph

450 Commits

Author SHA1 Message Date
Mattia Verga
81a056d162 bodhi: raise logging level of sqlalchemy in stg
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-06-21 17:58:44 +02:00
Mattia Verga
d62c99d76b bodhi: fix kwargs dict
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-06-21 17:47:24 +02:00
Mattia Verga
919db0b4c1 bodhi: another attempt to fix broken smtp logging handler in stg
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-06-21 07:40:27 +00:00
Mattia Verga
956934a15a bodhi: fix logging in stg
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-06-18 16:15:02 +00:00
Mattia Verga
ef6ce0f419 bodhi: stop using pyramid_sawing in stg
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-06-17 15:29:05 +00: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
Kevin Fenzi
6c38d7b61a various: fix some more shell variables that were accidentally converted to builtin.shell
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-15 17:26:50 -08:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10: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
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
Adam Williamson
95b9389767 Bodhi update policy: explicit defaults, pre-beta critpath 3 days
Let's uncomment the global `min_karma` and
`critpath.mandatory_days_in_testing` values to make it clearer
that those are our values. At present we wind up using Bodhi's
built-in defaults for these, which are the same, but it's not
really clear and there's no inherent reason why we *ought* to
rely on Bodhi's defaults rather than stating our own here.

Also, per the update policy, critpath updates should be allowed
to go stable after 3 days between u-t activation and Beta freeze,
just the same as non-critpath. See
https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#critpath-updates

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-07 12:03:02 -08:00
Carl George
9577c2d9a6 Switch EPEL 10 to bodhi composes
- disable nightly compose cron job
- disable mandatory_days_in_testing override
- revert bugzilla exclusion
- add epel10.0 to new-updates-sync

When this is merged, we'll also need to change the following settings in
the EPEL-10.0 bodhi release:

- state: current
- composed-by-bodhi: true
- create-automatic-updates: false

https://pagure.io/epel/issue/300

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-11-07 11:02:38 -06:00
Mattia Verga
036027ed67 bodhi: update prod to 8.2.0
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-11-05 18:41:17 +01:00
Mattia Verga
d5114837da Bodhi-stg: fix some config settings for new release
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-10-31 20:36:58 +00:00
Kevin Fenzi
2f260b760d Reapply "releng / bodhi: switch epel10 compose to nightly cron job"
This reverts commit cbdabd149e.

Put things back now.
2024-09-06 15:19:20 -07:00
Kevin Fenzi
cbdabd149e Revert "releng / bodhi: switch epel10 compose to nightly cron job"
This reverts commit 566769ded7.

We need to revert this in order to push updates that are pending testing
and stable, then will switch it back.
2024-09-06 13:42:30 -07:00
Carl George
566769ded7 releng / bodhi: switch epel10 compose to nightly cron job
https://pagure.io/releng/issue/12256

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-09-05 22:48:02 -05:00
Adam Williamson
d71139217e bodhi: correct name of the critpath stable days setting
ugh, of course with the old code this has a dumb name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-05 11:39:16 -07:00
Adam Williamson
31fe9368c3 Set critpath mandatory days in testing to 0 for ELN
This is needed now we have a critpath for ELN (for openQA testing
purposes).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-05 11:27:57 -07:00
Kevin Fenzi
607456121d bodhi_backend: drop epel10 repomd override, will try renaming it in the db
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-19 14:29:20 -07:00
Carl George
889dbb938b bodhi_backend: override repomd URLs for EPEL-10.0
EPEL-10.0 needs an override to use 10 in the repomd URL instead of 10.0.
We'll need to move this forward over time to stay on the leading minor
version, allowing trailing minor versions to use the default repomd URL.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-08-16 14:41:42 -05:00
Kevin Fenzi
6f8fd6965b bodhi_backend: just revert for now and use links
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-16 11:17:03 -07:00
Kevin Fenzi
506dd7f706 bodhi_backend: try and override epel 10.0 repo to epel 10
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-08-16 10:36:57 -07:00
Carl George
25215d0761 bodhi: Exclude EPEL-10.0 from bugzillas
This should be reverted when we disable automatic bodhi updates for
EPEL-10.0.

https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/message/CS3Z2LVATYVJNOT6HZXXWMWBWWHRPTJI/

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-08-13 22:06:43 -05:00
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