Updated with version & maintainer info

This commit is contained in:
Dmitriy Zaporozhets
2012-09-04 18:39:47 +03:00
parent 0ae90d8848
commit cb5c89a150
5 changed files with 27 additions and 4 deletions

View File

@@ -1,4 +1,10 @@
gitlab-recipes
==============
GitLab recipes for setup on different platforms, update etc...
GitLab recipes for setup on different platforms, update etc...
### Every file should have section with maintainer name & gitlab version:
# GITLAB
# Maintainer: @randx
# App Version: 2.9

View File

@@ -1,4 +1,9 @@
#! /bin/bash
# GITLAB
# Maintainer: @randx
# App Version: 2.9
### BEGIN INIT INFO
# Provides: gitlab
# Required-Start: $local_fs $remote_fs $network $syslog redis-server
@@ -9,6 +14,7 @@
# Description: GitLab git repository management
### END INIT INFO
APP_ROOT="/home/gitlab/gitlab"
DAEMON_OPTS="-c $APP_ROOT/config/unicorn.rb -E production -D"
NAME="unicorn"

View File

@@ -1,3 +1,7 @@
# GITLAB
# Maintainer: @randx
# App Version: 2.9
upstream gitlab {
server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket;
}

View File

@@ -1,10 +1,13 @@
#!/bin/sh
# GITLAB
# Maintainer: @randx
# App Version: 2.9
sudo apt-get update
sudo apt-get upgrade
sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y postfix-policyd-spf-python # Install postfix without prompting.
sudo apt-get install -y git git-core wget curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline-gplv2-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev libicu-dev redis-server openssh-server python-dev python-pip libyaml-dev
sudo apt-get install -y git git-core wget curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline-gplv2-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev libicu-dev redis-server openssh-server python-dev python-pip libyaml-dev postfix
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
tar xfvz ruby-1.9.3-p194.tar.gz

View File

@@ -1,5 +1,9 @@
#!/bin/sh
# GITLAB
# Maintainer: @dosire
# App Version: 2.9
# ABOUT
# This script performs a complete installation of Gitlab (master branch).
# Is can be run with one command without needing _any_ user input after that.
@@ -119,4 +123,4 @@ echo "http://`wget -qO- http://instance-data/latest/meta-data/public-hostname`/"
echo ''
echo 'and login with the following Email and Password:'
echo 'admin@local.host'
echo '5iveL!fe'
echo '5iveL!fe'