Commit graph

52 commits

Author SHA1 Message Date
Lubomír Sedlář
5c2c077ba8 Set up logrotate for odcs-backend
The logrotate config file exists in the repository, but it doesn't get
installed. Let's fix it.
2023-05-19 08:06:27 +00:00
Kevin Fenzi
864636d23d odcs: do not always install the latest odcs versions
Currently the latest odcs version is broken, so we don't want to
upgrade to it everytime we run the playbook. Just make sure it's
installed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-15 07:30:43 -07:00
Jan Kaluza
f96df6a048 ODCS: Add compose_ci source to test possible compose-ci packages gating.
The idea is that we will start minimal compose for every new
Koji build for package which appears in the boot.iso and therefore
can break its generation.

These composes will be built using ODCS on releng backend for now.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-12-07 08:42:03 +01:00
Jan Kaluza
0e730e9f9c ODCS: Try to use service module instead of systemd module to fix disabled odcs-celery-backend. 2020-08-06 09:35:03 +02:00
Jan Kaluza
67c7186a2e ODCS: Move systemd daemon_reload to separate task to hopefully fix the disabled odcs-celery-backend service. 2020-08-06 09:30:52 +02:00
Stephen Smoogen
ca61cb76fa try to fix https://pagure.io/fedora-infrastructure/issue/9192 as
/srv/odcs is being set to 0770 every time the playbooks are run. This
patch changes it so that /srv/odcs is set up as 0775 and
/srv/odcs/private is set up as 0770. This should fix the problem for
future runs of the playbook.
2020-08-03 11:10:44 -04:00
Jan Kaluza
e220dc7015 ODCS: do not create 'private' directory yet without releng backend. 2020-06-11 17:05:01 +02:00
Jan Kaluza
48e9150f91 ODCS: revert tries to fix read-only filesystem. 2020-06-11 16:57:38 +02:00
Jan Kaluza
42e4df1f07 ODCS: become odcs-server when changing ODCS_TARGET_DIR permissions. 2020-06-11 06:27:46 +02:00
Jan Kaluza
c692ea6af2 ODCS_TARGET_DIR should be created on all VMs, not just frontend. 2020-06-11 06:19:37 +02:00
Jan Kaluza
ffc74cfdb6 Relax the /srv/odcs permissions from 0770 to 0775. 2020-06-11 06:11:12 +02:00
Jan Kaluza
a0a15e927f ODCS: Enable the mod_auth_openidc module on rhel8 2020-06-04 11:11:43 +02:00
Jan Kaluza
6d3a763549 ODCS: Install odcs-client on VMs. 2020-05-04 13:53:28 +02:00
Jan Kaluža
02f11348b9 ODCS: install packages needed to generate comps files. 2020-04-24 21:34:29 +02:00
Jan Kaluža
ba6f30ef0c ODCS: Create target_dir only on frontend, because the storage is shared. 2020-04-24 21:34:27 +02:00
Jan Kaluža
60b44b8fb3 ODCS: Create target_dir only on frontend, because the storage is shared. 2020-04-24 21:34:27 +02:00
Jan Kaluža
44f6bac47f ODCS: Execute Pungi cache ownership fix only on backend. 2020-04-24 21:34:27 +02:00
Jan Kaluža
09f4d2cb8f ODCS: Also fix Pungi cache ownership. 2020-04-24 21:34:27 +02:00
Jan Kaluža
c14ca86f6d ODCS: Also fix /var/run/odcs-backend ownership. 2020-04-24 21:34:27 +02:00
Jan Kaluža
d051992cdf ODCS: Fix owner of /var/log/odcs-backend. 2020-04-24 21:34:27 +02:00
Jan Kaluža
f3e081073d ODCS: Add search permissions for /srv/odcs, remove any permisions for 'others'. 2020-04-24 21:34:27 +02:00
Jan Kaluža
871cff021a ODCS: Do not change the owner/group recursively. 2020-04-24 21:34:27 +02:00
Jan Kaluža
14417c5f18 ODCS: use the same user/group on every machine. 2020-04-24 21:34:27 +02:00
Jan Kaluža
af92d2582a ODCS: Add extra compose target directory for private composes. 2020-04-24 21:34:26 +02:00
Jan Kaluža
81b0917b56 Install httpd for odcs. 2020-04-24 21:34:13 +02:00
Jan Kaluža
230521c0b9 Use apache user also for odcs private queue certs. 2020-04-24 21:34:13 +02:00
Jan Kaluža
6b3f115cb0 Use apache group for fedora-messaging certs. 2020-04-24 21:34:13 +02:00
Jan Kaluža
9e164313f3 Revert "Use apache group for fedora-messaging config"
This reverts commit 5f32d434e8c2251e2c0a71109059e3eefda8cfef.
2020-04-24 21:34:13 +02:00
Jan Kaluža
6b392d7b9a Use apache group for fedora-messaging config 2020-04-24 21:34:13 +02:00
Jan Kaluža
742031f6cc Remove extra '-' in the rabbitmq key. 2020-04-24 21:34:13 +02:00
Jan Kaluža
f0a24a152b Use fedora-messaging for ODCS. 2020-04-24 21:34:13 +02:00
Jan Kaluža
fe628668ba Run odcs-celery-beat on ODCS frontend. 2020-04-24 21:34:13 +02:00
Jan Kaluža
a72e70f698 Copy ODCS rabbitmq certs to /etc/odcs 2020-04-24 21:34:13 +02:00
Jan Kaluža
12021e4212 Create odcs_target_dir on backend. 2020-04-24 21:34:13 +02:00
Jan Kaluža
3268ec213a Do not try restarting odcs-celery-backend on frontend 2020-04-24 21:34:13 +02:00
Jan Kaluža
d59ffafdf7 Install latest odcs package. 2020-04-24 21:34:13 +02:00
Jan Kaluža
30c6417c3b ODCS: Install python3-celery. 2020-04-24 21:34:13 +02:00
Jan Kaluža
ab29128b01 Fix path to tmpfiles.d config 2020-04-24 21:34:13 +02:00
Jan Kaluža
9b64e5d86a Use 'template' for odcs-celery-backend.service.j2 2020-04-24 21:34:13 +02:00
Jan Kaluža
fa7ab62c96 First try to update ODCS to latest version in staging.
ODCS in Fedora infra is quite outdated. This commit changes ODCS
configuration files and playbook to match the latest uptream release.
2020-04-24 21:34:13 +02:00
Jan Kaluža
d620cbe8a4 ODCS: Restart fedmsg-hub-3 backends 2018-08-30 13:44:08 +00:00
Jan Kaluža
3d6a75c53d Install python3 versions of dependencies in ODCS base role. 2018-08-30 13:02:59 +00:00
Ralph Bean
95619df9b1 libmodulemd and pdc-client needed for pungi. 2018-06-21 14:49:05 +00:00
Ralph Bean
367cfc4f0f ODCS: ensure /etc/fedmsg.d/odcs.py is absent. 2018-06-21 12:42:02 +00:00
Ralph Bean
1f269385f0 ODCS: adjust file ownership. 2018-06-21 12:20:44 +00:00
Ralph Bean
d6dd7dedb0 odcs-backend runs in fedmsg-hub now. 2018-06-21 12:02:09 +00:00
Jan Kaluža
d0ef82673f Add ODCS raw_config_wrapper and runroot_koji configs as ansible templates 2018-01-18 07:03:01 +00:00
Jan Kaluža
254d35c042 Move ODCS pungi.conf from 'templates' to 'files', so it can be copied without replacing the jinja2 vars. 2017-12-11 09:03:03 +00:00
Jan Kaluža
64856d2aea Add ODCS pungi.conf to base ODCS role. 2017-12-11 08:48:28 +00:00
Ralph Bean
c4f04482d1 yum/dnf agnostic package commands for odcs. 2017-09-27 18:28:27 +00:00