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
This commit is contained in:
Pavel Raiskup 2024-06-05 09:52:37 +02:00
parent fb00cb3f8c
commit 5acd7c627f

View file

@ -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 %}