91 Commits

Author SHA1 Message Date
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
b55017c5db chmod /home/git/data directory. ref #34 2014-07-17 21:23:54 +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
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
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
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
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
Sameer Naik
98f1632416 run sed command as git user whenever possible 2014-05-23 22:38:53 +05:30
Sameer Naik
95d12ca3df pretty startup messages 2014-05-23 22:38:44 +05:30
Shu Sugimoto
8eda25cdf9 add GITLAB_RELATIVE_URL_ROOT configuration option 2014-05-22 10:53:42 +09:00
Sameer Naik
2dd26817a0 added NGINX_MAX_UPLOAD_SIZE configuration option 2014-05-13 14:49:30 +05:30
Sameer Naik
871a6837c5 renamed configuration option GITLAB_SHELL_SSH_PORT to GITLAB_SSH_PORT 2014-05-12 13:38:12 +05:30
Sameer Naik
dc032909c1 compiling assets could take a long time. 2014-05-11 22:12:31 +05:30
Sameer Naik
562fe8500e added GITLAB_PROJECTS_VISIBILITY configuration option 2014-05-11 15:03:14 +05:30
Sameer Naik
0649c69302 generate and store ssh host keys at the data store, fixes #62 2014-05-10 16:38:41 +05:30
Sameer Naik
0a21530bc4 set GITLAB_PROJECTS_LIMIT to 100 by default 2014-05-09 12:46:24 +05:30
Sameer Naik
0d589f2787 the SMTP_AUTHENTICATION method should now be specified without the leading ':' 2014-05-09 11:03:06 +05:30
Sameer Naik
b8266c0bf4 set the default value of SMTP_AUTHENTICATION to ':login' if SMTP_USER is set 2014-05-06 11:10:34 +05:30
Sameer Naik
c0e9a9f802 fix SMTP_USER and SMTP_PASS configuration in commit 1da001567b1d1764d0764c5f9eb32d60b292ccad 2014-05-06 11:04:43 +05:30
unknown
8455e5c9f3 If SMTP_AUTHENTICATION is an empty string then remove the smtp_authentication line in smtp config 2014-05-05 15:07:23 -04:00
Sameer Naik
81ef8a135d fix supervisord warning message 2014-05-05 23:13:06 +05:30
LordFPL
924ee1975d Deleting SMTP_USER/PASS when empty
Without this, a plain auth will fail.
2014-05-05 21:30:56 +05:30
Marius Bergmann
df8b20c5c5 Set executable flag on /home/git/data explicitely 2014-05-05 14:39:08 +02:00
Sameer Naik
cbe5c60c56 config: update redis url for all execution environments 2014-05-04 09:19:11 +05:30
Sameer Naik
c713a0cce6 ssl: trust our own server certificate 2014-04-30 21:57:09 +05:30
Sameer Naik
9fd8e4e357 added CA_CERTIFICATES_PATH configuration option to specify trusted root certificates. 2014-04-30 21:56:57 +05:30
Sameer Naik
b8e8f2f6ef removed the kickstart wget request
the application should already be kickstarted when gitlab:check rake
task is executed.
2014-04-29 00:53:06 +05:30
Sameer Naik
f5f7e7786a ssl: check if required files exist before enabling https support 2014-04-29 00:49:31 +05:30