Commit Graph

71 Commits

Author SHA1 Message Date
Siteshwar Vashisht
5b3ae0ce61 openscanhub: fix indentation of the e-mail notification
... footer.

It contains unnecessary spaces before the link.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-05-10 01:34:22 +00:00
Siteshwar Vashisht
2ee9b289a2 openscanhub: set DEVEL_EMAIL_ADDRESS to empty value
... as there is nobody tracking failed tasks.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-05-03 15:28:29 +02:00
Siteshwar Vashisht
afc268d434 openscanhub: export env variable
This should be used to determine which Copr repository (staging or
production) to use when running a playbook.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 18:40:17 +02:00
Siteshwar Vashisht
3bb1867704 openscanhub: try to fix vm-provisioning-configmap
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 17:40:16 +02:00
Siteshwar Vashisht
5b25f29396 openscanhub: use fedoraproject.org e-mail domain
Related: https://github.com/openscanhub/openscanhub/issues/253

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 15:29:46 +00:00
Siteshwar Vashisht
9825095021 openscanhub: add configmap for vm-provisioning config
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 15:28:26 +00:00
Siteshwar Vashisht
18a0e58530 openscanhub: add notification e-mail footer
Related: https://github.com/openscanhub/openscanhub/pull/251

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-15 15:25:28 +00:00
Siteshwar Vashisht
5be2b62fcb openscanhub: restore labels for fedora-osh-hub
... container.

This makes the view look better in the web ui.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-11 10:24:07 +00:00
Siteshwar Vashisht
7a65d7a8ef openscanhub: rename ocp repository
... to `fedora-osh-hub` to keep the names consistent with the container
names.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-10 22:01:18 +00:00
Siteshwar Vashisht
014e96cf36 openscanhub: use different container images
... in staging and production environments.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-10 13:44:58 +00:00
Siteshwar Vashisht
78b7c8512e openscanhub: use NFS volume for redis data
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-10 13:29:34 +02:00
Siteshwar Vashisht
cac47c1db7 openscanhub: remove openscanhub prefix from
... `/var/lib/osh` pvc used by `osh-hub`.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-09 16:28:51 +02:00
Siteshwar Vashisht
911b55cfbc openscanhub: fix more livenessProbe configs
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-09 13:02:58 +02:00
Siteshwar Vashisht
57543ea25d openscanhub: move livenessProbe under containers
... field.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-09 09:33:22 +02:00
Siteshwar Vashisht
e2321b9c23 openscanhub: add liveness probe for agent spawner
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-09 01:38:57 +00:00
Siteshwar Vashisht
52f51a1ad2 openscanhub: use OpenScanHub mailing list address
... in the notification e-mails.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-06 15:53:25 +02:00
Siteshwar Vashisht
7a7b85e0b8 openscanhub: add WSGIDaemonProcess and WSGIProcessGroup
... options. More specifically it fixes locale related
exceptions.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-06 15:04:47 +02:00
Siteshwar Vashisht
83c1d0fabd openscanhub: use bastion.fedoraproject.org SMTP
... server.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-05 15:33:21 +02:00
Siteshwar Vashisht
e4c077ce23 openscanhub: use NFS volume for storing task results
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-04 10:03:36 +00:00
Siteshwar Vashisht
c600e6fba4 openscanhub: clean up fedora-osh-hub route
... config.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 21:05:46 +00:00
Siteshwar Vashisht
877cead6d0 openscanhub: clean up resalloc-server service
... config.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 21:03:29 +00:00
Siteshwar Vashisht
c52e1e1249 openscanhub: clean up redis service config
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 21:01:49 +00:00
Siteshwar Vashisht
9f61b1ee72 openscanhub: cleanup fedora-osh-hub service
... config.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 20:58:42 +00:00
Siteshwar Vashisht
49780ab190 openscanhub: clean up resalloc-server route
... configs.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 20:57:20 +00:00
Siteshwar Vashisht
46eec863a3 openscanhub: clean up redis route config
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 20:55:31 +00:00
Siteshwar Vashisht
a271ca1c7b openscanhub: clean up resalloc-server deployment
... config.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 20:53:50 +00:00
Siteshwar Vashisht
78623f3d7b openscanhub: clean up redis deployment configs
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 20:51:40 +00:00
Siteshwar Vashisht
1ecd03bbac openscanhub: restore app and deployment labels
... in fedora-osh-hub deployment.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 13:38:24 +02:00
Siteshwar Vashisht
710ac67c6f openscanhub: restore template metadata label
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 13:17:32 +02:00
Siteshwar Vashisht
ec8f80baf3 Revert "openscanhub: remove selector from fedora-osh-hub"
This reverts commit f875443d8d.
2024-04-03 13:12:06 +02:00
Siteshwar Vashisht
f875443d8d openscanhub: remove selector from fedora-osh-hub
... deployment.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 12:57:32 +02:00
Siteshwar Vashisht
f5e2efe319 openscanhub: clean up fedora-osh-hub deployment
... configurations.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 12:51:31 +02:00
Siteshwar Vashisht
8682f36057 openscanhub: remove openscanhub prefix from hub
... configurations, as it looks unnecesaary.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 08:06:01 +00:00
Siteshwar Vashisht
c21c0aaae8 openscanhub: remove -6-c9s from redis
... configurations, as it looks unnecessary.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-03 08:00:55 +00:00
Siteshwar Vashisht
2274dadb07 openscanhub: use ServerName instead of ServerAlias
... in the httpd configurations.

The httpd container requires it to reliably determine server's fully
qualified domain name.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-04-02 01:02:46 +00:00
Siteshwar Vashisht
f0537397da openscanhub: increase number of workers to 128
... in staging.

This is done for load testing purpose and should be reverted to a lower
value in the future.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-26 16:57:46 +01:00
Siteshwar Vashisht
c868c197b2 openscanhub: add ssh user to settings
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-25 15:20:04 +00:00
Siteshwar Vashisht
d1ae47c8a9 openscanhub: fix pvc config for redis
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-25 12:18:43 +00:00
Siteshwar Vashisht
914de65fe9 openscanhub: add persistent storage for redis
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-25 10:09:12 +00:00
Siteshwar Vashisht
b148c77ff5 openscanhub: fix allowed hosts django setting
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-25 09:57:39 +00:00
Siteshwar Vashisht
b378e1bb4b openscanhub: fix configurations for production
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-25 09:56:20 +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
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
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
Siteshwar Vashisht
8326675ea2 openscanhub: use on demand tags with resalloc
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-13 17:52:36 +01:00
Siteshwar Vashisht
0d286d90b0 openscanhub: enable tags in resalloc pools
They are needed for opening a resalloc ticket.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-13 16:28:28 +00:00
Siteshwar Vashisht
2ca3bb74e0 openscanhub: add a comment about newlines in ssh keys
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-13 16:55:37 +01:00
Pavel Raiskup
08ea8f5ad1 openscanhub: try to fix key format, take #3 2024-03-13 16:45:49 +01:00
Pavel Raiskup
dd92dcd208 openscanhub: try to fix key format, take #2 2024-03-13 16:33:55 +01:00