Commit Graph

151 Commits

Author SHA1 Message Date
Mikolaj Izdebski
c5735680db Koschei: further increase frontend memory 2024-06-05 16:53:35 +02:00
Mikolaj Izdebski
12431be233 Koschei: adjust resource limits 2024-06-05 16:46:47 +02:00
Mikolaj Izdebski
f8d1ff9f1d Koschei: scale frontend to 3 replicas 2024-06-05 11:36:39 +02:00
Mikolaj Izdebski
e19dbf6749 Koschei: Increase memory and CPU for frontend 2024-06-05 11:33:36 +02:00
Mikolaj Izdebski
fb00cb3f8c Koschei: Enable use of X-Forwarded-* headers for mod_auth_openidc 2024-06-05 08:30:38 +02:00
Mikolaj Izdebski
4d1cc6f752 Koschei: set labelSelector for topology spread constraints 2024-06-05 08:24:12 +02:00
Mikolaj Izdebski
133a15bf21 Koschei: try to spread frontend pods across different nodes 2024-06-04 18:58:57 +02:00
Mikolaj Izdebski
73486f6350 Koschei: fix frontend deployment strategy 2024-06-04 17:59:56 +02:00
Mikolaj Izdebski
99a62cc06e Koschei: Migrate from OpenShift DeploymentConfig to Kubernetes Deployment 2024-06-04 17:33:24 +02:00
Mikolaj Izdebski
30b65d2ebe Koschei: Enable watchdog for Copr-related backend services 2024-06-04 16:38:24 +02:00
Mikolaj Izdebski
ec0f99d080 Koschei: increase copr-scheduler memory and CPU 2024-06-04 16:37:28 +02:00
Mikolaj Izdebski
9bc3325b91 Koschei: don't hardcode koschei_copr_username in config template 2024-06-04 14:44:13 +02:00
Mikolaj Izdebski
251453756d Koschei: Enable copr-scheduler service in staging 2024-06-04 14:39:50 +02:00
Mikolaj Izdebski
a133ac6c19 Koschei: increase copr-resolver CPU 2024-06-04 14:33:28 +02:00
Mikolaj Izdebski
ae48e47dcb Koschei: disable Copr resolver exclusions 2024-06-04 14:23:51 +02:00
Mikolaj Izdebski
956f08ff09 Koschei: use prod Copr for Koschei stg 2024-06-04 13:35:55 +02:00
Mikolaj Izdebski
e65be095bb Koschei: update staging Copr username
Use a temporary username until koschei user is created in Copr.
2024-05-31 07:40:56 +02:00
Mikolaj Izdebski
74e0028641 Koschei: Try to enable Copr plugin in staging 2024-05-31 07:24:08 +02:00
Kevin Fenzi
a3996e0553 koschei: allow frontend pods more memory limits
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-12-07 12:16:40 -08:00
Kevin Fenzi
e94e7019ee koschei: allow frontend pods more memory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-12-07 12:06:46 -08:00
Mikolaj Izdebski
9688baed8d Koschei: sync staging memory limits with prod 2023-06-28 13:49:42 +02:00
Mikolaj Izdebski
c65a27997c Koschei: track all packages in staging 2023-06-28 13:38:33 +02:00
Mikolaj Izdebski
7b03bf0ffe koschei: run jobs with admin DB credentials 2023-06-28 13:14:22 +02:00
Kevin Fenzi
50d89a03ef koschei: fix CRDs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-18 21:42:31 -08:00
Kevin Fenzi
644e9dd472 koschei: increase memory for frontend pod to avoid OOM
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-18 21:37:42 -08:00
Kevin Fenzi
1551d42f45 openshift: next CRD
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:54:08 -08:00
Mikolaj Izdebski
782ab17284 Koschei: Fix cronjob to refresh python-sig group 2023-02-13 12:22:26 +01:00
Mikolaj Izdebski
8593bea6ae Koschei: remove rewind-unapplied-changes cronjob
This job was not functional as it needs to be ran as db admin (due to
its use of ALTER DDL command), but was ran as ordinary db user.
2023-02-13 09:17:26 +01:00
Mikolaj Izdebski
cbfa7d32e2 Koschei: fix mixed staging/prod db passwords 2023-02-13 08:58:12 +01:00
Mikolaj Izdebski
6534980cdc Koschei: increase memory limits for polling 2023-02-01 17:47:24 +01:00
Mikolaj Izdebski
db9dbe75f2 koschei: clean unapplied changes more often 2023-01-27 20:17:36 +01:00
Kevin Fenzi
cf18a198f5 koschei: split stg and prod credentials
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-19 15:12:10 -07:00
Mikolaj Izdebski
d66d362cb0 Koschei: Enable builds on aarch64
This reverts commit bf7a36b2cb.
2022-08-22 10:46:00 +02:00
Mikolaj Izdebski
bf7a36b2cb Koschei: disable builds on aarch64 for now
aarch64 builders have signifficantly lower capacity that other arches.
They are usually loaded with tasks, while ppc64le and x86_64 ones are
mostly free.  This slows down Koschei as it does not submit scratch
builds until load on aarch64 drops below 75 %.

