Skip to content

Commit 57cb940

Browse files
RobPasMuepre-commit-ci[bot]pyansys-ci-bot
authored
ci: using proper artifactory location (#2114)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent 868d0be commit 57cb940

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
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: 5
2121
IS_WORKFLOW_RUNNING: True
22-
ARTIFACTORY_VERSION: v252
22+
ARTIFACTORY_VERSION: v261
2323

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

doc/changelog.d/2114.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Using proper artifactory location

docker/build_docker_windows.py

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,14 @@
6969
# Get the path to the Ansys installation
7070
ANSYS_PATH = Path(awp_root[ANSYS_VER])
7171

72-
# Starting on 2025R2, the user can select between DMS and Core Services
73-
if ANSYS_VER > 252:
74-
print("Select between DMS and Core Services")
75-
print("1: DMS")
76-
print("2: Core Services")
77-
backend_selection = input("Selection [default - 1]: ")
78-
backend_selection = 1 if backend_selection == "" else int(backend_selection)
79-
if backend_selection not in [1, 2]:
80-
print("XXXXXXX Invalid selection XXXXXXX")
81-
exit(0)
72+
# Starting on 2025R2, only Core Service is available
73+
# Before that, only DMS is available
74+
if ANSYS_VER >= 252:
75+
print(">>> Using Core Service")
76+
backend_selection = 2 # Core Service
8277
else:
83-
# Default to DMS for older versions
84-
backend_selection = 1
78+
print(">>> Using DMS Service")
79+
backend_selection = 1 # DMS Service
8580

8681
# Verify that the Geometry Service is installed
8782
if not Path.exists(ANSYS_PATH / "GeometryService"):

0 commit comments

Comments
 (0)