Commit graph

39636 commits

Author SHA1 Message Date
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
Jiri Kyjovsky
c1af467ba0 copr-be: use resalloc_pool_id env variable for reaslloc-ibm-cloud-list-vms 2023-10-20 15:38:25 +02:00
Pavel Raiskup
a85ed11283 copr-be-dev: fix not starting s390x machines 2023-10-20 15:24:16 +02:00
Jiri Kyjovsky
67f9873ee0 copr: use resalloc-ibm-cloud package
can be found on https://github.com/fedora-copr/resalloc-ibm-cloud
2023-10-20 13:08:52 +00:00
Pavel Raiskup
87ca231739 copr-be: reuse opportunity time decrease
This will recycle VMs more quickly, after 90s of idling.  This is giving
their assigned users smaller changes to re-take it.  This though should
not be a problem nowadays since copr-backend is pretty optimal and each
"task dispatching cycle" takes less than 30s.  If users have multiple
tasks to process, these tasks should still be happily dispatched within
the time-frame.
2023-10-20 11:13:52 +02:00
Pavel Raiskup
986a0965a7 copr-builders: powerful builders need 18G root volume
This is needed to have enough space in /var/lib/copr-rpmbuild.
2023-10-20 11:08:16 +02:00
Pavel Raiskup
b7c5ecf6cd copr-builders: assert only when spawning, not preparing 2023-10-20 10:42:32 +02:00
Pavel Raiskup
bda1d88854 copr-builders: assert 15G free space in /var/lib/copr-rpmbuild 2023-10-20 10:25:35 +02:00
Pavel Raiskup
7639b55d5a copr-be-dev: lower the cloud budget 2023-10-20 09:07:05 +02:00
Neil Hanlon
507d008578
anitya: Add Rocky Linux to distribution mapping
Rocky was added in the Anitya GUI, but does not have a mapping, so links
are not created for them which point to their corresponding sources on
their git forge.
2023-10-17 17:47:46 -04:00
Aurélien Bompard
3acc8db917
Also deploy maubot on deployment config change
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-16 12:39:59 +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
d914880ced maubot: fix typo in buildconfig;
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-10-16 16:52:06 +10:00
9d3a2c8ef4 maubot: remove webhook plugin and build meetings from fork
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-10-16 16:45:25 +10:00
Pavel Raiskup
cb42b83d1c backend: nick typofix 2023-10-13 20:27:25 +02:00
Pavel Raiskup
a2d5a783f7 copr: install bc on builders for fedora-review 2023-10-13 20:24:28 +02:00
Pavel Raiskup
4dc044bcae copr-be: relax SWAP check if we have enough memory
The large instances discussed here
https://github.com/fedora-copr/copr/issues/2241
have large RAM memory segments, and no default disks.  So we don't pay
attention to have additional volumes explicitly just for swap.
2023-10-12 18:21:06 +02:00
Pavel Raiskup
9204908652 copr-fe-dev: fix mistake in jinja 'devel' condition 2023-10-12 15:30:05 +02:00
Aurélien Bompard
876c763701
Fix the cookie import script
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-12 11:07:59 +02:00
Pavel Raiskup
c27aab6c3b copr: switch ELN builds to use ELN bootstrap image
https://github.com/rpm-software-management/mock/issues/1238
2023-10-12 08:34:10 +02:00
Aurélien Bompard
e2cd6537ec
Typo again
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-11 10:27:52 +02:00
Aurélien Bompard
75c650fda3
Adjust for staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-11 10:26:06 +02:00
Aurélien Bompard
b2efbbfeae
Typo
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-11 10:23:15 +02:00
Aurélien Bompard
1b249c0a04
Add a script and a playbook to import IRC cookies to Matrix
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-11 10:19:54 +02:00
Aurélien Bompard
04f95e1969
Rebuild Maubot when the Fedora image changes
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-11 07:23:13 +02:00
f5c3fa8410 maubot: add generic webhook trigger
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-10-11 14:29:12 +10:00
Kevin Fenzi
afe74d88a4 bodhi / new-updates-sync / epel7: fix epel7 latest release sync
Recently (possibly with the new python in fedora 38), the updates-sync
logic that updates the 'latest' link for epel-release rpms has started
replacing it everytime it runs. Since this is every minute, it sometimes
results in people getting odd perm denied errors when they try and fetch
it as it's being removed or updated.

The problem seems to be that the script looks for all
epel-release*noarch* packages under a release tree and then links to the
x86_64 one. With all the other epel branches, x86_64 was the last one it
saw with the file glob, so everything was fine.

