From 30f9ab740d6f774254ae13c3570290554106671e Mon Sep 17 00:00:00 2001 From: Josh Cohen Date: Fri, 17 Apr 2015 23:25:43 +0000 Subject: [PATCH 1/2] Logging info suggesting tuned CHECKS --- plugins/checks/check-deploy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/checks/check-deploy b/plugins/checks/check-deploy index 6d7f63ca9..2961d9677 100755 --- a/plugins/checks/check-deploy +++ b/plugins/checks/check-deploy @@ -78,7 +78,11 @@ cleanup() { trap cleanup EXIT if [[ ! -s "${TMPDIR}/CHECKS" ]] ; then - dokku_log_verbose "CHECKS file not found in container: running simple container check..." + dokku_log_verbose "CHECKS file not found in container:" + dokku_log_verbose "Running simple container check..." + dokku_log_verbose "For more efficient Zero Downtime deployments, tune your CHECKS. See:" + dokku_log_verbose "http://progrium.viewdocs.io/dokku/checks-examples.md for examples" + rm -rf $TMPDIR # simple default check to see if the container stuck around From e33d17b7ddea34f4ae26a3878cced32e6915f5db Mon Sep 17 00:00:00 2001 From: Josh Cohen Date: Sat, 18 Apr 2015 05:38:23 +0000 Subject: [PATCH 2/2] updated text from @savant --- plugins/checks/check-deploy | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/checks/check-deploy b/plugins/checks/check-deploy index 2961d9677..0d84b55eb 100755 --- a/plugins/checks/check-deploy +++ b/plugins/checks/check-deploy @@ -78,10 +78,9 @@ cleanup() { trap cleanup EXIT if [[ ! -s "${TMPDIR}/CHECKS" ]] ; then - dokku_log_verbose "CHECKS file not found in container:" - dokku_log_verbose "Running simple container check..." - dokku_log_verbose "For more efficient Zero Downtime deployments, tune your CHECKS. See:" - dokku_log_verbose "http://progrium.viewdocs.io/dokku/checks-examples.md for examples" + dokku_log_verbose "For more efficient zero downtime deployments, create a file CHECKS." + dokku_log_verbose "See http://progrium.viewdocs.io/dokku/checks-examples.md for examples" + dokku_log_verbose "CHECKS file not found in container: Running simple container check..." rm -rf $TMPDIR