copr-be: new AWS EC2 instance types
Per the research in: https://github.com/fedora-copr/copr/issues/2241
This commit is contained in:
parent
4d6f2e9cc4
commit
0b849b5836
2 changed files with 3 additions and 5 deletions
|
@ -24,9 +24,7 @@ cmd=(
|
|||
--tag CoprPurpose=builder
|
||||
--tag CoprInstance={% if devel %}devel{% else %}production{% endif %}
|
||||
--tag arch={{ item }}
|
||||
{% if item == 'aarch64' %}
|
||||
--additional-volume-size 160
|
||||
{% endif %}
|
||||
--playbook /var/lib/resallocserver/provision/builderpb-aws.yml
|
||||
)
|
||||
|
||||
|
|
|
@ -38,13 +38,13 @@ aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot
|
|||
{% endif %}
|
||||
|
||||
{% if arch == 'x86_64' and on_demand is none %}
|
||||
{% set itype='i4i.large' %}
|
||||
{% set itype='c7i.xlarge' %}
|
||||
{% elif arch == 'x86_64' and on_demand == 'powerful' %}
|
||||
{% set itype='r7a.16xlarge' %}
|
||||
{% set itype='c7i.8xlarge' %}
|
||||
{% elif arch == 'aarch64' and on_demand is none %}
|
||||
{% set itype='c7g.xlarge' %}
|
||||
{% elif arch == 'aarch64' and on_demand == 'powerful' %}
|
||||
{% set itype='r7g.16xlarge' %}
|
||||
{% set itype='c7g.8xlarge' %}
|
||||
{% endif %}
|
||||
|
||||
{% if spot and on_demand == 'powerful' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue