Commit Graph

259 Commits

Author SHA1 Message Date
Miroslav Suchý
12f68c6352 copr: enable high-performance builders for solopasha/qt6-test/qt6-qtwebengine
See https://github.com/fedora-copr/copr/issues/3353
2024-08-01 19:05:32 +02:00
Pavel Raiskup
7af16136db copr: typo in "powerful" builder allocation pattern 2024-07-18 10:19:37 +02:00
Pavel Raiskup
b12bc06e9e copr: powerful builders for secureblue/hardened-chromium
Fixes: https://github.com/fedora-copr/copr/issues/3331
2024-07-17 08:54:44 +02:00
Pavel Raiskup
824aa681fc copr: enable powerful builders for @ttomecek's review project 2024-05-31 13:50:40 +02:00
Pavel Raiskup
c1d6f853bf copr-fe: request powerful builders for jordalgo/fedora-6.8-sched_ext 2024-04-10 16:12:37 +02:00
Miroslav Suchý
7fc71b11ab copr: add configuration for grouping statistics 2024-04-02 10:35:49 +02:00
Miroslav Suchý
fe8b6dca4f copr: cleanup copr.conf 2024-04-02 10:29:14 +02:00
Pavel Raiskup
8d16e27c05 copr-frontend: turn the log-detective.com button ON 2024-03-07 12:54:58 +01:00
Pavel Raiskup
643cee29c1 copr: allow us to test s390x powerful builder
Relates: https://github.com/fedora-copr/copr/issues/3086
2024-01-10 16:12:55 +01:00
Pavel Raiskup
8abbdbaea5 sopr: credential cleanup: drop an unused task file 2023-11-10 13:45:17 +01:00
Konrad Kleine
ab878dd91d copr-be: fix project regex for LLVM Snapshots high-performance builders
LLVM Snapshots are built fresh in daily new incubator projects such as `@fedora-llvm-team/llvm-snapshots-incubator-20231107` and the regex wouldn't match them before.

Now the regex works good with grep in the following scenarios:

```
$ echo "@fedora-llvm-team/llvm-snapshots/fedora-rawhide-x86_64/llvm" | grep -ioP '@fedora-llvm-team/llvm-snapshots[^/]*/.*x86_64/(llvm|clang)'
$ echo "@fedora-llvm-team/llvm-snapshots-incubator-20231107/fedora-rawhide-x86_64/llvm" | grep -ioP '@fedora-llvm-team/llvm-snapshots[^/]*/.*x86_64/(llvm|clang)'
```
2023-11-07 21:38:35 +00:00
Pavel Raiskup
eb7fe4b5ba copr-be: use powerful builders for 3 projects
Per requests:
https://github.com/fedora-copr/copr/issues/2985
https://github.com/fedora-copr/copr/issues/2986
https://github.com/fedora-copr/copr/issues/2987
2023-11-06 15:08:19 +01:00
Pavel Raiskup
b1d0d6c626 copr-be: enable high-performance builders in prod 2023-10-23 22:05:00 +02:00
Pavel Raiskup
4d6f2e9cc4 copr-fe-dev: simplify testing on demand instances
The pattern matching allows me to do tests in projects like:
$ copr-dev create measure-aws-powerful-c7i.8xlarge --chroot fedora-rawhide-x86_64

