Skip to content

Commit 4c59a55

Browse files
fix: release issues encountered (#1637)
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
1 parent 5bab21e commit 4c59a55

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

.github/workflows/ci_cd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,10 @@ jobs:
659659
matrix:
660660
include:
661661
- mode: "dms"
662+
docker-file: "windows-dms-dockerfile.zip"
662663
zip-file: "windows-dms-binaries.zip"
663664
- mode: "coreservice"
665+
docker-file: "windows-core-dockerfile.zip"
664666
zip-file: "windows-core-binaries.zip"
665667
steps:
666668
- name: Checkout repository
@@ -720,8 +722,8 @@ jobs:
720722
- name: Upload Windows Dockerfile
721723
uses: actions/upload-artifact@v4
722724
with:
723-
name: windows-${{ matrix.mode }}-dockerfile.zip
724-
path: windows-${{ matrix.mode }}-dockerfile.zip
725+
name: ${{ matrix.docker-file }}
726+
path: ${{ matrix.docker-file }}
725727
retention-days: 7
726728

727729
- name: Stop the Geometry service
@@ -772,7 +774,7 @@ jobs:
772774
- name: Build Docker image
773775
working-directory: docker
774776
run: |
775-
docker build -f linux/Dockerfile -t ghcr.io/ansys/geometry:linux-tmp .
777+
docker build -f linux/coreservice/Dockerfile -t ghcr.io/ansys/geometry:linux-tmp .
776778
777779
- name: Launch Geometry service
778780
run: |

doc/changelog.d/1339.changed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/changelog.d/1637.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
release issues encountered

docker/linux/coreservice/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ RUN apt-get update && \
1717
COPY linux-core-binaries.zip .
1818
RUN unzip -qq linux-core-binaries.zip -d . && \
1919
rm linux-core-binaries.zip && \
20-
chmod -R 0755 DockerLinux && \
21-
mv DockerLinux/bin/x64/Release_Linux/net8.0/* . && \
22-
rm -rf DockerLinux
20+
chmod -R 0755 bin && \
21+
mv bin/x64/Release_Core_Linux/net8.0/* . && \
22+
rm -rf bin
2323

2424
# Let the dynamic link loader where to search for shared libraries
2525
ENV LD_LIBRARY_PATH=/app:/app/CADIntegration/bin:/app/Native/Linux

docker/windows/coreservice/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ WORKDIR /app
2121
COPY windows-core-binaries.zip .
2222
RUN mkdir tmp_folder && \
2323
tar -xf windows-core-binaries.zip -C tmp_folder && \
24-
xcopy tmp_folder\DockerWindows\bin\x64\Release_Core_Windows\net8.0\* . /e /i /h && \
25-
xcopy tmp_folder\DockerWindows\* . && \
24+
xcopy tmp_folder\bin\x64\Release_Core_Windows\net8.0\* . /e /i /h && \
25+
xcopy tmp_folder\* . && \
2626
del windows-core-binaries.zip && \
2727
rmdir /s /q tmp_folder
2828

@@ -47,4 +47,5 @@ LABEL org.opencontainers.image.vendor="ANSYS Inc."
4747
EXPOSE 50051
4848

4949
# Define the entrypoint for the Geometry service
50-
ENTRYPOINT ["dotnet", "C:\app\Presentation.ApiServerLinux.dll"]
50+
# hadolint ignore=DL3025
51+
ENTRYPOINT dotnet C:\app\Presentation.ApiServerLinux.dll

docker/windows/dms/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ WORKDIR /app
1919
COPY windows-dms-binaries.zip .
2020
RUN mkdir tmp_folder && \
2121
tar -xf windows-dms-binaries.zip -C tmp_folder && \
22-
xcopy tmp_folder\DockerWindows\bin\x64\Release_Headless\net472\* . /e /i /h && \
23-
xcopy tmp_folder\DockerWindows\* . && \
22+
xcopy tmp_folder\bin\x64\Release_Headless\net472\* . /e /i /h && \
23+
xcopy tmp_folder\* . && \
2424
del windows-dms-binaries.zip && \
2525
rmdir /s /q tmp_folder
2626

@@ -29,7 +29,7 @@ ENV LICENSE_SERVER=""
2929
ENV SERVER_ENDPOINT="0.0.0.0:50051"
3030
ENV ENABLE_TRACE=0
3131
ENV LOG_LEVEL=2
32-
ENV AWP_ROOT251=C:/app/unified
32+
ENV AWP_ROOT252=C:/app/unified
3333

3434
# Add container labels
3535
LABEL org.opencontainers.image.authors="ANSYS Inc."

0 commit comments

Comments
 (0)