Commit Graph

116 Commits

Author SHA1 Message Date
Kevin Fenzi
c84b99223c osbs: raise a glass for it's service
This removes osbs and allmost all it's associated playbooks and files.

It served long and well, but we no longer need it.
flatpaks are building with a koji-flatpak plugin.
base/minimal/toolbox containers are building with kiwi.
We aren't building any other containers right now, and we did they could
be added to kiwi.

This is the end of an era... I look with nostolga on
ansible-ansible-openshift-ansible (a role to setup ansible on a control
host and run it from our ansible).

Good bye osbs!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-28 12:52:07 -07:00
Michal Konečný
fca44a415d [ODCS] Fix the syntax
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-05-19 10:16:06 +02:00
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
Lubomír Sedlář
e453ce1649 Add expected number of odcs backends
This value is mostly ignored by the application. It is included in the
Prometheus metrics to simplify calculation availability.

The default is set to 0. The number of hosts in the odcs_backend group
is used for the alternative definition in inventory.
2022-06-14 16:06:43 +02: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
e720bfc73c ODCS: Add support for scratch_modules to pungi.conf.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-12 07:18:09 +02:00
Mohan Boddu
f43591147d Changing the odcs arches armv7hl to armhfp and i686 to i386
This helps in solving the openh264 mirroring and follow other fedora
composes

MM doesn't understand armv7hl and i686, we need to manually change them
everwhere without this fix

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-10-02 18:22:52 +00: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
Stephen Smoogen
32065164b8 fix phx2 hardwire with iad2 hardwire 2020-06-10 10:06:07 -04:00
Jan Kaluza
a0a15e927f ODCS: Enable the mod_auth_openidc module on rhel8 2020-06-04 11:11:43 +02:00
Jan Kaluza
442c3b3b8b ODCS: Use symlinks insted of hardlink-or-copy for raw_config composes. 2020-05-11 07:10:02 +02:00
Jan Kaluza
8ccd6841fd ODCS: Remove outdated raw_config.conf options. 2020-05-05 18:36:35 +02:00
Jan Kaluza
6d3a763549 ODCS: Install odcs-client on VMs. 2020-05-04 13:53:28 +02:00
Jan Kaluža
be4a8f684f ODCS: use --no-latest-link and do not use --nightly.
The `--nightly` option is added automatically in recent ODCS release.
We also do not want to generate latest symlinks anymore with recent
ODCS release.
2020-04-30 05:18:33 +00: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
ee9b3796d0 ODCS: Configure routing of prod composes so releng compose are handled by releng backend. 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
d7799c576a ODCS: Grant admin rights to pungi-devel group. 2020-04-24 21:34:26 +02:00
Jan Kaluža
a9bf7d0c02 ODCS: Set default pungi_timeout. 2020-04-24 21:34:26 +02:00
Jan Kaluža
08cfa9d307 Allow pungi-devel group to do 'tag' odcs composes. 2020-04-24 21:34:25 +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
ae6ce0d40b Use correct ODCS username for fedora-messaging. 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
85852c96cf Move fedora-messaging.toml.j2 to right location 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
Mikolaj Izdebski
f4ebcc677a ODCS: Use dedicated sysadmin-odcs group 2020-04-24 21:34:13 +02:00
Jan Kaluža
1c210abdd3 Use double slash for hostname in broker_url. 2020-04-24 21:34:13 +02:00
Jan Kaluža
3b8b978515 Set broker_login_method to EXTERNAL. 2020-04-24 21:34:13 +02:00