Merge branch 'feature/add_banner_to_postinst' into 'master'

Adding gitlab ascii banner to postinstall script

This adds a GitLab ascii banner to the postinstall script.

![gitlab_banner](/uploads/b034e625a717659fd4b79ba38598482e/gitlab_banner.png)

@brodock I just keep it simple,  no iterm stuff 😁 let me know if this is ok with you.

See merge request !982
This commit is contained in:
Marin Jankovski 2016-09-19 09:09:22 +00:00
commit 17ed6cb726
1 changed files with 34 additions and 0 deletions

View File

@ -11,6 +11,39 @@ notify()
echo "gitlab: $1"
}
tanuki_ascii()
{
echo " *. *."
echo " *** ***"
echo " ***** *****"
echo " .****** *******"
echo " ******** ********"
echo " ,,,,,,,,,***********,,,,,,,,,"
echo " ,,,,,,,,,,,*********,,,,,,,,,,,"
echo " .,,,,,,,,,,,*******,,,,,,,,,,,,"
echo " ,,,,,,,,,*****,,,,,,,,,."
echo " ,,,,,,,****,,,,,,"
echo " .,,,***,,,,"
echo " ,*,."
}
gitlab_ascii()
{
echo " _______ __ __ __"
echo " / ____(_) /_/ / ____ _/ /_"
echo " / / __/ / __/ / / __ \`/ __ \\"
echo " / /_/ / / /_/ /___/ /_/ / /_/ /"
echo " \____/_/\__/_____/\__,_/_.___/"
}
print_banner()
{
echo ""
echo "\033[0;33m$(tanuki_ascii)\033[0m"
echo "\033[0;31m$(gitlab_ascii)\033[0m"
echo ""
}
create_config_template()
{
# Create a minimal gitlab.rb template if /etc/gitlab/gitlab.rb does not exist.
@ -41,6 +74,7 @@ fi
print_welcome()
{
print_banner
notify "Thank you for installing GitLab!"
notify "To configure and start GitLab, RUN THE FOLLOWING COMMAND:"
echo ""