Commit graph

25260 commits

Author SHA1 Message Date
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00
Kevin Fenzi
f72ff64029 bastion / iptables: Add internal RH mxes and drop global allow
We want to allow internal mx'es to send us email still.
We want to drop the global allow for port 25 now that we hopefully have
all the legit senders listed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 10:55:20 -07:00
Kevin Fenzi
06a28bf516 bastion: iptables: fix copypasta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 10:48:32 -07:00
Kevin Fenzi
42cae5591f bastion: adjust smtp firewall rules for mimecast
Setup things so we accept smtp connections from all the places we
currently do, but also from mimecast as incoming emails may come via
that. We don't want to globally allow everyone to inject emails here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 10:36:47 -07:00
Mikolaj Izdebski
607dd47d35 Revert "Koschei: Temporarily scale up frontend Deployment"
This reverts commit a52be17987.
2024-09-24 13:55:13 +02:00
Siteshwar Vashisht
3c32cf2e24 openscanhub: enable sending messages to rabbitmq
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-23 11:56:59 +02:00
Kevin Fenzi
1f771cc4c1 planet: bump volume to 1GiB
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-21 10:00:52 -07:00
Adam Williamson
1325a7ab15 adamverse: add --no-deps to pip install commands
In various roles I maintain I use `python3 -m pip install` to
directly install a Python project (usually a fedora-messaging
consumer), to avoid the pointless bureaucracy of packaging them.
The roles install all the deps of these projects as packages
first, so pip doesn't have to install any deps, it only installs
the project itself. Well...that's the idea. It's possible for
this to go wrong (say I forget to update the roles when adding
a dep to the project), and in that case I think we'd rather have
things blow up (so I know something's wrong) than have pip
silently install some random upstream wheel system-wide to make
it work. The intent is that all the deps still come from proper
Fedora packages, only these projects themselves get installed
directly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-20 11:10:09 -07:00
Jeremy Cline
15dbcbb7ac
Revert "fedora-image-uploader: Add staging config for container uploads"
This reverts commit 5e0ad1134d (pr #2200).

Unfortunately, using buildah inside an unprivileged OpenShift container
turns out to not be very simple, even though we're not building any
containers, just importing and pushing them.

We can either figure out how to make it work with OpenShift (and while
it is definitely possible, I don't know if folks are okay with the
compromises that might be required) or deploy it in a VM for now.

In the meantime, the staging container is bootlooping so I'd like to
back this configuration out for the sake of my inbox.
2024-09-20 10:01:51 -04:00
Kevin Fenzi
617d2d164d postgres / db-datanommer: use lock-wrapper for backups
It seems sometimes now db-datanommer is taking more than 24hours to
backup, and currently that means it starts another one while the
previous one is running. Thats no good for anyone, so lets put in a lock
wrapper to avoid that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-19 08:22:19 -07:00
Siteshwar Vashisht
f0aa17d75b openscanhub: fix the specification of fedora messaging configmap
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 13:56:27 +02:00
Siteshwar Vashisht
fa976a0d4a openscanhub: fix name of fedora messaging configmap
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 13:26:11 +02:00
Siteshwar Vashisht
a2ba6b77c1 openscanhub: add fedora-messaging-configmap
... to playbook.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 13:01:32 +02:00
Siteshwar Vashisht
f5b2e01db5 openscanhub: add CSRF_TRUSTED_ORIGINS in settings
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 12:05:28 +02:00
Aurélien Bompard
abc37890ab
Mirrormanager: restore the proper location of the filelist
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-19 11:37:31 +02:00
Pedro Moura
f9b4ea51d6 Planet: fix config.toml
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-09-18 20:48:38 +00:00
Kevin Fenzi
f2d34ae0e1 fedocal: conditionalize the new container to staging until we can sort out the problems
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-18 13:10:30 -07:00
Tomáš Hrčka
3bd1491ece Update roles/openshift-apps/fedocal/templates/buildconfig.yml
Update Python version in fedocal deployment
2024-09-18 20:01:03 +00:00
Jiri Podivin
a2b5468164 Improving error handling and removing unused var
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
69309d5531 Removing duplicated import
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
6c5a88e986 Moving import to top
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
091445e61f Fixing nonsensical value
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
104ecb73b4 Removing unused formatter
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
f513e7cbcd Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00:00
Jeremy Cline
5e0ad1134d fedora-image-uploader: Add staging config for container uploads
Upload images to the stage registry. Rather than massaging the
credentials into the format written out by podman-login, just pass the
credentials in and have the app run podman-login with them. The
configuration includes the registry along with the prefix used for the
environment variables containing the credentials.
2024-09-18 19:43:42 +00:00
Kevin Fenzi
0db90a7f3a dhcpd: add some new hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-18 12:30:21 -07:00
František Zatloukal
c5d4bad183 oraculum: Try scheduling redis importPolicy 2024-09-18 16:35:30 +02:00
František Zatloukal
88400a19a6 oraculum: Switch to ubi9/python-312 2024-09-18 16:21:20 +02:00
František Zatloukal
f12092741f oraculum: Switch stg back to the main branch 2024-09-18 16:20:56 +02:00
David Kirwan
198ad865f9
firmitas: update storageclass type to cephfs to allow RWX access
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 14:03:51 +01:00
David Kirwan
c75590b127
firmitas: update the persistent volume access mode to RWX
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:45:36 +01:00
David Kirwan
94a61eee97
firmitas: correct path to cert downloader script
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:37:30 +01:00
David Kirwan
632c93acdd
firmitas: enable the cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:36:21 +01:00
David Kirwan
7ef3365fc0
firmitas: correct path for cert downloader script inside cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:33:06 +01:00
Michal Konecny
087bbe3ce0 [mailman] Use the correct notify
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-09-18 11:04:39 +02:00
Michal Konecny
5d4c302097 [mailman] Patch directly the file
With basedir patch says No file to patch, let's specify the file directly.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-09-18 11:01:15 +02:00
Michal Konecny
44234d5634 [mailman] Add patch for orphan issue
Fix for https://pagure.io/fedora-infrastructure/issue/12011
Already tested on staging.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-09-18 08:51:22 +00:00
Aurélien Bompard
c71d1a344c
MirrorManager: add missing definitions for the codecs mount
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-18 09:50:40 +02:00
Pedro Moura
117a014f1e Planet: fix routing keys and add rabbit user
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-09-17 14:39:52 +00:00
Aurélien Bompard
a00d7db58c
Mirrormanager: the nfs mount is only available in prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-17 14:50:57 +02:00
Aurélien Bompard
6d2919d8e2
MirrorManager: add the mountpoint for codecs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-17 14:36:04 +02:00
Aurélien Bompard
1ad5441c8b
FASJSON: deploy a static session key
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-16 13:26:45 +02:00
David Kirwan
24f8e2af1a
firmitas: update deployment to point at workingdir/myconfig.py
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-16 10:26:32 +01:00
Mikolaj Izdebski
bb4d2c2456 Koschei: Add custom robots.txt
Related: fedora-infrastructure#12180
2024-09-13 22:15:14 +02:00
Mikolaj Izdebski
06f821b537 Koschei: further increase frontend probes timeout
Related: fedora-infrastructure#12180
2024-09-13 21:31:15 +02:00
Mikolaj Izdebski
a52be17987 Koschei: Temporarily scale up frontend Deployment
Related: fedora-infrastructure#12180
2024-09-13 21:31:15 +02:00
Pedro Moura
afbd06bfc7 Planet: Add fedora messaging volumes to cronjob
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-09-13 15:30:09 +00:00
Aurélien Bompard
c00ff8b529
Reapply "MM: adjust primary-mirror-wrapper because ELN has only one version"
With the bits we didn't want actually removed.

This reverts commit 86b9fa42fe.
2024-09-13 15:59:43 +02:00
Aurélien Bompard
86b9fa42fe
Revert "MM: adjust primary-mirror-wrapper because ELN has only one version"
This reverts commit d8f7a508f8.
2024-09-13 13:13:42 +02:00
Aurélien Bompard
cc2bd587ad
MM: more adjustments for ELN
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-13 12:17:47 +02:00