Commit Graph

7 Commits

Author SHA1 Message Date
Kevin Fenzi
8104cee874 anubis-el: rework config to hopefully work with el podman and add key
Right now, podman on el9 isn't reading the policy correctly.
This is because the env for the unit isn't getting picked up
by podman, so instead pass --env-file to read it from a file.
Also, we want to setup a private key for the download servers
so they all have the same challenge creation (so if you hit 01
you want your challenge to be good on 02, etc).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-02-11 12:24:03 -08:00
Kevin Fenzi
d89d391f87 anubis-el: restart on bot policy changes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-02-10 15:22:02 -08:00
Kevin Fenzi
f3406c7ee7 anubis-el: add missing check for port
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-22 10:50:15 -08:00
Kevin Fenzi
4e9729d938 anubis: fix ports for el vs non el versions
I mistakenly changed the port in the fedora/non el one, that was
correct.

Need to add the port in the el one for selinux to allow httpd to work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-22 10:44:20 -08:00
Kevin Fenzi
07940d97ac download / anubis: fix typo of file vs copy module
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-22 10:26:24 -08:00
Kevin Fenzi
6ceb3ea68b download: enable/finish anubis for other download servers
Fixed up a few things missed and caught in testing on dl01:
* need to setup subuid/subgid files for podman
* need to allow the right port for httpd to listen in selinux
* need httpd network connect to allow it to connect to anubis
* adjust worker values, we were not using prefork for a long time
so the values were just default up them a bunch.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-22 10:16:22 -08:00
Kevin Fenzi
9717d920af anubis: rename anubis-el8 to anubis-el and see about enabling on download
Looks like the scrapers are hitting the download servers now.
So, look at setting up an anubis pod there like we did for pagure.
anubis package isn't available for epel9, so we just use the container.

Will test this with dl01 and tweak until it's working.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-22 08:50:34 -08:00