Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/backwards_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,17 @@ jobs:
docker rm $dockerContainers
}

- name: Define SERVER_ENDPOINT variable if needed
if: matrix.backend-version == '24.1' || matrix.backend-version == '24.2' || matrix.backend-version == '25.1'
run: |
$env:SERVER_ENDPOINT = "-e [email protected]"
echo "SERVER_ENDPOINT variable set to: $env:SERVER_ENDPOINT"
echo "SERVER_ENDPOINT=$env:SERVER_ENDPOINT" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Start Geometry service and verify start
run: |
.\.venv\Scripts\Activate.ps1
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE }}:${{ matrix.image-tag }} ${{ secrets.TRANSPORT_MODE_SELECTION }}
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} ${{ env.SERVER_ENDPOINT }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE }}:${{ matrix.image-tag }} ${{ secrets.TRANSPORT_MODE_SELECTION }}
Start-Sleep -Seconds 10
python -c "from ansys.geometry.core.connection.validate import validate; validate()"

Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/2256.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Backwards compatibility changes on Docker images
2 changes: 1 addition & 1 deletion docker/windows/dms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN mkdir tmp_folder && \

# Defining environment variables
ENV LICENSE_SERVER=""
ENV SERVER_ENDPOINT="0.0.0.0:50051"
ENV SERVER_ENDPOINT="50051@0.0.0.0"
ENV ENABLE_TRACE=0
ENV LOG_LEVEL=2
ENV AWP_ROOT252=C:/app/unified
Expand Down
Loading