Commit Graph

104 Commits

Author SHA1 Message Date
Jakub Kadlcik
ab702dee43 copr: fix osuosl image name
We needed to reupload the image with @nikromen because of a changed
hostname for the openstack instance. And I then forgot to note the
correct image name.
2024-02-14 11:14:23 +01:00
Jakub Kadlcik
95180d324d copr: fix F39 image s390x for dev 2024-02-08 10:22:13 +01:00
Jakub Kadlcik
22192bfefd copr: update dev builders to F39 2024-02-03 15:21:32 +01:00
Pavel Raiskup
e0d5464fdf copr-be-dev/copr-kg-dev: fix private IPs 2023-11-22 16:38:44 +01:00
Pavel Raiskup
9cb3183a9d copr-dev: services disabled
Per https://docs.pagure.org/copr.copr/how_to_upgrade_persistent_instances.html
2023-11-21 11:59:59 +01:00
Miroslav Suchý
3eaa0b4756 copr: update copr_builder_fedora_version variable 2023-11-03 16:51:31 +01: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
Pavel Raiskup
a85ed11283 copr-be-dev: fix not starting s390x machines 2023-10-20 15:24:16 +02:00
Pavel Raiskup
7639b55d5a copr-be-dev: lower the cloud budget 2023-10-20 09:07:05 +02:00
Pavel Raiskup
82205131b7 smtp_auth_relay: new role, use by copr-dist-git-dev for now 2023-06-19 10:10:43 +02:00
Pavel Raiskup
860f0ed488 copr-be-dev: move builder images to F38 2023-06-08 13:58:53 +02:00
Pavel Raiskup
89018eecac copr-be-dev: fix the private IP address
This is needed to correctly configure iptables rules on the keygen side.
2022-11-30 13:03:50 +01:00
Pavel Raiskup
8be315160c copr_dev_aws: override 'env' from inventory/group_vars/all 2022-11-22 22:41:05 +01:00
Pavel Raiskup
d0f7c7ca30 copr: use again a deterministic nrpe UID
It was notoriously colliding with other system users like copr-signer
and others.

Revert "copr: test without nrpe_client_uid specified"

This reverts commit 435b71a695.
2022-11-22 10:54:00 +01:00
Pavel Raiskup
435b71a695 copr: test without nrpe_client_uid specified
Revert "copr: define nrpe_client_uid=500"

