From 1460c09f3ffb7b6f4b7a7b3adbd0b5c53c3d19cf Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 18 Dec 2023 20:37:46 +0100 Subject: [PATCH] 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 --- inventory/group_vars/copr_aws | 2 +- roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/group_vars/copr_aws b/inventory/group_vars/copr_aws index 7660552aa6..810982382a 100644 --- a/inventory/group_vars/copr_aws +++ b/inventory/group_vars/copr_aws @@ -41,7 +41,7 @@ builders: x86_64: [20, 4, 20] ibm_cloud_us_east: # s390x is on-demand - s390x: [18, 6, 6] + s390x: [12, 6, 6] ibm_cloud_tokyo: # tokyo is evacuated s390x: [0, 6, 6] diff --git a/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 b/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 index 86e104eb20..60d278ab37 100644 --- a/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 +++ b/roles/copr/backend/templates/resalloc/ibm-cloud-vm.j2 @@ -14,7 +14,7 @@ case $RESALLOC_NAME in vpc_id=r014-e90f14b0-a9c0-4c0b-bc81-207904b2d19e security_group_id=r014-941706bd-062c-4d4c-9512-9a31b8f257d7 ssh_key_id=r014-fc1c1b90-5a7f-4cc6-a6d4-b273bd19be99 - instance_type=cz2-2x4 + instance_type=mz2-2x16 image_uuid="{{ copr_builder_images.ibm_cloud.s390x.us_east }}" subnets_ids="us-east-1:0757-df8209fd-e4e4-4659-bcca-b60c9eddfb35 us-east-2:0767-4cb7e11d-14db-48a8-9d1d-c59679112cd5 us-east-3:0777-bc697f15-4f13-4843-b338-d8950e3d23c0" zone=us-east