1
0
Fork 0
forked from infra/ansible
Commit graph

568 commits

Author SHA1 Message Date
ad38d7a7f5 koji_hub: clean up and reorder hub policies
Per upstream koji folks we want to move the is_child_task to nearly the
top so child tasks get the right channel assigned. Also, we want to
make sure the ci and secure-boot rules only apply to build method.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-07-14 11:27:24 -07:00
d0e61275a6 Allow draft builds on ELN side-tags
Fixes: releng/tickets#13374

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
2026-07-08 00:05:53 +00:00
449ddd529b
Zabbix: Add koji check_lock script
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-07-01 17:31:18 +01:00
cfea78b9cc koji / hub: fix scm_repository name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-21 20:39:18 -07:00
e493015497 koji / hub: allow forge.fedoraproject.org/releng/kiwi-descriptions.git
This repo moved to forge so allow that and drop the no longer used
kickstarts repo as well as pagure.io.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-21 17:47:28 -07:00
5379379e37
Zabbix: write Koji dropin to correct file
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-11 16:50:27 +01:00
afb43fd7a2
Zabbix: make NFS lock check specific to koji01
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-11 12:46:53 +01:00
50785d4c4e
Zabbix: move Koji wellness checks from Nagios
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-06-11 12:33:15 +01:00
72b346ad2b riscv-koji: missing end brace
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-09 09:41:36 -07:00
eaf5fced69 riscv-koji: allow building from forge overlay
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-09 09:29:48 -07:00
8f8a5a0a23 koji / pesign: add systemd-boot to hub policy and pesign
Set the systemd-boot package to build on secure-boot channel and set all
the normal permissions for that that other secure-boot builds have.

Add the systemd-boot cert to pesign config so it can be signed by the
right cert.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-06-03 17:47:55 +00:00
Patrik Polakovič
a1c7d0828a Fedora 42 is now End Of Life
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2026-05-28 20:33:06 +02:00
7e5a64efdc
Zabbix: fix typo in template macro
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-05-26 13:50:58 +01:00
6cfda2b8f5
Zabbix: move http-koji checks from Nagios
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-05-26 13:44:59 +01:00
76e322e65a koji / hub: try increasing the keepalive timeout here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-05-11 15:11:29 -07:00
d59d39d281 proxies: more changes for the sporadic 502 issue ( 12913 )
I got claude to dig into the things we tried to fix this issue and look
for things we missed. It found a few things:

1. In commit 35a1b3223b Victor Koycheff added some proxyopts for
   keepalive, etc. However, unfortunately, while the variable was set
   the template wasn't looking at that, so they were never actually
   set in the website. ;( So, we fix that by passing the variable in the
   right template here.

2. kojihub didn't have a keepalive set on the backend. (but this is
   likely cosmetic since the problem is at the proxy layer). We fix
   this by adding one anyhow.

3. The pass thru anubis didn't have keepalive set right, so we do
   that in the template. This may fix other 502 issues with other
   applications also.

Calude used 57,508 tokens looking at all this. ;)

Assisted-By: claude

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-05-11 11:09:55 -07:00
e56db32aa6 httpd/koji: set MaxKeepAliveRequests 0 to fix 502 race condition
This acts as the second half of the fix for the 502 Bad Gateway errors
on long-running koji connections.

Fixes #12913

Signed-off-by: Victor Koycheff <victorkoycheff@gmail.com>
2026-04-30 00:54:13 +00:00
8d7f48967d koji: tell policy scratch is a bool for testing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-04-29 15:29:31 -07:00
ce89bf1cc9 koji hub: move packit scratch builds to ci channel
We don't want to move all packit builds, because it does a lot of
official builds for maintainers. Instead, we want to just move the
scratch builds over to the ci channel.

See: infra/tickets#13069

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-04-29 21:48:27 +00:00
4fb1f446c5 feat: koji_hub: move rccl to heavybuild
Signed-off-by: Vít Smolík <me@smoliicek.cz>
2026-04-07 19:17:10 +00:00
5f83e0fb6d Simplify FedoraBranchedBodhi handling
The current updates policy has the same rules for Branched after
Beta freeze / updates-testing activation as for stable releases,
so we don't need a specific Branched policy after that point at
all. It only needs to exist for the 'preenable' state. The
'current' state is useless, so get rid of it.

The Koji config handling was actually rather wrong in a few ways.
If we ever got into a situation where FedoraBranched was true
and FedoraBranchedBodhi was 'current', we'd allow block on the
branch, which seems bad. Also, because this block wasn't
conditionalized on FedoraBranched and FedoraBranchedNumber is
0 when FedoraBranched is false, we wound up defining a policy for
tag 'f0', which is also dumb (but probably harmless). Getting
rid of 'current' solves the first, conditionalizing the policy
on FedoraBranched solves the second.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-19 23:38:00 +00:00
Patrik Polakovič
46fbcc5567 Branch Fedora 44 from Rawhide
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2026-02-05 19:10:58 +00:00
15003c92ed koji_hub: add cef to heavybuilder
See https://pagure.io/fedora-infrastructure/issue/12995
We want to be careful adding anything here, but the same reasons we add
chromium are in play here. There's no ppc64le or s390x builds, so it
will just affect aarch64 and x86_64 where we have a lot of hosts in
heavybuilder channel.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-12 12:44:39 -08:00
259264b36e Fedora 41 is now EOL
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-12-15 19:14:06 +01:00
4f2bf475b5 Revert "Fedora 41 is now EOL"
EOL is shifted to december 10.

