142 Commits

Author SHA1 Message Date
Sameer Naik
1d82220c80 removed "add_header X-Frame-Options DENY" setting from the nginx config. fixes #110 2014-07-30 11:23:03 +05:30
Sameer Naik
265b5ef6ad upgrade to gitlab-ce 7.1.1 2014-07-30 11:15:26 +05:30
Sameer Naik
859ec18fe5 run gitlab init script as git user Closes #103 #74
When the /etc/init.d/gitlab script tries to switch the user to the `git` user, selinux steps in and blocks it. To avoid this we simple run the script as the `git` user using the `sudo -u git -H` command prefix.

In short the image should work with selinux enabled.
2014-07-26 13:24:22 +05:30
Sameer Naik
a7e578d693 added sanity checks for uploads directory 2014-07-22 20:29:33 +05:30
Sameer Naik
ef0a3392ca create of tmp/cache and tmp/public directories during migration 2014-07-22 20:20:01 +05:30
Sameer Naik
ce67d859fd added sanity checks for tmp directory 2014-07-22 20:18:12 +05:30
Sameer Naik
af6577c93f removed GITLAB_SUPPORT configuration option 2014-07-22 20:17:34 +05:30
Sameer Naik
545f8bcf53 set default email address to example@example.com 2014-07-22 20:16:11 +05:30
Sameer Naik
b33fc3e26f upgrade to gitlab-ce 7.1.0 2014-07-22 18:14:00 +05:30
Sameer Naik
7e87854396 fix comment 2014-07-18 20:12:05 +05:30
Sameer Naik
f65d5d6729 clone gitlab-ce and gitlab-shell sources from the git repo. Closes #102 2014-07-18 20:01:21 +05:30
Sameer Naik
b55017c5db chmod /home/git/data directory. ref #34 2014-07-17 21:23:54 +05:30
Sameer Naik
3c9b57a14a sshd: disable pam authentication module. ref #97 2014-07-09 10:28:33 +05:30
Sameer Naik
95ef3c1913 silence setlocale message (#93) 2014-07-02 17:54:53 +05:30
Sameer Naik
a483b2782a update to the sameersbn/ubuntu:14.04.20140628 baseimage 2014-07-01 22:51:06 +05:30
Sameer Naik
ba155d4c47 do not assign a password for root since we do not allow root access
anymore
2014-07-01 22:50:53 +05:30
Sameer Naik
6d1f94b1f2 minify gitlab.https.permissive nginx config 2014-06-27 23:40:57 +05:30
Jens Kohl
7198596f4b Enable SPDY support
nginx comes with SPDY basically for free
2014-06-26 22:23:54 +02:00
Sameer Naik
7868b26b7a removed --local flag from bundle install
bundle automatically uses the cache when available
2014-06-25 13:29:47 +05:30
Sameer Naik
5e7abd9633 upgrade to gitlab-7.0.0 2014-06-21 10:37:35 +05:30
Sameer Naik
a799ee857e nginx: base the ssl nginx configs on gitlab-ssl config 2014-06-20 15:58:42 +05:30
Sameer Naik
de83671531 upgrade to gitlab v.7.0.0-rc1 2014-06-20 15:58:42 +05:30
Sameer Naik
0ad14b8dd4 the 's' flag on files/directories apparently can only be changed by the owner (git), fixes #72 2014-06-19 11:41:16 +05:30
Sameer Naik
c4b6d1f1d3 sanitize: use permission commands as provided by gitlab:check command 2014-06-19 11:37:52 +05:30
Sameer Naik
196f81e6b2 init: fix permissions on gitlab-satellites directory 2014-06-19 11:34:45 +05:30
Sameer Naik
69940300ae nginx: clean up configs 2014-06-18 12:59:44 +05:30
Sameer Naik
ebce045156 ssl: disable gzip compression for https connections 2014-06-18 12:59:25 +05:30
Sameer Naik
679e35cd2a ssl: enable gzip compression for plain http connections 2014-06-18 12:59:08 +05:30
Sameer Naik
98ad28b5de init: cleanup 2014-06-18 12:57:07 +05:30
Sameer Naik
d33960f958 chown repositories and gitlab-satellites directories recursively in app:sanitize command 2014-06-17 22:08:44 +05:30
Sameer Naik
81ae8dff8c init: silence warning while install cron job 2014-06-17 21:18:22 +05:30
Sameer Naik
01cc2e1cae init: command cleanup 2014-06-17 21:15:39 +05:30
Sameer Naik
9f1b92b076 added GITLAB_RESTRICTED_VISIBILITY configuration option, closes #78 2014-06-17 21:13:19 +05:30
Sameer Naik
d433698b67 fix backup restore operation, closes #81 2014-06-14 21:09:53 +05:30
Sameer Naik
15f9b40705 upgrade to gitlab-shell 1.9.6 2014-06-10 23:51:05 +05:30
Sameer Naik
0743c4f53f init: set the DB_TYPE variable only if it has not already been set 2014-06-10 23:50:20 +05:30
Sameer Naik
63f0ef4c0a remove stale unicorn and sidekiq pid's 2014-06-09 09:40:44 +05:30
Sameer Naik
8f7ee0c908 init: moved startup of nginx to appStart function 2014-06-08 22:05:22 +05:30
Sameer Naik
64c7a892b7 rake: fix repositories and satellites directory permissions before executing gitlab:import:repos rake task. 2014-06-08 22:02:22 +05:30
Sameer Naik
d168cc5125 init: do not recursively update repositories and satellites derectories
permissions at startup.

The app:sanitize command can be used instead.
2014-06-08 21:51:15 +05:30
Sameer Naik
5bf8a7e380 init: added app:sanitize command to fix repository and satellites directories permissions 2014-06-08 21:33:51 +05:30
kitsunai
5a0752781f typo 2014-06-06 17:06:22 +09:00
kitsunai
862f5ece36 link to upload size of nginx and gitlabhq 2014-06-06 16:12:34 +09:00
Sameer Naik
9d8c3849d9 automatically migrate database when gitlab version is updated 2014-06-03 23:46:33 +05:30
Sameer Naik
d6e7253062 upgrade to gitlab-shell 1.9.5 2014-06-01 21:59:25 +05:30
Sameer Naik
71e70830e2 upgrade to gitlab-ce 6.9.2 2014-05-30 17:07:01 +05:30
Sameer Naik
8450d92f1b upgrade to gitlab-ce 6.9.1 2014-05-27 16:55:56 +05:30
Sameer Naik
485ef8a3b0 update ca-certificates only if additional certificates exist 2014-05-23 22:38:53 +05:30
Sameer Naik
a23217f163 enable https support even if the ssl keys and certificates are not found
When the ssl keys and certificates are not found, we assume that the
application is running behind a load balancer with SSL support enabled.
2014-05-23 22:38:53 +05:30
Sameer Naik
7e90b62754 init: fix typo in sed execution 2014-05-23 22:38:53 +05:30