Commit Graph

290 Commits

Author SHA1 Message Date
Jiri Kyjovsky
452211d127 copr: add fedmsg certs from files instead of url
In the get_url we hit https://github.com/ansible/ansible/pull/80751,
since the ansible version is not 2.16 (it's 2.14), thus manually adding
the certificates instead of getting them from url.
2025-05-24 16:37:39 +02:00
Jiri Kyjovsky
5f9c57b867 copr: permanently add frdmsg certs to copr-fe 2025-05-24 16:21:35 +02:00
Pavel Raiskup
bcb01c42d6 copr: fix whitespace error 2025-05-20 07:33:24 +02:00
Pavel Raiskup
a97a4cc616 copr: powerful builders for nodejs-electron project 2025-05-19 19:01:20 +02:00
Jiri Kyjovsky
aacfa2b00e copr: add powerful builders for centoshyperscale/asahi/kernel 2025-05-09 11:51:17 +02:00
Pavel Raiskup
9d6f7c0f6f copr-fe: tag the pagure-events config task 2025-04-11 10:32:23 +02:00
Pavel Raiskup
9dff1d373e copr-fe: log date-time in the pagure-events.log 2025-04-11 10:30:25 +02:00
Jakub Kadlcik
60f990bdb7 copr-fe: use mod_wsgi role
Fix https://github.com/fedora-copr/copr/issues/3623
2025-02-27 10:48:12 +01:00
Jakub Kadlcik
b168e806d8 copr-fe-dev: use mod_wsgi role 2025-02-26 10:58:51 +01:00
Jiri Kyjovsky
bb9dd04964 frontend: provide stg url for oidc metadata 2025-02-24 11:18:47 +01:00
Jiri Kyjovsky
da9a451e34 copr: feed oidc env variables to frontend 2025-02-24 00:48:29 +01:00
Jakub Kadlcik
e4e9f1ca3c copr-fe: use lower shared_buffers value on STG
The instance has only 4G of RAM so PostgreSQL fails to start with:

    FATAL: could not map anonymous shared memory: Cannot allocate memory
2025-02-14 12:28:47 +01:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Jakub Kadlcik
b7be52dd87 copr-be: conditionally redirect backend URLs to Pulp
See https://github.com/fedora-copr/copr/issues/3504
2025-01-30 13:53:40 +00:00
Miroslav Suchý
bd850792c8 enable powerful builders for wojnilowicz/ungoogled-chromium
https://github.com/fedora-copr/copr/issues/3603
2025-01-28 13:19:09 +01:00
Pavel Raiskup
fda55f0dd9 copr-fe: fix the high-performance pattern for @secureblue
https://github.com/fedora-copr/copr/issues/3331
2025-01-15 12:52:05 +01:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Pavel Raiskup
497674fa44 copr-be: update @secureblue's pattern for powerful workers
https://github.com/fedora-copr/copr/issues/3331
2025-01-13 11:20:42 +01:00
Jiri Kyjovsky
aa1e8f0ca4 copr: performance builders for kernel-vanilla group 2024-12-09 11:54:05 +01:00
Pavel Raiskup
eb1c888537 copr-frontend: give postgres 25% RAM for shared_buffers 2024-12-04 16:21:00 +01:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Jiri Kyjovsky
21fd4a7ca6 copr: deny trust admins fas group
Someone from that group created "trolling" copr group copr-gonzo, so we
denied this group. If someone will complain, redirect them to this
commit message.
2024-11-11 14:45:29 +00:00
Jakub Kadlcik
08197f6d29 copr-frontend: configure powerful builder for @spot/texlive-2024-testing
See https://github.com/fedora-copr/copr/issues/3267
2024-11-01 14:56:31 +01:00
Jakub Kadlcik
b69ee7da43 copr-frontend: configure Pulp content URL 2024-10-29 19:46:34 +01:00
Pavel Raiskup
df5e217a69 copr: powerful builders for @rocm-packagers-sig 2024-08-19 07:41:12 +02:00
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