Commit Graph

1238 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
Carl George
fffd852e6e Fix RuntimeError in owner-sync-pagure.j2
This is a small follow up fix related to 01be34a706.
Previously the script modified a list while iterating through it, which
is always a bad idea, but it didn't throw an error.  My last changes
switched it to iterating through a list, which surfaced the flaw as a
RuntimeError.  Using a set comprehension is a cleaner way to generate
the set we need to return.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-07-31 13:27:42 -05:00
Carl George
6e70c6fc3a Update owner-sync-pagure.j2 to work with EPEL 10, second attempt
Originally attempted in 01be34a706, but it
didn't work correctly and needed to be reverted.  Some notable
differences this time around:

- Previously the script predicted branch and version based on the tag.
I had this switched to get both of those from the bodhi release, but not
all tags have a corresponding bodhi release.  So this now takes a hybrid
approach of using bodhi release if available, and falling back to the
prediction approach otherwise.
- Retired package lists from the lookaside are now skipped if they don't
exist, both during the retrieval and when checked later.
- The get_project_branches function now returns a set.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-07-31 14:27:54 +00:00
Kevin Fenzi
277495b74e owner-sync-pagure: adjust regex to not handle epel10 yet
The new epel10 release in bodhi is confusing this script, so
lets exclude it for now until we get the script sorted out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-30 13:26:03 -07:00
Kevin Fenzi
a0b5a8f7c9 Revert "Update owner-sync-pagure.j2 to work with EPEL 10"
This reverts commit 01be34a706.

There's some corner cases causing this to fail, so lets revert for now.
2024-07-30 12:10:22 -07:00
Carl George
01be34a706 Update owner-sync-pagure.j2 to work with EPEL 10
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-07-30 11:55:16 +00:00
Carl George
6ff3450ce8 Add EPEL 10 key to bodhi's pungi template
Signed-off-by: Carl George <carlwgeorge@gmail.com>
2024-07-30 11:52:44 +00:00
Kevin Fenzi
115c22652d bodhi / backend: remove epel8-next sync too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-05 18:30:16 -07: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
Samyak Jain
2935b4ebe7 add vulkan-validation-layers to allowlist to include i686 pkgs
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-07-01 13:29:45 +00:00
Lenka Segura
ce7c3d4005 bodhi-backend: Remove forgotten print from owner-pagure-sync
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-05-28 17:44:18 +00:00
Lenka Segura
a7bdb31bfc bodhi-backend: Fix bug in owner-pagure-sync script
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-05-22 22:31:20 +02:00
Timothée Ravier
9be1a293e7 bodhi2/pungi.rpm.conf.j2: Update for F38 EOL
Remove conditions that are always true now that Fedora 38 is EOL.
2024-05-22 17:54:09 +02:00
Samyak Jain
9438b39fd1 F38 is EOL
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-05-21 14:33:13 +00:00
Kevin Fenzi
f15fa40ccd bodhi / koji sync listener: set BODHI_URL and import re
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-17 08:10:56 -07:00
Kevin Fenzi
fa08cf1895 Reapply "bodhi-backend: owner-sync-pagure script debugged"
This reverts commit b029ec8c63.

I spoke too soon, the errors I saw were not causing it to fail.
2024-05-17 08:09:24 -07:00
Kevin Fenzi
b029ec8c63 Revert "bodhi-backend: owner-sync-pagure script debugged"
This reverts commit 8cfdeed4b6.

Still got some issues with this new script. ;(
Reverting for now while we debug.
2024-05-17 07:59:30 -07: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
Lenka Segura
8cfdeed4b6 bodhi-backend: owner-sync-pagure script debugged
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-05-16 20:17:30 +00: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
Mattia Verga
291bf2570c bodhi: fix createrepo_c config for EPEL-NEXT
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-05-16 17:51:39 +02:00
Kevin Fenzi
f17dcbe7fe bodhi / createerepo / epel8: try and get primary back on xz
We changed around compression as part of a Fedora change and move to
createrepo_c > 1.0, but the epel8 repos are causing a bit of problem for
users who use mergerepo_c on them from older (<1.0) createrepo_c.
They can't understand the primary.xml being zstd compressed.
So, lets try and set this to switch primary back to xz.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-10 08:01:30 -07:00
Kevin Fenzi
5b9c1a5193 bodhi / owner sync to koji: revert pdc dropping changes for now
This seems to not be working, so we need to revert it for now and debug
what is going on.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-09 07:49:07 -07: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
Mattia Verga
c85ad30616 bodhi-backend: update createrepo and pungi config for https://fedoraproject.org/wiki/Changes/ChangeComposeSettings
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2024-05-08 17:33:08 +00:00
Lenka Segura
d1a79b87dd Code improvements
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-05-06 08:04:14 +00:00
Lenka Segura
7fde6612e5 Remove pdc calls from owner-sync-pagure.j2 script
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2024-05-06 08:04:14 +00:00
Adam Williamson
771db33ea4 Bodhi compose config: fix templating in 'repos' definition
You can't nest jinja's templating markers like this, it turns
out, they just wind up as literal strings. You also can't use
f-strings, sadly (tried it locally, it errors out). We have to
use older-style `.format()`, that works. I went with a fairly
explicit syntax to make it clear what's going on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-01 19:48:17 +00:00
Adam Williamson
5f2d78a83c Bodhi compose config: build ostrees and containers in variants
Our compose attempt with the containers being built under
Everything didn't go as planned because the filenames of the
container images turn out to be determined by the variant, so
they conflicted and only the last one built survived. So, we
really need to build them under unique variants for now. A
previous commit added the variant definitions.

We don't *need* to build the ostrees under the variants, but it
feels more consistent this way, both with the containers and
with how it works in the Rawhide/Branched composes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-01 18:00:19 +00:00
Kevin Fenzi
9319e2c3b9 Add variants for atomic composes in bodhi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-01 16:35:56 +00:00
Adam Williamson
475c3a54d6 Bodhi compose config: factor out a repeated conditional
This just makes things a bit more readable, I think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-30 23:07:34 -07:00
Adam Williamson
8e05d07ca6 Bodhi compose config: drop sigkeys for ancient releases
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-30 23:07:34 -07:00
Adam Williamson
b9ccb3c54a Bodhi compose config: factor out repo definitions
We repeat this exact same repo definition block eight times,
let's just make it a variable (at the ansible template level).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-30 23:07:34 -07: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
Adam Williamson
bb84140443 Bodhi compose: move ostree containers under Everything variant
As is currently the case for the ostrees themselves. The variants
don't exist in this compose config.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-30 17:50:42 +00:00
Adam Williamson
0bde466014 Have Bodhi composes include atomic desktop containers on f40+
Since Fedora 40, we've built native OCI containers for the atomic
desktops in the pre-release nightly and release composes. We
should also build native containers in the post-release nightly
composes that Bodhi runs. This should allow us to get rid of the
on-the-fly OCI image generation in the sync-ostree-base-containers
script.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-29 13:41:34 -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
Samyak Jain
7e6b1b19f1 Fedora 40 is GO
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-04-19 21:36:49 +05:30
Timothée Ravier
a39bb343fa bodhi2/backend/templates/pungi.rpm: Update comments 2024-03-27 22:07:29 +00: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
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
Samyak Jain
c9049a56db Add f40 config for toddlers
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-02-13 13:12:33 +00:00
Samyak Jain
2a240052b1 Branch Fedora 40 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-02-13 13:12:33 +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
Samyak Jain
4f7c2f3343 Add gtk2 and gtk3 support in multilib conf
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-02-01 00:43:23 +00:00