Skip to content

Commit

Permalink
Merge branch 'add-debug' into 'master'
Browse files Browse the repository at this point in the history
Add debug and fix empty project name

See merge request ix.ai/swarm-launcher!35
  • Loading branch information
tlex committed May 25, 2023
2 parents bd6c914 + 0d30c91 commit 8065885
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env bash

set -e

if [ "${DEBUG}" == 'true' ]; then
set -x
fi

_term() {
_echo "Caught SIGTERM signal!"
_cleanup
Expand Down Expand Up @@ -421,6 +426,7 @@ cat "${COMPOSE_FILE}"
_echo "-----------------------------------"

COMMAND=(
--project-name "${LAUNCH_PROJECT_NAME}"
config
)

Expand Down

0 comments on commit 8065885

Please sign in to comment.