Commit Graph

1325 Commits

Author SHA1 Message Date
Jakub Kadlcik
de324f9220 copr-backend: oops, wrong architecture 2024-07-02 11:44:02 +02:00
Jakub Kadlcik
bbaa6ab904 copr-backend: use RHEL instead of CentOS for EPEL7 chroots, pt2
Fix https://github.com/fedora-copr/copr/issues/3320
2024-07-02 11:21:06 +02:00
Jakub Kadlcik
2706d1a6fb copr-backend: use RHEL instead of CentOS for EPEL7 chroots
Fix https://github.com/fedora-copr/copr/issues/3320
2024-07-02 10:35:24 +02:00
Pavel Raiskup
a57f42882b copr: don't depend on c10s extras for now
https://github.com/rpm-software-management/mock/pull/1388
2024-06-15 14:37:59 +02:00
Pavel Raiskup
5acd7c627f copr-backend: work-around for high-performance builders issues
Use AMD boxes
Don't use SPOT instances for now

https://github.com/fedora-copr/copr/issues/3279
2024-06-05 09:53:12 +02:00
Pavel Raiskup
3327264e55 Revert "copr-backend: don't start machines on hv02 x86"
This reverts commit 21d01db0a6.
2024-04-02 12:55:22 +02:00
Pavel Raiskup
a9ff3c1ad2 copr-builders: assure copr-rpmbuild 0.72+ 2024-03-18 08:35:29 +01:00
Pavel Raiskup
82cb129606 copr-builders: patch Mock for DNF5 --allowerasing compat 2024-03-09 16:27:15 +01:00
Pavel Raiskup
df7e9046c5 copr-builders: drop mock-core-configs openSUSE overrides 2024-03-04 09:44:26 +01:00
Pavel Raiskup
8c10a12cbc copr-be-dev: limit concurrency per/sandbox/owner 2024-03-01 20:31:34 +01:00
Jiri Kyjovsky
26d0ceeac3 copr-backend: set up motd for builders 2024-03-01 14:00:22 +00:00
Pavel Raiskup
5dda991b8f copr-builders: remove the pr-dir from workers 2024-03-01 14:53:17 +01:00
Pavel Raiskup
053b703e4b copr-builders: enable-swap.sh: wait until the swap partition exists 2024-02-29 10:25:49 +01:00
Pavel Raiskup
711b6bb8c6 copr-builders: call partprobe
Fixes: https://github.com/fedora-copr/copr/issues/3053
2024-02-29 10:19:49 +01:00
Pavel Raiskup
29731ef93d copr-builders: typo in the debugging output 2024-02-28 17:10:49 +01:00
Pavel Raiskup
fe9f0e6f75 copr-builders: debug the swap issues
Relates: copr#3053
2024-02-28 17:03:21 +01:00
Pavel Raiskup
58e8e48965 Disabling subscription-manager has no effect
The copr-rh-subscribe.sh script re-enables it anyway.

This reverts commit 0272ed65b0.
2024-02-28 16:55:41 +01:00
Pavel Raiskup
f7a96ebb5b copr-builders: make sure the swap service has finished 2024-02-28 16:37:04 +01:00
Pavel Raiskup
476e5454ec copr-builders: assert the storage limits early
It doesn't make sense to spent a lot of time with the rest of the
playbook when the builder is broken.

