Commit Graph

27491 Commits

Author SHA1 Message Date
Jakub Kadlcik
55e6989d10 copr-be: oops forgot one important comment about the redirect 2026-01-07 21:43:16 +01:00
Jakub Kadlcik
f357513bdf copr-be: fix Pulp redirect for RPM files
We cannot simply use the same Copr path but on Pulp, because the
directory structure is different.

Copr:

    @copr/copr-dev/fedora-43-x86_64/09975054-copr-cli/copr-cli-2.4.post1-1.git.12.8aed90c.fc43.src.rpm

Pulp:

    @copr/copr-dev/fedora-43-x86_64/Packages/c/copr-cli-2.4.post1-1.git.12.8aed90c.fc43.src.rpm
2026-01-07 21:39:23 +01:00
Samyak Jain
6764d87bb6 Add user eln-buildsync in place for the serviceaccount'
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-01-07 22:32:35 +05:30
Greg Sutcliffe
c089a6799f Zabbix: fix STL trend item to correct data source
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-01-07 16:14:15 +00:00
Greg Sutcliffe
3d544e0919 Zabbix: lower CPU load alert level, and add STL trend item for testing
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2026-01-07 15:55:43 +00:00
Jiri Kyjovsky
d79d6ca487 copr/anubis: fix configuration on frontend to protect only /coprs (same for distgit)
Anubis was accidentally enabled for all traffic (/) instead of just
the /coprs/ web UI. This caused unnecessary bot challenges for API
clients, dnf/yum, and other automated tools.

Use Anubis BASE_PREFIX to cleanly protect only specific endpoints:
- Frontend: /coprs/ (web UI)
- Dist-git: /{{ cgit_uri }}/ (package browser)

https://anubis.techaro.lol/docs/admin/installation#using-base-prefix
2026-01-07 13:58:11 +01:00
Michal Konecny
66ea3d1769 [httpd] Re-enable history endpoint on src.fp.o
See https://pagure.io/fedora-infrastructure/issue/13011 for more info.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-01-07 09:01:48 +00:00
Adam Williamson
3a2b79ec54 greenwave policy: cover many openQA tests added recently
This is mostly adding aarch64 runs of existing tests, but also
we add the new desktop_graphics_validation test on both arches,
and desktop_keyring on KDE which wasn't run before for no good
reason.

All of these were turned on in openQA itself last year. The most
recent is desktop_graphics_validation which was added 2025-11-28.
All the others have been running since at least 2025-11-19. I'll
check for any old, stuck updates which need any of these run
manually.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-06 12:28:56 -08:00
Adam Williamson
fc36e437c0 reverseproxy: whoops, drop stray duplicate endif
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-06 10:17:49 -08:00
Adam Williamson
0547a22e86 Forgejo attachment redirects: set up for prod
This tweaks the Forgejo redirect-to-pagure-for-attachments stuff
to work for prod as well as staging, since we proved it out in
staging and we do want it to actually work for prod migrations.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-06 08:59:39 -08:00
Aurélien Bompard
e38fedb393 Alias generation script: retry on connection error
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-01-06 13:59:46 +01:00
Anton Livaja
993006596f modify stagex url to allow searching by basename 2026-01-05 10:21:30 +00:00
Adam Williamson
b9fe2e598e proxies: add nft_block_rules to nftables.staging
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-30 08:56:14 -08:00
Adam Williamson
d7fbddc338 varnish: drop kerneltest
It was moved to openshift in 2024 (see e.g. 0e5f679). Dropped
from haproxy config in 55056c6.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-26 19:39:02 +00:00
Adam Williamson
8801582e01 varnish: drop blockerbugs
Moved to openshift in 2022 (see e.g. ab4db44) and was dropped from
the haproxy config in 55056c6, nothing listens on 10022 on the
proxies these days.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-26 19:39:02 +00:00
Adam Williamson
3ef38feb21 varnish: remove askbot
See cb22afd (removed ask config in 2018). It's been gone since
then. Nothing listens on 10021 on the proxies.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-26 19:39:02 +00:00
Adam Williamson
4f6c6f7460 varnish: remove packages
See 5413a21 (noting it was moved to openshift in 2020) and
55056c6 (removed it from haproxy config).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-26 19:39:02 +00:00
Adam Williamson
bee72cf44d varnish: drop bodhi
Was moved to openshift long ago. All of these URLs are now just
302s to bodhi.fedoraproject.org in the httpd config. Nothing
listens on port 10009 on the proxies.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-26 19:39:02 +00:00
Adam Williamson
13eeea6d6a varnish: drop mirrormanager (not mirrorlists)
Was moved to openshift. Was dropped from haproxy config in
55056c6, but not from varnish.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-26 19:39:02 +00:00
Kevin Fenzi
5dee660cac proxy3: use fqdn in nagios
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-25 08:49:17 -08:00
Adam Williamson
ae1dfd09d2 Drop fas backend from varnish config
I'm pretty sure this is a vestige of FAS2. 'fas01' resolves on
*most* proxies, but to an IP address that doesn't exist. On
proxy01.stg (but not proxy02.stg for some reason?) it does not
resolve at all, and this causes varnish to fail to start up.
Let's just get rid of it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-23 23:26:50 -08:00
Greg Sutcliffe
9fae8c7d2d Zabbix: First try of the CMDB-in-Zabbix-Inventory idea (#12817)
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-22 15:09:07 +00:00
Pavel Raiskup
cd95aa0095 copr-be: try to use x86 copr04 2025-12-20 15:54:12 +01:00
Jiri Kyjovsky
b7f3eff5f0 copr-anubis: allow webhooks 2025-12-19 19:45:53 +01:00
David Kirwan
6a12544029 forgejo: modifying ipsilon config for the staging dist-git instance
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-19 13:34:53 +00:00
David Kirwan
53e01287bb forgejo: update ipsilon with the correct temporary hostname for callback
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-19 13:26:46 +00:00
Greg Sutcliffe
8f6c1878f8 Zabbix: fix tags on task
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-19 11:42:51 +00:00
Adam Williamson
16ddce81e8 Forgejo attachment proxy: special-case testdays-web
This is a bit ugly, but can't think of a better way right now.
Since @kparal is using this migration of testdays-web from prod
pagure to staging forgejo as a test case for prod migrations in
general, let's make sure it works properly by proxying attachment
requests to prod pague instead of staging.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:46:36 -08:00
Adam Williamson
08f04c6d36 Whoops, fix a missing stg. in forgejo attachment proxying
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:44:54 -08:00
Tomas Hrcka
18a56cc89e [forge] Add mapping for konflux-integration organization
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2025-12-18 19:37:36 +00:00
Adam Williamson
cacc7710ad proxies/forge: fix attachment proxying for images
This turned out to be a bit complicated, see
https://codeberg.org/forgejo/forgejo/issues/6360#issuecomment-9010932 . Pagure
images in comments use root-relative Markdown links, like this:

![image.png](/group/repo/issue/raw/files/image.png)

but Forgejo renders those relative to *the repo*, not the server root, so
they get rendered as something like:

<img src="/forgejoorg/forgejorepo/group/repo/issue/raw/files/image.png">

However, it does *not* do this for *non-image* root-relative links, so those
aren't 'broken'. This means we need to handle *both* cases in the proxying,
and we also need to keep in mind that Pagure allows repos without a group.
So we can wind up with one, two, three or four folders before /issue.

I did some testing and I *think* this should cover all cases. I've tested
this does fix images, I haven't tested on a non-image attachment yet (need
to find one).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:39:26 +00:00
Adam Williamson
219ffbf416 proxies/forge: fix SSL failures with attachment reverse proxy
The attachment reverse proxy was failing for several reasons, one
of which is that SSL options weren't set up correctly so the SSL
connection to pagure.io failed. This adds a Proxy section for
stg.pagure.io with the appropriate settings to make it work.

