Commit Graph

94 Commits

Author SHA1 Message Date
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
52217cef19 copr-be: per-zone pools started in IBM Cloud
Complements: https://github.com/fedora-copr/resalloc-ibm-cloud/pull/31
Relates: https://github.com/fedora-copr/copr/issues/3557
2025-01-11 16:29:36 +01:00
Pavel Raiskup
a50e77a51e copr-be: start s390x machines also in Madrid 2024-12-21 00:18:46 +01:00
Pavel Raiskup
9786678aad copr-be: make sure Washington is disabled
https://github.com/fedora-copr/copr/issues/3558
2024-12-20 23:00:40 +01:00
Pavel Raiskup
daa719fa16 copr-be: prod -> start from 3 to 9 machines 2024-12-20 22:46:23 +01:00
Pavel Raiskup
be455f7630 copr-be: experiment with IBM Cloud Sao Paulo location 2024-12-20 22:37:39 +01:00
Pavel Raiskup
185c7d61aa copr-be: decrease the s390x consumption in us-east
Per report from IBM, we need to ASAP decrease the capacity in
Washington, the load from ZCommunity3 account affects other customers.
2024-12-18 08:33:26 +01:00
Pavel Raiskup
01b8d651d9 backend: birthday again services disabled
I haven't actually moved to F39 before :-(
2024-12-04 12:40:03 +01:00
Pavel Raiskup
e1d5c336e3 copr: setup (production) deployment type 2024-12-04 10:31:23 +01:00
Pavel Raiskup
29530e991e copr-be: new production F41 backend
- birthday on -temp hostname
- services_disabled: true for now
- fixed be <-> kg private IP connectivity
2024-12-04 10:23:15 +01:00
Pavel Raiskup
2538a7e30f copr: drop references to de-registered (temp) AMIs 2024-11-22 14:05:18 +01:00
Pavel Raiskup
56db38f336 copr: one image late production promote (osuosl) 2024-11-20 15:41:25 +01:00
Pavel Raiskup
b654fa5183 copr: promote F41 builders to production 2024-11-20 14:08:32 +01:00
Pavel Raiskup
660a436c50 Revert "copr-be: decrease the number of VMs"
The machine has 2CPU now.

This reverts commit 482371aa13.
2024-04-03 15:16:40 +02:00
Pavel Raiskup
482371aa13 copr-be: decrease the number of VMs
There's just one CPU for now:
https://pagure.io/fedora-infrastructure/issue/11755
2024-04-02 13:40:11 +02:00
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
7a06900c2a copr: upgrade production builders to F39 2024-02-14 10:11:25 +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
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
6c80a870ff copr-be: new private IP address 2023-11-28 15:35:41 +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ý
8028e00aaf copr: drop numbers for ondemand builders in aws because we increased reserved ones 2023-11-06 15:02:20 +01:00
Miroslav Suchý
3eaa0b4756 copr: update copr_builder_fedora_version variable 2023-11-03 16:51:31 +01:00
Pavel Raiskup
951ad69b0c copr-be-dev: move builders Tokyo → Washington (production) 2023-10-24 18:57:22 +02:00
Pavel Raiskup
21be6fd294 copr: use smtp-auth-relay for all hosts 2023-06-19 11:08:23 +02:00
Pavel Raiskup
8ce78aaca3 copr-be: Promote Fedora 38 builders to production 2023-06-08 17:30:30 +02:00
Pavel Raiskup
2b4e3c2f0e copr: incremental backup: preserve hardlinks
Relates: https://github.com/fedora-copr/copr/pull/2526
2023-02-06 10:34:04 +01:00
Pavel Raiskup
6dac8b3a1b copr: incremental backup: more readable rsync progress 2023-02-05 11:27:28 +01:00
Pavel Raiskup
c79930b602 copr: incremental backup: backup real data 2023-02-05 11:20:00 +01:00
Pavel Raiskup
558ad3a1d0 copr: incremental backup to storinator, part 5
Install the "push" rsync action.
2023-02-05 09:26:04 +01:00
Pavel Raiskup
2c86047667 copr: incremental backup to storinator, part 4
Fix the timing specs once more.
2023-02-04 20:47:39 +01:00
Pavel Raiskup
0411ecda7d copr: incremental backup to storinator, part 3
Fixup timing plan specs.
2023-02-04 20:45:18 +01:00
Pavel Raiskup
c1335a72d9 copr: incremental backup to storinator, part 1
These scripts are based on my personal "Don't Delay Backups" project,
which is not yet available as a public role.
2023-02-04 20:29:21 +01:00
Pavel Raiskup
4948de43a3 copr-keygen: fix "private" ipv4 address to fix firewall 2022-11-28 19:50:04 +01:00
Pavel Raiskup
8a1d3a64f6 copr-be: promote f37 images to production 2022-11-28 18:44:02 +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
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
d9d03f68ed copr-builders: promote the new images to production
This includes the VMs on the new Power9 machine.
2022-05-18 18:11:25 +02:00
Jakub Kadlcik
848ce2c8f7 copr: raise builder quota 2022-05-04 11:35:45 +00:00
Pavel Raiskup
add8b5bb1a copr: promote staging-tested images to production 2022-03-21 22:08:13 +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
Pavel Raiskup
90cc321464 copr-be: deploy F35 builders to production 2022-01-28 14:48:00 +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
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
6d17c24731 copr-be: 6 preallocated s390x builders for now, max 18 2022-01-18 13:38:17 +01:00