diff options
-rwxr-xr-x | deploy.sh | 5 | ||||
-rwxr-xr-x | functions.sh | 1 |
2 files changed, 2 insertions, 4 deletions
@@ -23,15 +23,14 @@ export CURRENTPATH # shellcheck source=./functions.sh source "$CURRENTPATH/functions.sh" +# shellcheck source=./deploy.env +source "$CURRENTPATH/deploy.env" # --------------------------------------------------------------------- # check installation and runtime prerequisites # --------------------------------------------------------------------- check_prerequisites -# shellcheck source=./deploy.env -source "$CURRENTPATH/deploy.env" - # --------------------------------------------------------------------- # creates a virtual environment for installation of dependencies # --------------------------------------------------------------------- diff --git a/functions.sh b/functions.sh index 305dcb7..a446acb 100755 --- a/functions.sh +++ b/functions.sh @@ -36,7 +36,6 @@ check_prerequisites() { #------------------------------------------------------------------------------- # Check for DEPLOYMENT type #------------------------------------------------------------------------------- - DEPLOYMENT=${DEPLOYMENT:-full} if ! [[ "$DEPLOYMENT" =~ ^(full|k8s)$ ]]; then error "Unsupported value for DEPLOYMENT ($DEPLOYMENT)" fi |