65 Commits

Author SHA1 Message Date
Sameer Naik
bb2aca04e3 gitlab: indentation fix 2014-04-11 21:37:34 +05:30
TruongSinh Tran-Nguyen
3792d7b870 expose unicorn timeout
Mitigate https://github.com/gitlabhq/gitlabhq/issues/1527
2014-04-11 21:37:34 +05:30
Sameer Naik
705663e1f1 gitlab: install mysql data directory if it does not exist. 2014-04-11 21:37:34 +05:30
Sameer Naik
d41077e761 install: upgrade to gitlab-shell-1.8.0 2014-04-11 21:37:31 +05:30
Sameer Naik
bad37ccd83 install: upgrade to gitlab-6.3.1 2014-04-11 21:36:48 +05:30
Sameer Naik
3818c58c18 install: run bundler --local install only if cache directory is present. 2014-04-11 21:34:49 +05:30
Sameer Naik
7382d10e04 install: make tarball extraction verbose. 2014-04-11 21:28:57 +05:30
Sameer Naik
b533e426d5 resources: copy entire resources directory with a single ADD 2014-04-11 21:25:12 +05:30
Sameer Naik
ce82c1ffed gitlab: added bash command to start a interactive bash shell 2014-04-11 21:23:16 +05:30
Sameer Naik
40886d11c5 setup log rotation for supervisord logs 2014-04-11 21:23:15 +05:30
Sameer Naik
c678815e37 gitlab: added migrate command 2014-04-11 21:23:15 +05:30
Sameer Naik
b8ba8ad5ac gitlab: added initialize command 2014-04-11 21:23:14 +05:30
Sameer Naik
f06f9acdc2 gitlab: gitlab script can now be passed commands to perform specific tasks. Defaults to start. 2014-04-11 21:23:14 +05:30
Sameer Naik
fa20322c0a renamed resources/start to resources/gitlab 2014-04-11 21:21:51 +05:30
Sameer Naik
0d87aa80e4 install: cleanups 2014-04-11 21:20:40 +05:30
Sameer Naik
caae021e9d install: touch log/production.log so that it is owned by user git 2014-04-11 21:20:38 +05:30
Sameer Naik
6d8af31c89 setup log rotation via logrotate 2014-04-11 21:20:02 +05:30
Matthias Rolke
5cc2a622a7 fix permission of /var/lib/mysql in case it is mounted 2014-04-11 21:19:01 +05:30
Matthias Rolke
3f2589801f update to ruby 2.0, gitlabhq 6.3.0 and gitlab-shell 1.7.9 2014-04-11 21:18:49 +05:30
Sameer Naik
f9b52e9a54 start: check DB exists, create db and grant permissions in the same code block 2014-04-11 21:13:35 +05:30
Sameer Naik
c64a1fa7da start: use the DB_ env variables in the MYSQL CREATE and GRANT commands. 2014-04-11 21:13:35 +05:30
Sameer Naik
dd44c2b6cd install: do not delete contents of /var/lib/mysql/
We now use mysql commands to check of the database exists.
2014-04-11 21:13:35 +05:30
Sameer Naik
4263e85730 start: use the mysql password if specified in the mysql server status check. 2014-04-11 21:13:35 +05:30
Sameer Naik
7bc4deb582 start: added an interactive timeout of 120 seconds for mysqld server to start. 2014-04-11 21:13:35 +05:30
Sameer Naik
9127a22868 authoized_keys: removed my public ssh key from authorized keys 2014-04-11 21:13:34 +05:30
Sameer Naik
49e06daedd fix sshd command 2014-04-11 21:13:34 +05:30
Sameer Naik
0ed22d8372 delete mysql database files at build 2014-04-11 21:13:34 +05:30
Sameer Naik
59511f48be start: automatically initialize the local mysql database only if /var/lib/mysql/mysql directory does not exist. 2014-04-11 21:13:34 +05:30
Sameer Naik
129d943189 set redis run directory to /tmp 2014-04-11 21:13:34 +05:30
Sameer Naik
45feb2cf58 fix supervisord config for redis-server 2014-04-11 21:13:33 +05:30
Sameer Naik
d4a173c8bb use cat instead of tee 2014-04-11 21:13:31 +05:30
Sameer Naik
bac26933b8 configure redis for gitlab-shell 2014-04-11 21:13:03 +05:30
Sameer Naik
157f4166a8 start: added SIDEKIQ_CONCURRENCY env variable to configure the concurrency level of sidekiq 2014-04-11 21:13:03 +05:30
Sameer Naik
9330660032 start: added DB_POOL env variable to specify the db connection pool size 2014-04-11 21:13:03 +05:30
Sameer Naik
1633df8d3f start redis-server using supervisord 2014-04-11 21:13:03 +05:30
Sameer Naik
deec44fe44 start mysqld using supervisord 2014-04-11 21:13:02 +05:30
Sameer Naik
1ba0f1f8a2 start nginx using supervisord 2014-04-11 21:13:02 +05:30
Sameer Naik
3e35f576ae start openssh-server using supervisord 2014-04-11 21:13:02 +05:30
Sameer Naik
9cb60619d6 install supervisor daemon. 2014-04-11 21:12:51 +05:30
Sameer Naik
b1c87c5f6c added REDIS_HOST and REDIS_PORT env variables configure the location of the redis server
If not specified, a redis server is spawned locally.
2014-04-11 21:09:34 +05:30
Sameer Naik
caa339825c run the gitlab:satellites:create rake task after starting the gitlab server 2014-04-11 21:09:33 +05:30
Sameer Naik
7ee2f90ca2 update the /home/git/gitlab-satellites/ directory permissions, incase it is mounted as a volume 2014-04-11 21:09:33 +05:30
Sameer Naik
a1bd58f246 added UNICORN_WORKERS env to setup number of unicorn workers 2014-04-11 21:09:33 +05:30
Sameer Naik
7628d269c1 start: added GITLAB_SUPPORT env variable to specify the support email address. 2014-04-11 21:09:33 +05:30
Sameer Naik
044c2dd2ea start: added GITLAB_EMAIL env variable to specify the email address from the git user 2014-04-11 21:09:33 +05:30
Sameer Naik
3629b9ea43 start: removed getopts option parsing from start script. parameters should now be set using env variables. 2014-04-11 21:09:33 +05:30
Sameer Naik
cd7c33876b install: moved nginx configuration to install script 2014-04-11 21:09:33 +05:30
Sameer Naik
95ee3b9360 start: moved git user/email config to start script 2014-04-11 21:09:32 +05:30
Sameer Naik
a33c170e7e start: only configure the server url on the gitlab application, leave gitlab-shell and nginx hostname as localhost 2014-04-11 21:09:32 +05:30
Sameer Naik
22c6bfbc4b start: fix tail command 2014-04-11 21:09:32 +05:30