This reverts commit fa5cd7344c.
2022-11-22 10:41:26 +01:00
Pavel Raiskup
fa5cd7344c copr: define nrpe_client_uid=500 2022-11-22 10:37:15 +01:00
Pavel Raiskup
56cf723f74 copr-be-dev: new set of builder images on F37 2022-11-18 18:15:15 +01:00
Jiri Kyjovsky
5c1422a811 copr: add nikromen 2022-09-19 14:07:40 +02:00
Jiri Kyjovsky
f41baf6f21 copr: configure list of root users just on one place 2022-09-19 14:07:37 +02:00
Pavel Raiskup
0716844ad5 Revert "copr-builders: disable ppc64le hv_02"
This reverts commit 98b0d6f803.
2022-06-21 20:06:50 +02:00
Pavel Raiskup
98b0d6f803 copr-builders: disable ppc64le hv_02
That machine seems to be down.
2022-06-13 09:38:13 +02:00
Pavel Raiskup
01f07b26c1 copr-hypervisors: update ppc64le once more for the swap issue
Now the enable-swap.service runs After=rc-local.service.
2022-05-18 15:42:58 +02:00
Pavel Raiskup
7f6f8780c5 copr-builders-dev: update ppc64le builder image once more
By mistake, the updated make-swap.sh script did not get propagated to it
before.
2022-05-18 13:52:01 +02:00
Pavel Raiskup
c067145fa1 copr-be-dev: ibm cloud needs an image uuid 2022-05-17 14:12:34 +02:00
Pavel Raiskup
3e68eb3053 copr-builders: update dev to a new set of images
This time we need a new ppc64le images (for the new Power9 hypervisor,
where the updated make-swap.sh is needed).  But while on it,
re-generating all images to speedup the spawning times.
2022-05-17 14:02:24 +02:00
Pavel Raiskup
7f53cc41f4 copr-be-dev: deploy the new Power9 machine for VMs
De-prioritize the OSUOSL stack for Power9 now.
2022-05-16 16:55:36 +02:00
Pavel Raiskup
96a1afa931 copr-dev: fix accidentally c&p instance ID instead of AMI 2022-03-21 18:31:57 +01:00
Pavel Raiskup
1e1e1e3f4a copr-dev: update builder images 2022-03-21 2022-03-21 18:26:15 +01:00
Pavel Raiskup
5619eb1804 copr-be: configure the AWS CloudFront distribution ID
Relates: https://pagure.io/copr/copr/pull-request/2119
2022-03-15 16:17:16 +01:00
Silvie Chlupova
e1bd5ad45d copr: change copr-fe-dev.cloud.fedoraproject.org to copr.stg.fedoraproject.org 2022-02-10 16:13:58 +01:00
Silvie Chlupova
2eab0c9987 copr: change copr-fe-dev.cloud.fedoraproject.org to copr.stg.fedorainfracloud.org
Also change copr-fe-dev.aws.fedoraproject.org to
copr.stg.fedoraproject.org. It is needed because of setup in kerberos
config files placed in the fedora-packager-kerberos which takes
stg.fedoraproject.org as staging instance, not aws.fedoraproject.org
2022-02-10 14:49:56 +01:00
Pavel Raiskup
90cc321464 copr-be: deploy F35 builders to production 2022-01-28 14:48:00 +01:00
Pavel Raiskup
24ea84effa copr-be-dev: update F35 images once more
- AWS images have a frozen kernel for now (rhbz#2047266)
- others have disabled systemd-resolved
2022-01-28 12:36:12 +01:00
Kevin Fenzi
eb991fa9c1 base / big network cleanup
Everything should now be using linux-system-roles/network, so we drop
our hacky nmcli calls and everything that referred to them, including
exclude variables. Also, lets just let NM handle resolv.conf so it's not
wrong all the time on reboots.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-26 12:14:23 -08:00
Pavel Raiskup
70c2ee43fb copr-dev: update s390x F35 once more
This time we were missing one script in /usr/local/bin:
6cb6c1a159
2022-01-26 11:35:55 +01:00
Pavel Raiskup
200719eadc copr-builders: one more F35 update
These images contain subscription-manager package.
2022-01-25 16:39:00 +01:00
Pavel Raiskup
8ec98e22bb copr-builders: update the F35 images once more
Needed after the commit: 7fbfb87a1c
2022-01-25 15:08:30 +01:00
Pavel Raiskup
7fbfb87a1c copr-builder: cleanup provision scripts
- add copr_builder_fedora_version variable, because production sometimes
  differs from devel for a short period of time
- drop the epel-8 -> centos-stream+epel-8 links, this is now done all
  against RHEL
- katello hack package is not in s390x images anymore, since we generate
  the images by 'copr-image', not by IBM Cloud snapshots
- kernel-core is now fixed for aws builders, update it as well as other
  packages when updating the image
- don't install subscription-manager when spawning builder, it is
  already available from image preparation time
- copr-rh-subscribe.sh script is also prepare_base_image only
- we don't modify /etc/copr-rpmbuild/mock.cfg.j2 for quite some time,
  drop the hack
- the /usr/bin/copr-update-builder is fixed upstream, drop the
  lineinfile hack
- epel-8 configs are installed via files/mock/epel now
- no need to touch /etc/rpkg.conf nowadays on f35
- prepare mockbuilder user only when preparing image, not spawning
- disable coredumps only when preparing the image
- disable services only when preparing the image
- don't update rubygem-gem2rpm all the time, on F35 we have new enough
  version
- the /etc/copr-rpmbuild/rpkg.conf.j2 is to be kept as is on F35
2022-01-25 13:50:35 +01:00
Pavel Raiskup
f4630f18a1 copr-dev: update builder images to F35
Per https://docs.pagure.org/copr.copr/how_to_upgrade_builders.html

Note the issue with AWS aarch64 images:
https://pagure.io/cloud-sig/issue/365
2022-01-25 11:03:22 +01:00
Pavel Raiskup
41df8091ab copr-be: deploy native s390x and Red Hat subscription to prod
While on it, setup the builder quota for max: 12 ATM, and we'll
communicate with IBM later if that's enough.
2022-01-17 10:04:52 +01:00
Pavel Raiskup
ed570d1562 copr-be: update the ppc64le image 2022-01-12 16:58:33 +01:00
Pavel Raiskup
e8bf32eb08 copr-builders: instantiate Power9 Oregon University OpenStack 2022-01-12 15:29:34 +01:00
Pavel Raiskup
198c13a8b1 copr-builders: new s390x with appropriate metadata
Previously I couldn't pick "Fedora 34" OS type in IBM Cloud web UI, now
it was possible.  I bet this will diminish the need for additional
(e.g. subscription-manager) hacks.
2022-01-09 21:50:25 +01:00
Pavel Raiskup
7f0201f441 copr-builders: new s390x IBM Cloud image 2022-01-08 14:05:30 +01:00
Pavel Raiskup
b04ab5d83a copr-dev: re-enable services 2021-11-22 13:26:59 +01:00
Jakub Kadlcik
9bbaa92685 copr: disable services on dev 2021-11-18 22:48:38 +01:00