Commit Graph

1308 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
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
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
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
Timothée Ravier
9b2da0d73d roles/bodhi2/pungi: Update to new Atomic Desktops manifest names
- Use the container manifests for the container builds
- Use the new names for the classic ostree builds

See: https://pagure.io/pungi-fedora/pull-request/1292
2024-11-15 12:04:42 +01:00
Carl George
03749f705c bodhi/backend: use major version to construct EPEL latest link
The latest epel-release symlink name is constructed by parsing the fifth
digit out of the release.  That was never going to work when we reached
a double digit major version.  It is resulting in a symlink of
epel-release-latest-1.noarch.rpm for epel10.0.  Instead, let's switch it
to use the version value (without the minor version) from the release.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-11-08 18:05:54 +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
james02135
614ce12a0f Update new-updates-sync to not skip EPEL 10
Signed-off-by: james02135 <james02135@hotmail.com>

Include epel10 in the RELEASES dict

Signed-off-by: james02135 <james02135@hotmail.com>

Remove dict updates until composes are turned back on

Signed-off-by: james02135 <james02135@hotmail.com>
2024-11-04 21:39:56 +00: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