Commit Graph

1317 Commits

Author SHA1 Message Date
Kevin Fenzi
496110d184 bodhi / backend: set sqlite = True globally
Both the packages app and mdapi really prefer sqlite data existing.
packages setup a workaround to try and recreate the repodata
locally with sqlite, but it's not working with epel10 branches
at least.

Since all this does is take up a small bit of space, lets
just (at least for now) enable it globally.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-30 14:02:10 -07:00
Mattia Verga
855ff668eb bodhi: update blacklist for homepage users stats
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-07-29 21:10:53 +00:00
Kevin Fenzi
5579a14d86 bodhi-backend: re-enable sqlite for f41/f42 updates
Enable sqlite for f41/f42 for now. mdapi still needs this.
A replacement application that will not need it is under development
Once that replaces mdapi we can drop sqlite again.

See https://pagure.io/fedora-infrastructure/issue/12669

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-23 23:14:13 +00:00
Kevin Fenzi
5376cbe713 bodhi-backend01: recycle db connections after 600 seconds
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-14 20:43:09 -07:00
Kevin Fenzi
21f6b5acf8 bodhi: use fqdn for bastion/smtp host
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-07 09:04:11 -07:00
Carl George
0f03b772e5 roles/bodhi2: Disable delta RPMs for EPEL 8
We previously disabled delta RPMs for EPEL 9 and 10.  It looks like we
should disable this for EPEL 8 as well, because Pulp 3 (part of
Satellite 6.17) intentionally blocks mirror syncing of repos with delta
RPMs.

Related: https://pagure.io/fedora-infra/ansible/pull-request/2391
Related: https://community.theforeman.org/t/content-management-suse-drpm-files-not-syncing/25243
Resolves: https://pagure.io/releng/issue/12790
2025-07-06 22:26:04 +00:00
Kevin Fenzi
28da1d6cf7 bodhi-backend: switch mirror to check for sync to the generic, rdu3 ones instead of hard coding iad2 external
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-03 13:08:11 -07:00
Aurélien Bompard
b402aedb72 Remove some references to iad2 in bodhi-backend's playbook
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-27 15:33:33 +02:00
Aurélien Bompard
165c56fbf8 Move the bodhi sweeper configuration to the bodhi role
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-25 15:11:27 +02:00
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
Neal Gompa
c6d2371874 roles/bodhi2: Turn SQLite metadata back on for EPEL
This is still needed for MDAPI.

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>
2025-05-14 23:26:28 +00:00
Neal Gompa
1ce3e36f76 roles/bodhi2: Set EPEL to use zstd repodata and disable unusable features
Zstd repodata support was introduced in DNF quite some time ago, and
is quite a bit faster and less resource intensive.

Additionally, there is no point in producing sqlmd or DeltaRPMs when
support for both has been removed from RHEL for a fair bit of time.

Regardless, we should leave things mostly as-is for EPEL 9, and thus
we retain older xz compression settings for that.

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>
2025-05-14 23:26:28 +00:00
Samyak Jain
f8d06a6812 F40 is now EOL
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-05-13 14:58:24 +00:00
Kevin Fenzi
d4f15818ef bodhi-backend: add variant for COSMIC-Atomic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-19 18:59:55 -07:00
Patrik Polakovič
af73ccce72 Add Pungi filter for OpenH264 packages
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-04-18 19:27:48 +00:00
Ryan Brue
b3c32cbc9c Fix incorrect ref in the cosmic-atomic pungi config
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-04-18 00:12:51 -05:00
Aurélien Bompard
d884a0f8ba Use the combined RabbitMQ CA cert in the clients
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-11 15:15:45 +02:00
Carl George
a15e378443 bodhi_backend: publish EPEL 10.1 to 10.1 paths
https://pagure.io/epel/issue/324

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-04-03 14:29:31 -05:00
Timothée Ravier
c4710ce336 roles/bodhi2/new-updates-sync: No sync for PPC64LE Atomic Desktops
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-03-24 16:18:17 +00:00
Kevin Fenzi
cf2032cac9 bodhi-backend / updates-sync: fix missing ,s
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-19 21:34:55 -07:00
Ryan Brue
2fd441aef6 Add Cosmic-Atomic
We have been building unofficial images at fedora-ostree-desktops based on the workstation-ostree-config files for cosmic-atomic. It's time to get it officially built.

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-19 20:35:21 +00:00
Carl George
092622b6bc bodhi2/backend: don't change epel-release-latest symlink if destination filename is the same
https://pagure.io/epel/issue/318

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-02-26 00:33:27 +00:00
Adam Williamson
6102284c0d Reapply fixed "Don't hardcode the branched number in Bodhi compose repo config"
This reverts commit 6d4c6b0be1, but
fixes the problem.
2025-02-23 19:19:15 +00:00
Kevin Fenzi
6d4c6b0be1 Revert "Don't hardcode the branched number in Bodhi compose repo config"
This reverts commit 13a95660e4.

Templating is wonky here.
2025-02-19 10:24:10 -08:00
Adam Williamson
13a95660e4 Don't hardcode the branched number in Bodhi compose repo config
There's no need for this to be hardcoded and manually updated,
we can template it. Add some clarifying notes on what happens
when Branched doesn't exist, and why it doesn't matter that we
don't set a correct config for the Rawhide release.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-19 18:10:53 +00:00
Carl George
4aa261f704 bodhi2/backend: keep using branch name for fedora comps
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-02-18 17:22:55 -06:00
Carl George
89b5326271 bodhi2/backend: use major version only determine comps file name
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-02-18 17:02:10 -06:00
Carl George
2e3eaabb1c Branch epel10.0 from epel10
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-02-18 16:26:40 +00:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Samyak Jain
fd17adce36 Branch Fedora 42 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-02-04 15:02:50 +00:00
Timothée Ravier
1507d79814 bodhi2/pungi.rpm.conf: Don't build Atomic Desktops for PPC64LE (F42+)
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-01-16 22:06:47 +00:00
Timothée Ravier
3f1c708217 bodhi2/pungi.rpm.conf: Simplify failable key to '*' 2025-01-16 22:06:47 +00:00
Timothée Ravier
a1802527a6 bodhi2/pungi.rpm.conf: Update now that F39 is EOL
This condition is now always true.
2025-01-16 22:06:47 +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
a0cd459d47 Fix some references in tasks dropping .j2
When fixing conflicts when merging the PR containing commit 47c68f4,
some of the .j2 suffuxes i added in tasks were erronounusly dropped.

this fixes those.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 19:44:59 +10: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
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

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

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +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
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +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
Kevin Fenzi
249789ad17 updates-sync: we should no longer be syncing f39
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-21 09:02:19 -08:00
Diego Herrera
805f7ff0a8 Force to use x86_64 epel release package abs path
Signed-off-by: Diego Herrera <dherrera@redhat.com>
2024-12-09 19:18:13 -03:00