Commit Graph

1439 Commits

Author SHA1 Message Date
Pavel Raiskup
8e74de5f80 copr: powerful osuosl machines can build arch_power9 builds
Per Resalloc ERROR:
ERROR 2025-07-29 07:46:12,024 PID:903186:140127796283200(Manager)
Couldn't find appropriate on demand pool for ticket=4209285, it will
never be resolved!
2025-07-29 09:54:50 +02:00
Pavel Raiskup
1a079c61d2 copr: delete _all_ OSUOSL machines
Relates: https://github.com/fedora-copr/copr/issues/3092
2025-07-29 08:07:17 +02:00
Pavel Raiskup
17122b9409 copr: re-uploaded aarch64 image
With the correct --arch aarch64 metadata.
2025-07-28 19:22:53 +02:00
Pavel Raiskup
53638672c7 copr: upload-qcow2-images-be.j2: select ami architecture explicitly
Otherwise it goes with x86_64 (since the uploading machine is x86).
2025-07-28 14:42:55 +02:00
Pavel Raiskup
07bc636371 copr: upload-qcow2-images-be.j2: drop useless argument 2025-07-26 09:34:30 +02:00
Pavel Raiskup
561fd37e64 copr: uploading images fixes 2025-07-25 16:40:39 +02:00
Pavel Raiskup
591bff5336 copr: upload images from backend 2025-07-25 16:25:41 +02:00
Pavel Raiskup
7c7a5a6bc0 copr: do not rhsm unregister when machine is broken
This speeds the resalloc DELETING phase a lot for broken machines.
2025-07-24 13:06:40 +02:00
Jiri Kyjovsky
1c4ca1994e copr-backend: add x86_64_v2 tags 2025-07-22 00:43:55 +02:00
Jakub Kadlcik
225351a2c8 copr-be: make sure dist-git-client is up-to-date 2025-07-15 13:40:38 +02:00
Jiri Kyjovsky
b7acf000ae copr-backend: actually keep 10gb space for root 2025-07-04 17:42:44 +02:00
Jiri Kyjovsky
a4050477c2 copr-backend: fix typo for powerful builders to claim we have power10 2025-07-04 17:06:12 +02:00
Jiri Kyjovsky
f41f602366 copr-backend: setup swap for powerful builders in osuosl 2025-07-04 17:06:12 +02:00
Miroslav Suchý
a2b5388be3 bump up numbers of reserved instances for copr builders 2025-07-02 11:54:44 +02:00
Jiri Kyjovsky
1c9a1b4a7e copr-backend: switch powerful instances to power10 2025-06-30 16:10:46 +02:00
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