This reverts commit 717323a450.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-11-28 15:50:14 +05:30
717323a450 Fedora 41 is now EOL
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-11-27 19:43:32 +05:30
Simon de Vlieger
28daeaad95 koji: remove osbuild plugin configuration
This is part of an approved change [1] to remove `koji-osbuild` from
Fedora's Koji instances. In this commit the Koji configuration is
changed to no longer serve `osbuildImage` tasks in web or hub.

The `koji-osbuild` plugin has been replaced previously with the
`koji-image-builder` plugin which, instead of talking to a remotely
hosted service, builds images on Koji builders themselves.

All users of `koji-osbuild` have been migrated to `koji-image-builder`
and no builds are being scheduled that need to be handled by
`koji-osbuild` anymore.

[1]: https://fedoraproject.org/wiki/Changes/KojiServiceImageBuilderRemoval

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-11-23 23:09:52 +00:00
8a2ace252d koji_hub: increase timeout above the proxy timeout to handle race conditions
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-19 12:53:14 -08:00
60d60a828c koji_hub: set keepalive to the same as proxies
We need to set this the same as the proxies so we don't have a keepalive
on the proxies that gets cut off my the lower limit on the hubs.
This may fix the 502 error with watch-tasks/watch-logs

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-19 12:39:08 -08:00
dcb203100f koji_hub: koji-gc: fix typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-09-21 19:44:09 -07:00
013e5a97af koji_hub: update koji-gc for f44
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-09-20 10:56:43 -07:00
5a8587dae0 koji_hub: drop webkit2gtk4 from heavybuilder, it is retired
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-25 09:16:54 -07:00
79259c6911 Implement variables for EPEL minor version management
This introduces a set of variables for managing infrastructure changes
as EPEL minor versions change over time.  This should drastically
simplify our changes during EPEL mass branching.  This also drops the
earlier attempt of EPELCycleNumber and EPELBootstrapNumber variables,
which are no longer used.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2025-08-24 22:01:26 -05:00
4418d1d001 Branch Fedora 43 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-08-12 14:35:47 +00:00
b4e77e3a71 koji: Drop legacy mash.conf for httpd 2025-07-04 19:04:25 +02:00
1c82e912d1 koji: Install GSSAPI keytab also in staging 2025-07-04 18:24:59 +02:00
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
ac8b3ec86f koji-hub: fix proxy principals
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-07-03 06:01:57 -07:00
0f27d8c100 riscv-koji: adjust sources
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-21 13:10:35 -07:00
1205bda981 riscv-koji: allow the overlay for now until it can be completely removed
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-20 22:29:23 -07:00
f2a5e7b6a4 koji: revert riscv channel config partly
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-13 11:30:26 -07:00
9f6b5bd7a7 riscv-koji: setup a generic channel for things that can go to x86 buildvm's
On riscv we don't want to do generic tasks that can be done on any arch
on riscv builders. We want those to go to the x86_64 builders that are
much faster.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-11 16:42:36 -07:00
79c78784ac koji-hub: only use seperate kojipkgs on primary not riscv
The riscv koji isn't using a seperate kojipkgs, so it's like staging and
should just serve repos/etc by itself.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-11 16:37:37 -07:00
6ba48207ba riscv-koji: allow normal tagging here for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-09 13:16:25 -07:00
e968d706e7 riscv-koji: drop secure-boot policies as they are not needed in the secondary koji
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-09 12:30:43 -07:00
Patrik Polakovič
d7ffb33621 Add tag policy for OpenH264
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-05-19 22:08:33 +00:00
f8d06a6812 F40 is now EOL
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2025-05-13 14:58:24 +00:00
Simon de Vlieger
1e777285e6 koji: image-builder for production
Enables the `image-builder` plugin from `koji-image-builder` in the
production environment for both the koji hub, and the koji builder
(kojid).

This is based on the earlier enablement in staging where I've
succesfully tested some builds and it didn't seem to bring down all of
the staging instance.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-04-28 18:58:22 +00:00
Simon de Vlieger
9f15884401 koji: image-builder for staging
Enables the `image-builder` plugin from `koji-image-builder` in the
staging environment for both the koji hub, and the koji builder (kojid).

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-04-23 23:53:51 +00:00
8c17500541 koji_hub: bump kojiweb limits to handle large events better
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-04-16 10:26:20 -07:00