Skip to content

Commit

Permalink
Fixed formating a tiny bit in check_dependencies script
Browse files Browse the repository at this point in the history
It's a little bit easier to read now tih some extra spacing and using an
`if` vs the `||` syntax.
  • Loading branch information
sgnn7 committed May 14, 2019
1 parent 43e804f commit b92941b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 0_check_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ set -eo pipefail
check_env_var "CONJUR_VERSION"
check_env_var "CONJUR_NAMESPACE_NAME"
check_env_var "TEST_APP_NAMESPACE_NAME"
[[ "$PLATFORM" == "kubernetes" ]] && check_env_var "DOCKER_REGISTRY_URL"

if [[ "$PLATFORM" == "kubernetes" ]]; then
check_env_var "DOCKER_REGISTRY_URL"
fi

check_env_var "DOCKER_REGISTRY_PATH"
check_env_var "CONJUR_ACCOUNT"
check_env_var "CONJUR_ADMIN_PASSWORD"
check_env_var "AUTHENTICATOR_ID"
check_env_var "TEST_APP_DATABASE"

ensure_env_database

export DEPLOY_MASTER_CLUSTER="${DEPLOY_MASTER_CLUSTER:-false}"
Expand Down

0 comments on commit b92941b

Please sign in to comment.