Commit graph

40495 commits

Author SHA1 Message Date
e954f86908 kerneltest: redirect apps.fp.o/kerneltest to kerneltest.fp.o
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-21 12:06:49 +10:00
0e5f6796ea kerneltest: prepare for openshift prod kerneltest
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-21 11:28:23 +10:00
82045c1266 kerneltest: fix website location
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-21 09:43:19 +10:00
ba7dc4258d kerneltest: use kerneltest.fedoraproject.org instead
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-21 09:23:24 +10:00
f6aaf4fdaf set the proxy to point to openshift kerneltest
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-21 06:42:04 +10:00
ed82a8f2ad kerneltest: adjust redirect URI for now
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-20 09:41:46 +10:00
03af6d3cc5 kerneltest: use correct name for kerneltest_secret_key
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-20 09:33:08 +10:00
Kevin Fenzi
ed6f425f5e buildvm-s390x-01.stg: give more memory for staging builder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-18 10:45:12 -07:00
Michal Konecny
e62dc00cad [mailman] Enable SELinux content to allow httpd
The SELinux policies are still needed for httpd.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-18 13:31:52 +01:00
Michal Konecny
523acbbd25 [mailman] Fix the yamllint issues
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-18 12:53:36 +01:00
Michal Konecny
192c62d22a [mailman] Disable fedmsg role for staging
fedmsg is not available on RHEL9 and we don't want to support it in future
anyway. Let's remove it for the staging deployment for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-18 12:33:39 +01:00
Michal Konecny
5b2816e320 [mailman] Add missing dependency for Apache
When redeploying the VM from scratch it failed on starting apache on
mod_wsgi.so, installing the package solved the issue.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-18 12:25:51 +01:00
Michal Konecny
128ae8fd46 [mailman] Give more memory to staging VM
It seems that new runners take more resources than before. 2GB are not enough
let give it 8 GB.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-18 11:15:25 +01:00
4862565d67 kerneltest: create rabbitmq user
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-18 18:16:26 +10:00
Aurélien Bompard
c65dfb1d4a
MM: make sure the cronjobs don't fail
Openshift will always restart the cronjobs if they fail:
https://docs.openshift.com/container-platform/4.15/nodes/jobs/nodes-nodes-jobs.html#jobs-limits_nodes-nodes-jobs

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-18 08:53:06 +01:00
Pavel Raiskup
a9ff3c1ad2 copr-builders: assure copr-rpmbuild 0.72+ 2024-03-18 08:35:29 +01:00
4b1a070ac9 kerneltest: add fedoramessaging configuration
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-18 13:02:47 +10:00
Kevin Fenzi
fa729a6210 haproxy: set keepalive mode for kojipkgs
We are hitting a sporadic and anoying 502 error with ostree pulls.
see https://pagure.io/releng/issue/11439

The problem seems to be between haproxy and varnish on kojipkgs01.

We set the httpclose option in haproxy globally, which closes
connections as soon as it thinks they are done.
Setting this option 'httpkeepalive' will keep connections alive
and handle the case of lots of fast connections downloading small
objects much better.

