Commit Graph

1424 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
Jakub Kadlcik
fdfb14225b copr-be-dev: bootc images for everything except for AWS 2025-05-22 18:16:05 +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
Miroslav Suchý
941ab06fcf bump up number of reserved instances 2025-05-05 15:08:40 +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
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
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
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
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
Pavel Raiskup
b21ba1a873 copr-be: better document pools.yaml.expand.sh 2025-01-20 14:43:05 +01:00
Jiri Kyjovsky
5f10a45efb copr: add missing increased volume for normal_powerful pools 2025-01-20 14:29:45 +01:00
Pavel Raiskup
677203d962 copr-be: pools.yml has been removed to yml.j2
Complements: 5bdfe4b1e5
2025-01-20 14:29:45 +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
Ryan Lerch
5bdfe4b1e5 copr and ipsilon - rename yml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 08:37:33 +10:00
Jakub Kadlcik
97a1c84eff copr-be: explain spot, powerful, and reserved builders 2025-01-13 13:24:38 +01:00
Jakub Kadlcik
5f7e08ecb8 copr-be: fix power9 pool description 2025-01-13 11:53:58 +01:00
Pavel Raiskup
6ac847220e copr-be: typo in pool description 2025-01-13 11:42:09 +01:00
Jakub Kadlcik
e7458add05 copr-be: more adjectives for the AWS builders 2025-01-13 11:37:17 +01:00
Jakub Kadlcik
3f739e1c28 copr-be: fix some pool descriptions 2025-01-13 11:29:20 +01:00
Pavel Raiskup
cdeddcd106 copr-be: drop unused Resalloc pools
- copr_ic_s390x_us_east_dev
- copr_ic_s390x_br_sao_dev
- copr_ic_s390x_madrid_dev

- copr_ic_s390x_us_east_prod
- copr_ic_s390x_br_sao_prod
- copr_ic_s390x_madrid_prod
2025-01-13 07:58:47 +01:00
Pavel Raiskup
cf93471401 copr-be: uhhh, spawner wrapper must fail when allocation fails 2025-01-11 21:37:57 +01:00
Pavel Raiskup
6b9547b3f0 copr-be: vm-delete + vm-release - fix for yaml data 2025-01-11 21:16:30 +01:00
Pavel Raiskup
b4deaaed17 copr-be: yq is needed by /usr/local/bin/resalloc-check-vm-ip 2025-01-11 21:06:21 +01:00
Pavel Raiskup
823124c12e copr-be: keep IP checker compatible with plain IP in base64 data 2025-01-11 20:00:22 +01:00
Pavel Raiskup
f0549afb96 copr-be: custom resalloc ip checker script 2025-01-11 19:43:55 +01:00