Skip to content

Commit

Permalink
getting mapdl output
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Apr 18, 2024
1 parent 7d07926 commit 00bfb78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/start_mapdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ docker run \
-u=0:0 \
--memory=6656MB \
--memory-swap=16896MB \
"$MAPDL_IMAGE" "$EXEC_PATH" -grpc -dir /jobs -"$DISTRIBUTED_MODE" -np 2 > log.txt &
"$MAPDL_IMAGE" "$EXEC_PATH" -grpc -dir /jobs -"$DISTRIBUTED_MODE" -np 2

grep -q 'Server listening on' <(timeout 60 tail -f log.txt)
6 changes: 3 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ jobs:
DISTRIBUTED_MODE: "dmp"
run: |
export INSTANCE_NAME=MAPDL_0
.ci/start_mapdl.sh &> mapdl_launch.log & export DOCKER_PID=$!
echo "Launching MAPDL service at PID: $DOCKER_PID"
echo "DOCKER_PID=$(echo $DOCKER_PID)" >> $GITHUB_OUTPUT
.ci/start_mapdl.sh #&> mapdl_launch.log & export DOCKER_PID=$!
# echo "Launching MAPDL service at PID: $DOCKER_PID"
# echo "DOCKER_PID=$(echo $DOCKER_PID)" >> $GITHUB_OUTPUT
- name: "DPF Server Activation"
run: |
Expand Down

0 comments on commit 00bfb78

Please sign in to comment.