Skip to content

Commit

Permalink
Make sure we pass vars as env vars when running mlaunch
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Nov 17, 2022
1 parent c5d6209 commit 835bfbc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ functions:
set -v
SECS=0
MONGO_ARGS="${mongo_args}"
if [ "${USE_TLS}" = "true" ]; then
if [ -n "${USE_TLS}" ]; then
MONGO_ARGS="${mongo_args_tls}"
elif [ "${USE_SSL}" = "true" ]; then
elif [ -n "${USE_SSL}" ]; then
MONGO_ARGS="${mongo_args_ssl}"
elif [ "${USE_AWS_AUTH}" = "true" ]; then
elif [ -n "${USE_AWS_AUTH}" ]; then
MONGO_ARGS="--port 33333"
fi;
while true ; do
Expand Down Expand Up @@ -436,6 +436,7 @@ functions:
script: |
${_set_shell_env}
./scripts/run_mlaunch.sh
add_expansions_to_env: true

"add-aws-auth-variables-to-file":
- command: shell.exec
Expand Down

0 comments on commit 835bfbc

Please sign in to comment.