You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2019/08/06 03:27:42 UTC

[sling-whiteboard] branch master updated: Re-adding the timeout

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 3558f12  Re-adding the timeout
3558f12 is described below

commit 3558f12cd3942b9f8cfd444d75a08570802d8786
Author: Dan Klco <dk...@apache.org>
AuthorDate: Mon Aug 5 23:27:34 2019 -0400

    Re-adding the timeout
---
 release-validator/run.sh | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/release-validator/run.sh b/release-validator/run.sh
index ea26a95..07fc737 100644
--- a/release-validator/run.sh
+++ b/release-validator/run.sh
@@ -229,7 +229,18 @@ if [ "$HAS_BUNDLE" = true ]; then
   
   prints "Release #$RELEASE_ID verified successfully!" "success"
   
+  if [ "$KEEP_RUNNING" == "true" ]
+  then
+  	echo "Leaving Sling Starter running for ${RUN_TIMEOUT:=10m} for testing..."
+
+   	printf "Run the following command to see the URL to connect to the Sling Starter under the PORT parameter:\n"
+  	printf "\tdocker ps | grep sling-check-release"
+
+     sleep ${RUN_TIMEOUT}
+  fi
+  
 else
   echo "No bundles found in built artifacts..."
   prints "Release #$RELEASE_ID verified successfully!" "success"
-fi
\ No newline at end of file
+fi
+