For some reason on epel7 now, it's seeing them in the following order:
/pub/epel/7/ppc64/Packages/e/epel-release-7-11.noarch.rpm
/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
/pub/epel/7/ppc64le/Packages/e/epel-release-7-14.noarch.rpm
/pub/epel/7/aarch64/Packages/e/epel-release-7-12.noarch.rpm

This means it sees the 'aarch64' one last and since it's not = to the
x86_64 one, it replaces it. Luckily it's hard coded to use the x86_64
one so the link is always the same, it's just never equal to the one
it's checking against.

I am not sure why this is happening only on epel7, but this PR just
sorts all the path's so that x86_64 is always 'last' and should match
up.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-10 17:40:46 +00:00
Owen W. Taylor
29001c9704 Add Flatpak indexes for ppc64le
With new Flatpak build system, we're now building Flatpaks for ppc64le
as well.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2023-10-10 10:18:10 -04:00
Aurélien Bompard
c57e9be6ef
Maubot: add github triggers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-10 10:12:37 +02:00
Pavel Raiskup
2448fc14d9 copr-be-dev: allocate powerful EC2 machines in @copr/powerful-test 2023-10-09 15:21:43 +02:00
Aurélien Bompard
ffd83e76cd
Remove the obsolete storage file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-09 14:17:21 +02:00
Aurélien Bompard
7dfcb57f57
Don't hardcode staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-09 14:09:01 +02:00
Aurélien Bompard
23faf440bc
Deploy meetbot plugins when building in Ansible
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-09 14:05:21 +02:00
Pavel Raiskup
60243e6cb4 copr-be-dev: on-demand config fix
UserWarning: useless config option 'on_demand_tags'
2023-10-09 12:17:07 +02:00
Pavel Raiskup
09517a04b4 copr-be-dev: bump spot price for powerful machines 2023-10-09 11:00:16 +02:00
Pavel Raiskup
2b3d70d4b5 copr-be-dev: pools.yaml tag name typo 2023-10-09 10:56:33 +02:00
Pavel Raiskup
d9d54a61ab copr-be-dev: another pools.yaml typo 2023-10-09 10:51:40 +02:00
Pavel Raiskup
e7b90391f0 copr-be: pools.yaml powerful _ separator 2023-10-09 10:47:44 +02:00
Pavel Raiskup
9741976e0a copr-be: typos in pools.yaml jinja 2023-10-09 10:45:16 +02:00
Pavel Raiskup
35a47588a5 copr-be-dev: don't set _prealloc for on-demand instances 2023-10-09 10:18:49 +02:00
Pavel Raiskup
ec0b3708df copr-be: on-demand powerful instances
x86_64: r7a.16xlarge
aarch64: c7g.xlarge

https://github.com/fedora-copr/copr/issues/2241
2023-10-09 10:17:45 +02:00
Pavel Raiskup
4638b30f61 copr/be: unify resalloc pools.yaml AWS macro 2023-10-09 09:45:24 +02:00
Pavel Raiskup
4fcd495c7e copr-be-dev: mark s390x machines as "on-demand" 2023-10-09 08:58:34 +02:00
Pavel Raiskup
727605815f copr/hypervisor: don't enable swap
This is (for) now done manually in /etc/fstab.
2023-10-06 17:54:36 +02:00
Jakub Kadlcik
2d0ea7ab18 copr: make sure we have up-to-date fedora-review on builders 2023-10-06 00:41:04 +02:00
Kevin Fenzi
5ceb8b9e05 flatpak-indexer: fix indentation on imagestreams
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-05 13:44:35 -07:00
Kevin Fenzi
4d0a458a75 flatpak-indexer: update to new upstream
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-05 11:58:51 -07:00
Kevin Fenzi
d294aacbe1 flatpak-indexer: update version to pick up fix for new f39 flatpaks indexing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-05 11:02:19 -07:00
Kevin Fenzi
ddc17b2e23 bodhi: switch skopeo command
bodhi was using a small script to copy flatpak images from candidate
registry to registry. This was done because skopeo wasn't able to copy
multi-arch containers at the time. It has since gained the ability to do
that and we should stop using the temporary script to do this.

The script doesn't understand the new f39+ flatpaks hash passed to it so
it fails to push them.

This patch switches bodhi to use normal skopeo and pass it -a which
should tell it to copy all the arches, not just the one it's running on.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-05 16:47:12 +00:00
080f7db125
zabbix: fix set_fact task indentation
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2023-10-05 12:27:37 +01:00