The following table illustrates capacity of Koji builders in default
channel as of August 17, 2022:

    ┌─────────┬──────────┬──────────┐
    │    arch │ builders │ capacity │
    ├─────────┼──────────┼──────────┤
    │  x86_64 │       46 │      152 │
    │  armhfp │       28 │       56 │
    │ aarch64 │       34 │       68 │
    │   ppc64 │       37 │      148 │
    │ ppc64le │       37 │      148 │
    │   s390x │       27 │       67 │
    └─────────┴──────────┴──────────┘
2022-08-17 17:55:41 +02:00
Mikolaj Izdebski
c2c063d22f Koschei: Add workaround for database issue
UnappliedChange database table can run out of IDs under normal
operation.  Once this happens, there is backend outage that requires
manual admin intervention.

See: https://github.com/fedora-infra/koschei/issues/234
2022-08-17 07:22:42 +02:00
Mikolaj Izdebski
80842c9d28 koschei: Cleanup vars files 2022-06-28 07:22:43 +02:00
Mikolaj Izdebski
8a586defbc koschei: move to ocp4 2022-06-24 06:50:07 +02:00
Mikolaj Izdebski
264b8604e9 Koschei: Update link for Packages app
See https://github.com/fedora-infra/koschei/pull/344
2022-04-28 06:50:35 +02:00
Silvie Chlupova
e1bd5ad45d copr: change copr-fe-dev.cloud.fedoraproject.org to copr.stg.fedoraproject.org 2022-02-10 16:13:58 +01:00
Silvie Chlupova
2eab0c9987 copr: change copr-fe-dev.cloud.fedoraproject.org to copr.stg.fedorainfracloud.org
Also change copr-fe-dev.aws.fedoraproject.org to
copr.stg.fedoraproject.org. It is needed because of setup in kerberos
config files placed in the fedora-packager-kerberos which takes
stg.fedoraproject.org as staging instance, not aws.fedoraproject.org
2022-02-10 14:49:56 +01:00
Mikolaj Izdebski
355d0ae743 Koschei: more aggressive DB cleanup in staging 2021-12-17 12:34:46 +01:00
Mikolaj Izdebski
045215ec81 Koschei: make admin DB password available to admin Pod 2021-11-20 19:48:29 +01:00
Mikolaj Izdebski
88a58c50ff Koschei: Optimize SQL queries to mark packgaes as tracked 2021-11-20 01:48:32 +01:00
Mikolaj Izdebski
4512d3dc8f Koschei: track churchyard packages (#9543) 2021-11-20 01:22:19 +01:00
Mikolaj Izdebski
bffe537997 Koschei: Run cronjobs on latest image from docker-registry 2021-11-20 00:55:17 +01:00
Mikolaj Izdebski
aba7ce6e63 Koschei: Remove jobs for tracking stewardship-sig packages 2021-11-20 00:05:58 +01:00
Mikolaj Izdebski
5472a2068b Koschei: enable cron jobs 2021-11-19 23:50:15 +01:00
Ankur Sinha (Ankur Sinha Gmail)
72976aa539 feat: re-enable tracking of all neuro-sig packages
Automatically addition of packages is still a WIP. We're adding packages
manually but in the meantime we can at least mark them all as tracking
automatically.

References:

- https://pagure.io/fedora-infrastructure/issue/9664
- https://github.com/fedora-infra/koschei/pull/339
2021-09-09 22:53:59 +00:00
Mikolaj Izdebski
222265da05 koschei: Disable tracking of neuro-sig group (#9664) 2021-04-26 15:22:11 +02:00
Mikolaj Izdebski
b3261e9743 koschei: remove fedmenu 2021-03-05 11:05:02 +01:00