-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing secrets from CICD: Part 2 Testing (#2585)
* Disabling non-student versions on PRs. * Removing secrets * Fix missing context * fix syntax error_ * fix syntax error_ * eval expression * setting number of processors * using always smp in student * reducing failure tolerance * try again * Avoiding globbing
- Loading branch information
Showing
4 changed files
with
51 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
#!/bin/bash | ||
docker pull "$MAPDL_IMAGE" | ||
docker run \ | ||
--entrypoint "/bin/bash" \ | ||
--name mapdl \ | ||
--restart always \ | ||
-e ANSYS_LOCK="OFF" \ | ||
-p "$PYMAPDL_PORT":50052 \ | ||
-p "$PYMAPDL_DB_PORT":50055 \ | ||
--shm-size=2gb \ | ||
--shm-size=1gb \ | ||
-e I_MPI_SHM_LMT=shm \ | ||
-e P_SCHEMA=/ansys_inc/v241/ansys/ac4/schema \ | ||
"$MAPDL_IMAGE" > log.txt & | ||
-w /jobs \ | ||
-u=0:0 \ | ||
--memory=6656MB \ | ||
--memory-swap=16896MB \ | ||
"$MAPDL_IMAGE" /ansys_inc/v241/ansys/bin/mapdl -grpc -dir /jobs -"$DISTRIBUTED_MODE" -np 2 > log.txt & | ||
# grep -q 'Server listening on' <(timeout 60 tail -f log.txt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters