Skip to content

Commit 1b806fd

Browse files
committed
feat: switch to allow new Docker images and use v252
1 parent 5b1647c commit 1b806fd

File tree

3 files changed

+21
-10
lines changed

3 files changed

+21
-10
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
GEO_CONT_NAME: ans_geo
2020
RESET_IMAGE_CACHE: 4
2121
IS_WORKFLOW_RUNNING: True
22-
ARTIFACTORY_VERSION: v251
22+
ARTIFACTORY_VERSION: v252
2323

2424
concurrency:
2525
group: ${{ github.workflow }}-${{ github.ref }}

src/ansys/geometry/core/connection/backend.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ class ApiVersions(Enum):
4444
V_232 = 232
4545
V_241 = 241
4646
V_242 = 242
47-
V_251 = LATEST = 251
47+
V_251 = 251
48+
V_252 = LATEST = 252
4849

4950
@staticmethod
5051
def parse_input(version: Union[int, str, "ApiVersions"]) -> "ApiVersions":

src/ansys/geometry/core/connection/docker_instance.py

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,24 @@ def wrapper(*args, **kwargs):
6262
class GeometryContainers(Enum):
6363
"""Provides an enum holding the available Geometry services."""
6464

65-
WINDOWS_LATEST = 0, "windows", "windows-latest"
66-
LINUX_LATEST = 1, "linux", "linux-latest"
67-
WINDOWS_LATEST_UNSTABLE = 2, "windows", "windows-latest-unstable"
68-
LINUX_LATEST_UNSTABLE = 3, "linux", "linux-latest-unstable"
69-
WINDOWS_24_1 = 4, "windows", "windows-24.1"
70-
LINUX_24_1 = 5, "linux", "linux-24.1"
71-
WINDOWS_24_2 = 6, "windows", "windows-24.2"
72-
LINUX_24_2 = 7, "linux", "linux-24.2"
65+
CORE_WINDOWS_LATEST = 0, "windows", "core-windows-latest"
66+
CORE_LINUX_LATEST = 1, "linux", "core-linux-latest"
67+
CORE_WINDOWS_LATEST_UNSTABLE = 2, "windows", "core-windows-latest-unstable"
68+
CORE_LINUX_LATEST_UNSTABLE = 3, "linux", "core-linux-latest-unstable"
69+
# TO BE REMOVED at some point... - START
70+
WINDOWS_LATEST = 4, "windows", "windows-latest"
71+
LINUX_LATEST = 5, "linux", "linux-latest"
72+
WINDOWS_LATEST_UNSTABLE = 6, "windows", "windows-latest-unstable"
73+
LINUX_LATEST_UNSTABLE = 7, "linux", "linux-latest-unstable"
74+
# TO BE REMOVED at some point... - END
75+
WINDOWS_24_1 = 8, "windows", "windows-24.1"
76+
LINUX_24_1 = 9, "linux", "linux-24.1"
77+
WINDOWS_24_2 = 10, "windows", "windows-24.2"
78+
LINUX_24_2 = 11, "linux", "linux-24.2"
79+
WINDOWS_25_1 = 12, "windows", "windows-25.1"
80+
LINUX_25_1 = 13, "linux", "linux-25.1"
81+
WINDOWS_25_2 = 14, "windows", "core-windows-25.2"
82+
LINUX_25_2 = 15, "linux", "core-linux-25.2"
7383

7484

7585
class LocalDockerInstance:

0 commit comments

Comments
 (0)