Relates: https://github.com/fedora-copr/copr/issues/3053
2024-02-28 15:37:07 +01:00
Pavel Raiskup
0272ed65b0 copr-builders: speedup spawner by disabling RHSM on host
Just an experiment, not sure whether it helps.
2024-02-28 15:35:14 +01:00
Pavel Raiskup
fc82478567 copr-builders: correct the booleans 2024-02-28 14:41:08 +01:00
Pavel Raiskup
15af13c3b5 copr-builders: do the RH subscription in the background
https://github.com/fedora-copr/copr/issues/3145
2024-02-28 14:28:01 +01:00
Pavel Raiskup
7a9b5ff89a copr-builders: better split image preparation and booting 2024-02-28 14:13:48 +01:00
Pavel Raiskup
e5516210e1 copr-builders: simplify prep/start ansible conditions 2024-02-28 14:03:15 +01:00
Pavel Raiskup
d538edeca4 copr-be: the wait-for-ssh script moved to resalloc-helpers 2024-02-28 10:39:11 +01:00
Pavel Raiskup
a7d2b677b9 copr-builders: better (generalized) task name 2024-02-19 15:29:45 +01:00
Pavel Raiskup
d2efe47850 copr-builders: fix the hot-fix for https://github.com/fedora-copr/copr/pull/3144 2024-02-16 21:21:23 +01:00
Pavel Raiskup
aa5639e629 copr-builders: one more hotfix for the mock-core-configs 40.2 issue
https://github.com/fedora-copr/copr/issues/3146
2024-02-16 21:14:36 +01:00
Pavel Raiskup
aa0bc55744 copr-builder: typo in filename 2024-02-16 20:44:20 +01:00
Pavel Raiskup
ce3a7fd4f3 copr-builders: hotfix for https://github.com/fedora-copr/copr/issues/3146 2024-02-16 20:40:24 +01:00
Pavel Raiskup
c855291c45 copr-builders: drop the ELN config override
And use the one from mock-core-configs v40.2 (up2date).
2024-02-16 20:17:49 +01:00
Pavel Raiskup
5fb50ad28b copr-builders: assure up2date mock-core-configs are used 2024-02-16 19:46:22 +01:00
Jakub Kadlcik
cce5ad78f4 copr-backend: install custom mock-custom-build.cfg.j2
Fix https://github.com/fedora-copr/copr/issues/3140
2024-02-15 15:51:34 +01:00
Jakub Kadlcik
902de43fdd copr-backend: install libvirt-daemon otherwise it can't start 2024-02-08 10:22:13 +01:00
Jakub Kadlcik
e80d914a8c copr-backend: change osuosl dns name to their newest
osuosl-openpower changed their DNS edpoint for the controller to the
openpower-openstack.osuosl.org
2024-02-06 14:29:48 +01:00
Pavel Raiskup
21d01db0a6 copr-backend: don't start machines on hv02 x86
https://pagure.io/fedora-infrastructure/issue/11755
2024-02-06 11:29:20 +01:00
Pavel Raiskup
0d6476a553 copr: assert up2date mock-core-configs package
https://github.com/fedora-copr/copr/issues/3132
2024-02-06 11:21:39 +01:00
Pavel Raiskup
f1c914c9fd copr-be-dev: de-prioritize arch_s390x tag
Copr actually asks for arch_s390x, not arch_s390x_native.
2024-01-14 20:38:59 +01:00
Pavel Raiskup
aa8856f868 copr-be-dev: deprio s390x high-performance builder 2024-01-14 20:32:39 +01:00
Pavel Raiskup
2de76376c5 copr-be: pools: config typo for prod 2024-01-09 17:20:12 +01:00
Pavel Raiskup
15e44a7303 copr-be: fix typo in s390x instance type decission 2024-01-09 17:05:11 +01:00
Pavel Raiskup
867812fd87 copr-be: fix the name of s390x powerful machines
ERROR: Field boot_volume_attachment.volume.name is longer than 63 characters: copr-ic-s390x-powerful-us-east-dev-00167736-20240109-155439-root
2024-01-09 16:56:08 +01:00
Pavel Raiskup
23f1e61adf copr-be: start at most 2 powerful s390x instances 2024-01-09 16:50:41 +01:00
Pavel Raiskup
404d8c1507 copr-be: decrease release opportuninty time for s390x builders
We have small amount of them, and we want to allocate new as soon as
possible.
2024-01-04 18:02:30 +01:00
Pavel Raiskup
c39dc663c2 Revert "copr: keep building Rawhide with DNF4 for a while"
There are no known blockers for this change.  So let's experiment with
https://fedoraproject.org/wiki/Changes/BuildWithDNF5 in Fedora Copr

This reverts commit c0e4f15946.
2024-01-04 18:00:27 +01:00
Pavel Raiskup
1207a201d2 copr-be: boost the s390x builders (from max 12 to max 18)
Nourhane @ IBM confirmed this should be OK, considering we spend about
the same cloud budget as before (more machines means we still process
the same amount of tasks, but faster).
2024-01-04 13:26:45 +01:00
Pavel Raiskup
92ce28f253 copr: decrease s390x quota / owner
Complements: 1460c09f3f
2023-12-18 20:42:31 +01:00
Pavel Raiskup
1460c09f3f copr: experiment with mz2-2x16 instances in IBM Cloud
These are about 1.5x more expensive, so we'll have only 2/3 of them for
now.  The reason for this experiment is that the old instances cz2-2x4
are often useless for memory-intensive tasks that simply do too much
swapping - so we too much time on them (which is even often wasted for
unnecessary failure).

Relates: https://github.com/fedora-copr/copr/issues/3060
2023-12-18 20:40:26 +01:00
Pavel Raiskup
c0e4f15946 copr: keep building Rawhide with DNF4 for a while
The updated mock-core-configs got to stable by mistake (I thought I
disabled the stable-by-time feature, but probably I didn't).

This need to be resolved first:
https://github.com/rpm-software-management/dnf5/pull/1085
https://github.com/fedora-copr/copr/issues/3067
2023-12-18 09:33:23 +01:00
Pavel Raiskup
1e42b2b130 copr: allow taking 12 of 18 builders for s390x 2023-12-16 12:10:26 +01:00