Browse Source
Remove config logging when checking
Because it causes a mysterious crash and it's honestly not worth it.
pull/6241/head
Jacobo de Vera
2 months ago
committed by
tomo
No known key found for this signature in database
GPG Key ID: 6826163BFB606E85
1 changed files with
0 additions and
3 deletions
-
deploy/multideploy.sh
|
|
@ -154,21 +154,18 @@ _check_deployfile() { |
|
|
_err "Service '$_service' not found." |
|
|
_err "Service '$_service' not found." |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
_secure_debug3 "check: Service '$_service' configuration" "$_service_config" |
|
|
|
|
|
|
|
|
|
|
|
_service_hook=$(echo "$_service_config" | yq e ".hook" -) |
|
|
_service_hook=$(echo "$_service_config" | yq e ".hook" -) |
|
|
if [ -z "$_service_hook" ] || [ "$_service_hook" = "null" ]; then |
|
|
if [ -z "$_service_hook" ] || [ "$_service_hook" = "null" ]; then |
|
|
_err "Service '$_service' does not have a hook." |
|
|
_err "Service '$_service' does not have a hook." |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
_debug3 "check: Service '$_service' hook" "$_service_hook" |
|
|
|
|
|
|
|
|
|
|
|
_service_environment=$(echo "$_service_config" | yq e ".environment" -) |
|
|
_service_environment=$(echo "$_service_config" | yq e ".environment" -) |
|
|
if [ -z "$_service_environment" ] || [ "$_service_environment" = "null" ]; then |
|
|
if [ -z "$_service_environment" ] || [ "$_service_environment" = "null" ]; then |
|
|
_err "Service '$_service' does not have an environment." |
|
|
_err "Service '$_service' does not have an environment." |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
_secure_debug3 "check: Service '$_service' environment" "$_service_environment" |
|
|
|
|
|
done |
|
|
done |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|