Commit Graph

2254 Commits

Author SHA1 Message Date
Pavel Raiskup
0ada9a2fb3 copr-backend: declare our text files are utf-8
Fixes: https://github.com/fedora-copr/copr/issues/3077
2025-06-20 10:34:00 +02:00
Jiri Kyjovsky
032d277d75 copr: fix names of deployed jinja templates 2025-06-09 17:37:57 +02:00
Jiri Kyjovsky
88ab5981b7 copr: configure ppowerful p09 osuosl builders 2025-06-09 16:48:31 +02:00
Miroslav Suchý
b97096743e bump up number of reserved instances 2025-06-03 16:11:35 +02:00
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
Jakub Kadlcik
fdfb14225b copr-be-dev: bootc images for everything except for AWS 2025-05-22 18:16:05 +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
Jakub Kadlcik
4d8ffba442 copr-be: use larger root volume size because of bootc images
They are larger than 6GB so it fails that we cannot make them smaller.
2025-05-15 17:57:10 +02:00
Jakub Kadlcik
33c58321c5 copr-be: explicitly specify DNF5 package manager
This should have no effect on our standard builders but it is required by our
experimental bootc builders to work properly.
2025-05-15 17:57:10 +02:00
Jiri Kyjovsky
aacfa2b00e copr: add powerful builders for centoshyperscale/asahi/kernel 2025-05-09 11:51:17 +02:00
Miroslav Suchý
941ab06fcf bump up number of reserved instances 2025-05-05 15:08:40 +02:00
Jiri Kyjovsky
43af78b3c3 copr/hv09: hv09 was upgraded to fedora 40 2025-05-05 12:37:11 +02:00
Jiri Kyjovsky
a2b97ff58d copr: fix bad indentation 2025-05-05 11:53:26 +02:00
Jiri Kyjovsky
0ba318e767 copr/hv add existing cron tag to cron related hv tasks 2025-05-05 11:35:50 +02:00
Jiri Kyjovsky
2dc4a6b5c0 copr/hv: delete logs older than 30 days
We have old RHEL 8 on hypervisors where is old version of virtlogd, not
having the max_age log rotation feature, thus doing this manually.
2025-05-05 11:27:53 +02:00
Jiri Kyjovsky
69237d1349 copr/pulp: remove pulp playbooks
Pulp folks gave us their instance, we don't have to maintaint our own
anymore.
2025-05-05 10:56:24 +02:00
Pavel Raiskup
21ff721f5a Revert "copr-builders: override fedora rawhide ppc64le mock config"
This reverts commit fec5b5beb3.  No longer
needed as up2date openssl-libs are already in the default fedora:rawhide
image.
2025-04-29 12:53:09 +02:00
Jiri Kyjovsky
e07d13ee4e copr: virtlogd rotate logs for hypervisors
Configure virtlogd to rotate logs older than 30 days. The default config
does not delete anything since we log to a lot of small files which are
ignored by the max size to rotate in default virtlogd config.
2025-04-28 18:10:12 +02:00
Pavel Raiskup
fec5b5beb3 copr-builders: override fedora rawhide ppc64le mock config
This is a work-around for:
https://github.com/fedora-copr/copr/issues/3693
2025-04-16 12:59:30 +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
Miroslav Suchý
26666dbf8f bump up number of reserved instances 2025-04-03 10:19:06 +02:00
Jakub Kadlcik
6d9ff9b5f2 backend: add trailing slash if needed
Otherwise we can redirect to something like this:

https://console.redhat.com/api/pulp-content/public-copr-stage@copr/TEST1742912352410340284-storage-pulp/fedora-41-x86_64/
2025-03-25 19:44:25 +01:00
Jakub Kadlcik
a6b86224fb copr: rename STG pulp domain 2025-03-25 15:01:07 +01:00
Jakub Kadlcik
22b6e9e2fe copr-be: use production pulp instance but stg domain 2025-03-25 14:09:11 +01:00
Jakub Kadlcik
0fac971004 copr-be: start using Pulp certs also for STG
We still need to fix the base_url
2025-03-25 10:42:27 +01:00
Jakub Kadlcik
661ddacb55 copr-be: install pulp certificates also on STG 2025-03-25 10:17:23 +01:00
Miroslav Suchý
c381c5a773 max concurent starting of ARM builders to 20 2025-03-03 09:44:19 +01:00
Miroslav Suchý
75df00270e bump numbers of reserved builders 2025-03-03 09:42:05 +01: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
ee05a46013 copr-be: don't redirect files in the srpm-builds directory
And generally have an easy control on chroot level

See https://github.com/fedora-copr/copr/issues/3504
2025-02-05 09:32:40 +00:00
Michal Konecny
7b58dfdce8 Remove fedmsg and github2fedmsg from staging
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.

I will create a separate one for production after this one is merged.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-04 09:13:40 +01:00
Miroslav Suchý
d8369913cb copr: bump up numbers of reserved instances 2025-02-03 08:33:53 +01:00
Jakub Kadlcik
cab31f142c copr-be: another attempt to create the file 2025-01-30 15:12:35 +01:00
Jakub Kadlcik
022ef5ddb6 copr-be: state=file doesn't create the file 2025-01-30 15:04:32 +01: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
Pavel Raiskup
93504347bf copr-be: fix playbook
Complements: 5bdfe4b1e5
2025-01-30 09:22:20 +01:00
Pavel Raiskup
74916e7839 backend: fix the hanged system (workers not allocating)
Reverts part of 62952df107
2025-01-30 09:17:26 +01: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
Kevin Fenzi
9876752df2 Fix renamed handler for restart nrpe
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-24 14:01:45 -08:00
Jakub Kadlcik
cbc6a537b1 copr-dist-git improve comment 2025-01-22 17:33:51 +01:00
Jakub Kadlcik
c06de2f370 copr-dist-git: add custom httpd message for disabled cgit
Fix https://github.com/fedora-copr/copr/issues/3595
2025-01-22 17:23:52 +01:00
Ryan Lerch
98c457adeb Comment out install_cloud_cert.yml
This file appears to not be used anymore, and contained linting issues.
So just commenting out the whole file for now and leaving a note.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-21 09:37:36 +10:00