Adding more info output to bootstrap script run

This allows us to better keep track of what commands are being run and when.
This commit is contained in:
Jose Diaz-Gonzalez
2015-12-31 08:19:39 -05:00
parent 2b624ac485
commit 07506f1f53

View File

@@ -29,6 +29,7 @@ hostname -f > /dev/null 2>&1 || {
exit 1 exit 1
} }
echo "--> Ensuring we have the proper dependencies"
apt-get update -qq > /dev/null apt-get update -qq > /dev/null
[[ $(lsb_release -sr) == "12.04" ]] && apt-get install -qq -y python-software-properties [[ $(lsb_release -sr) == "12.04" ]] && apt-get install -qq -y python-software-properties
@@ -90,6 +91,7 @@ elif [[ -n $DOKKU_TAG ]]; then
elif [[ "$major" -eq "0" ]] && [[ "$minor" -ge "4" ]] && [[ "$patch" -ge "0" ]]; then elif [[ "$major" -eq "0" ]] && [[ "$minor" -ge "4" ]] && [[ "$patch" -ge "0" ]]; then
export DOKKU_CHECKOUT="$DOKKU_SEMVER" export DOKKU_CHECKOUT="$DOKKU_SEMVER"
dokku_install_package dokku_install_package
echo "--> Running post-install dependency installation"
sudo -E dokku plugin:install-dependencies --core sudo -E dokku plugin:install-dependencies --core
else else
export DOKKU_CHECKOUT="$DOKKU_TAG" export DOKKU_CHECKOUT="$DOKKU_TAG"
@@ -97,6 +99,7 @@ elif [[ -n $DOKKU_TAG ]]; then
fi fi
else else
dokku_install_package dokku_install_package
echo "--> Running post-install dependency installation"
sudo -E dokku plugin:install-dependencies --core sudo -E dokku plugin:install-dependencies --core
fi fi