print out the git commit hash

zuul no longer provides the git hash
for the preinstalled git repos.
Have quickstart show the commit hash
being used.

Change-Id: I85ab655667f3d3433feaf9f4fe893462f6e58ed5
This commit is contained in:
Wes Hayutin 2019-11-20 12:46:54 -07:00
parent c13b3641a7
commit 35affa55a5
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ check_python_module () {
install_deps () {
# zuul no longer provides the git hash for checked out repos.
# tell me the hash of tripleo-quickstart that is running
echo "Print out the commit hash of the git repo"
git show --summary 2>/dev/null || true
# If sudo isn't installed assume we already are a super user
# install it anyways so that the install of the other deps succeeds