There are still several other issues, but this at least fixes the
SSL problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:39:26 +00:00
Pavel Raiskup
373bda5563 copr-hypervisor: avoid using ansible copr module for now
https://github.com/fedora-copr/copr/issues/4094
2025-12-18 18:20:01 +01:00
Pavel Raiskup
02fb5aac8f copr-hypervisor: drop the hack for helpers repo 2025-12-18 17:07:17 +01:00
Pavel Raiskup
514bb44914 copr-be: limit the number of builds in a single sandbox
This appears to be problem in recent days.  One user still can submit
more builds in parallel, but not in a single project (e.g., Packit).
2025-12-18 17:03:39 +01:00
David Kirwan
3272113adc communishift: enabling the notifications to go to project admins
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:54:42 +00:00
David Kirwan
ada7943373 communishift: remove unnecessary imports in clean up notification tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:34:33 +00:00
David Kirwan
b28a963e32 communishift: clean up the project cleanup notification tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:26:57 +00:00
Pavel Raiskup
ee10005271 copr-hypervisor: drop glanceclient
It's not easily installable on RHEL 10, and we anyway upload images
directly from copr-backend these days.
2025-12-18 16:18:45 +01:00
Pavel Raiskup
4078ccff24 copr-hypervisor: don't enable el8 on el10 hosts 2025-12-18 16:15:54 +01:00
Aurélien Bompard
7635095372 Noggin: increase the worker timeout
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-12-18 12:31:18 +01:00
Jakub Kadlcik
e751ba0278 backend: allow resalloc WebUI to connect to the database
See https://github.com/fedora-copr/copr/issues/4007
2025-12-18 11:48:12 +01:00
Jakub Kadlcik
158fc0e6a1 backend: I think this is the correct indentation 2025-12-18 11:47:16 +01:00
Jakub Kadlcik
56852ba78c copr-backend: disable NoNewPrivileges for lighttpd
See https://github.com/fedora-copr/copr/issues/4007
2025-12-18 11:21:32 +01:00
Greg Sutcliffe
2c9a9fab6a Kickstart: fix truncated lines
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-16 17:27:27 +00:00
Greg Sutcliffe
33de21c579 Kickstart: adjust disk sizes for Copr 10-disk RHEL 10 KS
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-16 17:22:33 +00:00
Greg Sutcliffe
5af110bad7 Kickstart: add copr 10-disk RHEL 10 KS
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-16 16:59:24 +00:00
Mattia Verga
7cdf3ae91c bodhi-stg: disable returning back celery results
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-12-16 11:31:15 +00:00
Kevin Fenzi
22a321a6a1 Revert "kojipkgs / varnish: cache also ostree repo objects dir listings"
This reverts commit 267cbc3c74.

Perhaps this needs some more work to match these requests.
2025-12-15 18:14:39 -08:00
Kevin Fenzi
267cbc3c74 kojipkgs / varnish: cache also ostree repo objects dir listings
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-15 18:03:50 -08:00