From 5acd7c627f87a8aed82bb6329ea8925dcb55a579 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 5 Jun 2024 09:52:37 +0200 Subject: [PATCH] copr-backend: work-around for high-performance builders issues Use AMD boxes Don't use SPOT instances for now https://github.com/fedora-copr/copr/issues/3279 --- roles/copr/backend/templates/resalloc/pools.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/copr/backend/templates/resalloc/pools.yaml b/roles/copr/backend/templates/resalloc/pools.yaml index e4ec864653..ca1c222b03 100644 --- a/roles/copr/backend/templates/resalloc/pools.yaml +++ b/roles/copr/backend/templates/resalloc/pools.yaml @@ -50,7 +50,7 @@ aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot {% if arch == 'x86_64' and on_demand is none %} {% set itype='c7i.xlarge' %} {% elif arch == 'x86_64' and on_demand == 'powerful' %} -{% set itype='c7i.8xlarge' %} +{% set itype='c7a.8xlarge' %} {% elif arch == 'aarch64' and on_demand is none %} {% set itype='c7g.xlarge' %} {% elif arch == 'aarch64' and on_demand == 'powerful' %} @@ -58,7 +58,7 @@ aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot {% endif %} {% if spot and on_demand == 'powerful' %} - cmd_new: copr-resalloc-aws-new-{{ arch }} --instance-type {{ itype }} --spot-price 3.4 --root-volume-size 18 + cmd_new: copr-resalloc-aws-new-{{ arch }} --instance-type {{ itype }} --root-volume-size 18 {% elif spot %} cmd_new: copr-resalloc-aws-new-{{ arch }} --instance-type {{ itype }} --spot-price 0.156 {% else %}