From 6e20bef23786e6adb6b005829de7c632c63204b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Josef=20Smr=C4=8Dka?= <253466@mail.muni.cz>
Date: Tue, 15 Oct 2024 11:55:22 +0200
Subject: [PATCH] fix: hpc.16core-* -> c3.16core-* flavors mapping

Map G1 hpc flavors to already present G2 c3 flavors with slightly less
RAM.
---
 CHANGELOG.md | 5 +++++
 ci/olib.py   | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b24ff99..b9c889d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [1.7.2] - 2024-10-15
+### Fix
+- Fix hpc.16core-* -> c3.16core-* flavors mapping: map G1 hpc flavors to already present G2 c3 flavors with slightly less
+RAM.
+
 ## [1.7.1] - 2024-10-07
 ### Fix
 - Disable less usefull pylint errors on specific lines.
diff --git a/ci/olib.py b/ci/olib.py
index 97b18fe..1429f3d 100644
--- a/ci/olib.py
+++ b/ci/olib.py
@@ -55,8 +55,8 @@ def get_destination_flavor(source_flavor):
         'hdn.cerit.xxxlarge-ssd-ephem': 'p3.8core-60ram',  # ok
         # 'hdn.medium-ssd-ephem': # nemusime resit neni pouzit u zadneho projektu v g1
         'hpc.12core-64ram-ssd-ephem-500': 'c3.12core-64ram-ssd-ephem-500',  # neni v G2 a je potreba
-        'hpc.16core-128ram': 'c3.16core-128ram',  # neni v G2 a je potreba
-        'hpc.16core-256ram': 'c3.16core-256ram',  # neni v G2 a je potreba
+        'hpc.16core-128ram': 'c3.16core-120ram',  # ok
+        'hpc.16core-256ram': 'c3.16core-240ram',  # ok
         'hpc.16core-32ram': 'c2.16core-30ram',  # ok
         'hpc.16core-32ram-100disk': 'c3.16core-32ram-100disk',  # neni v G2 a je potreba
         'hpc.16core-64ram-ssd-ephem': 'hpc.16core-64ram-ssd',  # neni v G2 a je potreba
-- 
GitLab