Commit graph

39807 commits

Author SHA1 Message Date
Kevin Fenzi
da2738b925 inventory: drop vmhost-a64-cc01
We aren't using this box and there's a use for it in the CentOS side, so
we are going to hand it over there. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-10-30 14:53:44 -07:00
bbb159d405 Update playbooks/openshift-apps/toddlers.yml 2023-10-30 06:40:13 +00:00
Adam Williamson
1cb0c0cdc6 Put openqa-lab-repo.repo in worker role as well as server role
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-27 18:09:24 -07:00
Adam Williamson
504b8217d3 openqa etc.: use pip for local installs, not setuptools
On Fedora 39, we ran into an issue with setuptools that isn't
immediately resolvable:
https://github.com/pypa/setuptools/issues/3797#issuecomment-1783613895
using pip like this seems to avoid it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-27 17:23:53 -07:00
Adam Williamson
530f69d967 openqa: use an external side repo for test builds
It's overall simpler and more idempotent to just use a side repo
maintained outside of ansible than re-create one on each system
on each run of the plays.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-27 11:20:58 -07:00
Sandro
cef973a010 Award badge for KDE SIG members
Fixes https://pagure.io/fedora-badges/issue/919
2023-10-27 18:14:55 +00:00
Yasmin Valim
b5604baabd Feat: add ydesouza 2023-10-27 12:14:30 -03:00
Pavel Raiskup
f85569f78a copr-be: listing IBM Cloud vms fix: typo 2023-10-25 13:38:45 +02:00
Pavel Raiskup
8c09ff53c0 copr-be: fix ibm-cloud instance listing 2023-10-25 13:35:10 +02:00
Pavel Raiskup
d0e12fef0c copr-be: Increase the worker allocation to 90 per owner
This still doesn't mean that one project (= sandbox) can waste that
many workers, we still keep the per/sandbox limit on 35.  This change
though drastically helps Packit which serves many users under a single
owner (but multiple sandboxes).
2023-10-25 13:17:28 +02:00
Pavel Raiskup
d9d6216679 copr-hypervisor: update docs 2023-10-25 13:02:43 +02:00
Pavel Raiskup
951ad69b0c copr-be-dev: move builders Tokyo → Washington (production) 2023-10-24 18:57:22 +02:00
Pavel Raiskup
233cfd363b copr-be: inventory typo 2023-10-24 18:51:31 +02:00
Pavel Raiskup
7af520179b copr-be-dev: move builders Tokyo → Washington, take #4
Too long instance names causing weird errors, shorten!
https://github.com/fedora-copr/resalloc-ibm-cloud/pull/19
2023-10-24 18:49:37 +02:00
Pavel Raiskup
ed0b9048aa copr-be-dev: move builders Tokyo → Washington, take #3
Typo in the image ID.
2023-10-24 18:20:55 +02:00
Pavel Raiskup
55365f5975 copr-be-dev: move builders Tokyo → Washington, take #2
The image IDs differ across DCs.
2023-10-24 18:12:00 +02:00
Pavel Raiskup
d3366aaa86 copr-be-dev: move builders Tokyo → Washington 2023-10-24 17:55:44 +02:00
6dfbd435c8 maubot: add pydantic as a dep
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-10-24 09:38:28 +10:00
Pavel Raiskup
b1d0d6c626 copr-be: enable high-performance builders in prod 2023-10-23 22:05:00 +02:00
Pavel Raiskup
48f66663a4 copr-backend: convert all uploaded images to raw format 2023-10-23 21:54:47 +02:00
Pavel Raiskup
0b849b5836 copr-be: new AWS EC2 instance types
Per the research in:
https://github.com/fedora-copr/copr/issues/2241
2023-10-23 21:47:14 +02:00
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