Skip to content

Commit

Permalink
add post-stack script callout
Browse files Browse the repository at this point in the history
After the main stack.sh is called, provide the ability for a
post-stack script to be called. This can assist in supporting
multinode testing.

Change-Id: I42c2d8ae88a5abe871f286eb9f59b320376056f4
  • Loading branch information
sdague committed Jul 15, 2015
1 parent 0689984 commit eafab2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions grenade.sh
Expand Up @@ -213,6 +213,14 @@ if [[ "$RUN_BASE" == "True" ]]; then
GIT_BASE=$GIT_BASE ./stack.sh
stop $STOP stack.sh 10

echo_summary "Running post-stack.sh"
if [[ -e $GRENADE_DIR/post-stack.sh ]]; then
cd $GRENADE_DIR
./post-stack.sh
stop $STOP post-stack.sh 15
echo_summary "Completed post-stack.sh"
fi

# Cache downloaded instances
# --------------------------

Expand Down

0 comments on commit eafab2b

Please sign in to comment.