Commit Graph

27503 Commits

Author SHA1 Message Date
Aurélien Bompard
56d7fd54da Add a patch to Pagure
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-01-12 16:25:47 +01:00
Jakub Kadlcik
7cce8fddce copr-be-dev: install image-builder for uploading builder images 2026-01-12 16:20:08 +01:00
Jakub Kadlcik
44cbb54975 copr-be: add dependency on pv 2026-01-12 15:44:27 +01:00
Jiri Kyjovsky
88102722cb copr-anubis: allow copr-related user agents to pass without challenge 2026-01-12 09:00:32 +00:00
Adam Williamson
021c63e9df Update some Forgejo-migrated repo URLs
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-09 18:51:10 -08:00
Jakub Kadlcik
9f7c3b53c6 copr-be: don't modify the redirect path for dnf install 2026-01-08 17:47:33 +01:00
Jiri Kyjovsky
02d6781cc9 copr-anubis: allow comps.xml endpoint for Copr backend
The backend uses urlretrieve() to download comps.xml from the frontend
at /coprs/<user>/<project>/chroot/<chroot>/comps/. Since this path is
under /coprs/ which is protected by Anubis, the backend receives the
JavaScript challenge page instead of the actual comps data.

This HTML then gets saved as comps.xml and included in the repository
metadata, causing users to download Anubis challenge HTML instead of
the actual comps.xml.gz file.
2026-01-08 17:06:03 +01:00
Jiri Kyjovsky
dd07996948 copr-dist-git: redirect http to https 2026-01-08 16:56:35 +01:00
Jiri Kyjovsky
3595436104 copr-anubis: loosen policies (go through defaults), allow essentials 2026-01-08 16:40:34 +01:00
Michal Konecny
4029d659d7 [flatpak-indexer] Use the correct path for fedora
The image is in fedora namespace.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-01-08 14:32:03 +01:00
Michal Konecny
1dbed15284 [flatpak-indexer] Set imagestream to fedora:latest
For some reason flatpak indexer had fedora:latest redefined to
fedora:40. Let's correct this.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-01-08 14:18:17 +01:00
Jakub Kadlcik
a56f61e4b5 copr-be: oops a typo, in lua there is no != but ~= 2026-01-07 21:50:18 +01:00
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