Sadly, we don't have a way to test this in staging, so we would need to
test in prod and roll back if there's problems.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-15 11:57:46 -07:00
Michal Konecny
08204451a8 [mailman] Disable processing of old bounce events
As mailman didn't processed bounce events, just saved them in the database, we
need to say that we don't want to process the old ones. See
https://docs.mailman3.org/en/latest/upgrade-guide.html#upgrade-from-3-3-1-to-3-3-1
for more info.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Michal Konecny
eb11e320f1 [mailman] Remove non existing middleware from django
SessionAuthenticationMiddleware doesn't exist in django.contrib.auth anymore.
Let's remove it from the list.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Michal Konecny
4145c3982c [mailman] Add packages needed for tests
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Michal Konecny
2830cad48d [mailman] Let's disable tests for now
The tests are failing a lot with new deployment, let's disable them now and
enable them again when the service will be actually running.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Pedro Moura
1a34942c79 Planet: Add cronjob and PVC
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-03-15 14:06:10 +00:00
Michal Konecny
aa56a6bb45 [mailman] Fixes for post-update script
Another bunch of fixes for post-update.sh script.
* Migrate pg-give-rights.py to python3
* Add settings_test.py to staging as well

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 13:00:05 +01:00
Michal Konecny
ad315c5536 [mailman] Fix the post-update.sh script
Fixes for the post-update.sh script for mailman:
* add missing dependencies
* Use correct template type for navbar-brand
* Fix urls.py for postorius
* Add settings_admin.py as it is needed for db migration

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 12:01:44 +01:00
Michal Konecny
93fbacb1fd [mailman] Disable paintstore plugin for staging
paintstore plugin is not available for django on EPEL 9 now, let's disable it
for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 11:04:50 +01:00
Michal Konecny
e3ddf7cddb [mailman] Use the correct yamlget script on staging
We need to use updated yamlget script, but it wasn't added correctly and the old
one was executed instead.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 09:21:47 +00:00
Siteshwar Vashisht
99f13d0756 openscanhub: fix hub url in the django configurations
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-15 09:13:35 +00:00
1bce413550 kerneltest: set API key in the config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-15 12:46:02 +10:00
Michal Konecny
2867a08e75 [mailman] Fix the yamlget script
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 18:16:44 +01:00
Michal Konecny
60dc16d7c9 [mailman] Disable cron mails for staging
It's spamming a lot lately as I'm working on new deployment, let's disable the
mails for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:43:50 +01:00
Michal Konecny
6d0370a0dc [mailman] Install the post-transaction-actions plugin correctly
It should be installed as standard package.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:32:44 +01:00
Michal Konecny
1e005e7b2f [mailman] Add correct folder for post-transaction trigger
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:08:51 +01:00
Michal Konecny
17400d7060 [mailman] Fix the cronjob error
Add python3-pylibmc to list of installed packages.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:00:00 +01:00
Michal Konecny
122faad904 [mailman] Enable post-actions plugin
Enable post-transaction-actions plugin for mailman to be able to run post
transaction scripts.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 16:43:58 +01:00
Michal Konecny
375ccfbb06 [mailman] Add missing /
I forgot to add / in the path. Let's add it

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 16:26:08 +01:00
Michal Konecny
87002ed661 [mailman] Move the banner task after folder creation
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 16:12:53 +01:00
Michal Konecny
e51bbd4fcf [mailman] Fix the condition
I'm surprised this wasn't caught by ansible-lint.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 14:53:58 +00:00
Aurélien Bompard
2a67646593
MM: give more time to the secondary arch crawl
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 15:45:23 +01:00
Aurélien Bompard
d1d62fa132
MM: give more time to the archive crawl
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 15:38:40 +01:00
Michal Konecny
529fa0880a [mailman] Update the role for mailman 3.3+ staging-only
This updates the mailman role to work on EPEL 9. This is the first iteration,
let's see what will work and what not after it.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 15:15:21 +01:00
Siteshwar Vashisht
77e895cda9 openscanhub: add ssh private key to osh hub
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-14 14:30:28 +01:00
Siteshwar Vashisht
5d5ec547ea openscanhub: add a non-empty tag in resalloc pool
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-14 11:39:59 +01:00
Aurélien Bompard
c08ebd8fa9
MM: syntax
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 10:15:49 +01:00
Siteshwar Vashisht
b324ff3dc8 openscanhub: workaround a bug with on demand tags
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-14 09:39:20 +01:00
Aurélien Bompard
36a0799037
MM: verbose run for logrotate
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 09:24:01 +01:00
Aurélien Bompard
d11d6a27d9
MM: don't use host timeout
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 08:59:03 +01:00
Pavel Raiskup
d320f9821e copr-pulp-dev: open API for external clients 2024-03-14 08:47:24 +01:00
18fb4a9f5d kerneltest: use correct appname when including PVC object
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-14 12:53:26 +10:00
e416bacc9f kerneltest: add persistent storage for logs
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-14 12:42:07 +10:00