But the instance type needs to be selected manually in pools.yaml.
2023-10-23 09:46:28 +02:00
Pavel Raiskup
424a9259fc copr-be-dev: more granular extra builder
This will help with measurements, e.g. for the issue:
https://github.com/fedora-copr/copr/issues/2241
2023-10-16 09:29:53 +02:00
Pavel Raiskup
9204908652 copr-fe-dev: fix mistake in jinja 'devel' condition 2023-10-12 15:30:05 +02:00
Pavel Raiskup
2448fc14d9 copr-be-dev: allocate powerful EC2 machines in @copr/powerful-test 2023-10-09 15:21:43 +02:00
Pavel Raiskup
48aa4e43bc copr-frontend: better "ps aux" output
It allows us to easily filter out all httpd processes in 'ps' or in
htop.
2023-09-18 14:03:46 +02:00
Jakub Kadlcik
4f509ac48b copr-frontend: generate usage treemap every week 2023-05-30 02:25:54 +02:00
Jakub Kadlcik
accdf12cec copr-frontend: add resalloc_url 2023-05-25 12:38:23 +02:00
Jakub Kadlcik
c6c7647c6b copr-frontend: add alias for showing the usage treemap 2023-05-21 23:34:33 +02:00
Pavel Raiskup
3e7c3bcebf copr: increase build timeout to 50h
It appears it could help with the current chromium builds.
2023-05-10 20:01:04 +02:00
Pavel Raiskup
af2507f1bf copr-fe: nagios -> prometheus: WARNING state == 50% 2023-02-10 15:22:40 +01:00
Pavel Raiskup
001f60b8bd copr-fe: prometheus: get the data from nagios more frequently
But do not fail immediately if we can not get the results from Nagios.
2023-02-10 14:58:44 +01:00
Pavel Raiskup
6d82fba602 copr-fe: more obvious script name than just "monitoring.py"
The cron job doesn't need to "mv" stuff here and there, the script
itself now directly writes to the right file.
2023-02-10 14:46:10 +01:00
Pavel Raiskup
cacaec9c8e copr-fe: prometheus monitoring to gather the actual state
Not the "historical" info which is calculated into the percentage
of time service spent in UP state.
2023-02-10 14:44:58 +01:00
Pavel Raiskup
39070dc595 copr-fe: catch exceptions while checking uptime robot 2023-02-10 14:44:58 +01:00
Pavel Raiskup
bf8d23bbfd copr-fe: re-enable automatic PyPI rebuilds
Relates: https://github.com/fedora-copr/copr/issues/2289
2023-01-03 13:19:52 +01:00
Jakub Kadlcik
016572ad54 copr: prefer IPv4 on copr-fe because of timeouting OpenID login
See https://github.com/fedora-copr/copr/issues/2418#issuecomment-1341394581
2022-12-09 04:14:41 +01:00
Pavel Raiskup
31ff414ca8 copr-fe-dev: assure there's no "zero" in threads 2022-11-24 18:43:29 +01:00
Pavel Raiskup
f7b3da54b0 copr-fe: typo in dev vs. prod 2022-11-24 18:35:55 +01:00
Pavel Raiskup
206f4bf79f copr-fe-dev: Decrease the number of wsgi processes/threads 2022-11-24 18:29:05 +01:00
Pavel Raiskup
0167e118c7 copr-fe: align the wsgi statements 2022-11-24 18:16:45 +01:00
Pavel Raiskup
dc860c9e9d copr-fe: flag the keytab/service call with krb5 tag 2022-11-23 15:06:17 +01:00
Pavel Raiskup
a1b7c1102a copr/base, copr-fe: don't restart prometheus exporter all the time 2022-11-23 12:17:34 +01:00
Jakub Kadlcik
dfeb77a361 copr: configure postgres before the 'apply the config comments' task 2022-11-19 15:03:14 +01:00
Jiri Kyjovsky
f3da725a8a copr-fe: add link to stg FAS when copr doesnt run in production 2022-08-25 12:32:17 +02:00
Pavel Raiskup
b76f37feed copr: frontend: upload limit to 10G
Complements: 71e17f61f8
2022-08-18 16:39:14 +02:00
Pavel Raiskup
71e17f61f8 copr-fe: LimitRequestBody 0 for "upload" routes
After one of the recent httpd updates, it started applying the 1GB
upload limit.

https://pagure.io/copr/copr/issue/2271
https://pagure.io/copr/copr/issue/2268
https://pagure.io/copr/copr/issue/2249
2022-08-15 10:13:06 +02:00
Pavel Raiskup
adc7eb4f95 copr-frontend: fix the epel-{89} comment 2022-06-10 08:41:03 +02:00
Pavel Raiskup
a818ccb3cf copr-frontend: automatically apply the chroot comment changes 2022-06-10 08:21:16 +02:00
Pavel Raiskup
a67723b492 copr-fe: automatically comment chroots from config 2022-06-10 08:10:22 +02:00
Pavel Raiskup
9aa7120fee frontend: double the connection limit on PostgreSQL server
This needs better debugging, but our connection pooling is probably
pretty complicated (each WSGI daemon process can have 15 connections to
DB, 5+10 overflow).  And we have _many_ processes nowadays, while the
default connection limit is 100 in PostgreSQL.
2022-05-30 14:39:01 +02:00
Silvie Chlupova
7a88ef0429 copr: restart node_exporter just in case the service file changed 2022-05-04 13:03:35 +02:00
Silvie Chlupova
b951f4ec82 copr: change node_exporter settings according to changes in golang-github-prometheus-node-exporter 2022-04-27 14:47:47 +02:00
Silvie Chlupova
39f7b6ceeb copr: monitor error budget for last 7 days 2022-04-11 13:52:09 +02:00
Silvie Chlupova
a2bce7aa66 copr: don't set time in nagios url, set timeperiod to last 31 days 2022-04-06 10:06:17 +02:00
Pavel Raiskup
6aea09b177 copr-fe: fix the gssapi auth route
Relates: https://pagure.io/copr/copr/pull-request/2151
2022-03-31 12:48:56 +02:00
Silvie Chlupova
01502e94cf copr: enable usage of gssapi on copr stg 2022-03-28 11:43:52 +02:00
Pavel Raiskup
db3df8f747 copr-fe: consume the messages as non-root user
And consolidate the two service drop-in config files.

Fixes: https://pagure.io/copr/copr/issue/2036
2022-03-28 10:39:38 +02:00