Commit graph

87 commits

Author SHA1 Message Date
Praveen Arimbrathodiyil
4a4a221846 use source and export only required variables 2017-03-17 22:27:14 +05:30
Praveen Arimbrathodiyil
1cdb908f64 move path setting used only in post* outside /etc 2017-03-13 14:33:48 +05:30
Praveen Arimbrathodiyil
43da0d9f91 copy gitlab_yml correcly 2017-02-20 18:47:40 +05:30
Praveen Arimbrathodiyil
15cca163fd gitlab.yml is not gz now 2017-02-20 18:16:58 +05:30
Praveen Arimbrathodiyil
80f8263a91 fix gitlab-debian.conf bootstrap 2017-02-20 17:21:01 +05:30
Praveen Arimbrathodiyil
0c01eefe99 update install file and nginx conf files 2017-02-20 17:03:20 +05:30
Praveen Arimbrathodiyil
379bb93191 use /usr/lib/gitlab/templates for config templates 2017-02-20 16:41:19 +05:30
Praveen Arimbrathodiyil
a93ae2eb50 remove hard coded gitlab user 2017-02-16 17:35:01 +05:30
Praveen Arimbrathodiyil
585d4a4df2 read gitlab_user from debconf 2017-02-16 16:35:08 +05:30
Praveen Arimbrathodiyil
26cf41833b manage tmpfiles.d/gitlab.conf via ucf 2017-02-15 12:55:30 +05:30
Praveen Arimbrathodiyil
daece03c7a add dpkg trigger to recreate Gemfile.lock 2016-12-08 23:46:56 +05:30
Praveen Arimbrathodiyil
d6bd3b07be move gitlab check to its own script 2016-10-01 16:11:47 +05:30
Dmitry Smirnov
be299832ee fix failure to start masked gitlab.service after reinstall.
Essentially problem is due to L:maintainer-script-should-not-use-service [1]:
 postinst invoke `rake-tasks.sh` which tries to start gitlab using "service gitlab start"
 before debhelper-generated scripts that unmask "gitlab.service".

 This commit modifies postinst to run "rake gitlab:check" after #DEBHELPER#
 scripts that take care of starting GitLab (which is no longer started by
 `rake-tasks.sh`).

 [1]: https://lintian.debian.org/tags/maintainer-script-should-not-use-service.html
2016-09-26 13:50:23 +10:00
Praveen Arimbrathodiyil
1c8b469376 create .bundle directory 2016-09-18 15:07:16 +05:30
Praveen Arimbrathodiyil
72532ad17c remove development, test from bundle install 2016-09-18 12:59:36 +05:30
Praveen Arimbrathodiyil
5bf8445034 don't fail when .ssh exist 2016-07-26 15:03:20 +05:30
Praveen Arimbrathodiyil
184238ef63 create .ssh/authorized_keys in postinst 2016-07-20 23:09:19 +05:30
Dmitry Smirnov
0e43ba3ff5 Do not leave dangling symlinks behind after purge 2016-07-18 03:39:35 +10:00
Praveen Arimbrathodiyil
a00a4d5093 fix config file handling 2016-07-14 20:33:33 +05:30
Praveen Arimbrathodiyil
398a37ae59 use maintscript 2016-06-19 20:17:07 +05:30
Praveen Arimbrathodiyil
2c47b94326 create /etc/gitlab-shell 2016-06-03 22:35:20 +05:30
Praveen Arimbrathodiyil
f17c0f5a1b use ucf for gitlab-shell config 2016-06-03 21:46:33 +05:30
Praveen Arimbrathodiyil
d286940d3c create letsencrypt links always 2016-06-03 16:20:17 +05:30
Praveen Arimbrathodiyil
9d6cc9736b check if nginx site dir exist 2016-06-02 21:00:49 +05:30
Praveen Arimbrathodiyil
1463b74c07 formatting changes 2016-04-08 17:03:46 +05:30
Praveen Arimbrathodiyil
39a2bfd88a make nginx optional, use ucf for conf files 2016-04-08 17:00:57 +05:30
Praveen Arimbrathodiyil
8020a96a01 don't overwrite nginx configuration 2016-04-08 00:24:03 +05:30
Praveen Arimbrathodiyil
7ef398a164 make builds writeable 2016-04-05 14:27:56 +05:30
Praveen Arimbrathodiyil
cba29a1faf fix uploads permission 2016-04-05 12:15:30 +05:30
Praveen Arimbrathodiyil
404502f470 check if letsencrypt cert is already present 2016-04-04 23:12:52 +05:30
Praveen Arimbrathodiyil
6206489e19 use unicode, check db exist 2016-04-04 22:39:31 +05:30
Praveen Arimbrathodiyil
af5ffd6d09 make uploads directory permissions 0700 2016-04-02 19:50:36 +05:30
Praveen Arimbrathodiyil
3b26830969 create cache in /var/lib/gitlab 2016-02-18 22:42:43 +05:30
Praveen Arimbrathodiyil
7fc97ee4a2 overwrite broken links 2016-02-18 22:04:43 +05:30
Praveen Arimbrathodiyil
d5e765bbfe .secret file has to be created 2016-02-18 22:00:42 +05:30
Praveen Arimbrathodiyil
beb47e181f .secret may be a symlink 2016-02-18 19:26:48 +05:30
Praveen Arimbrathodiyil
ad6b514bd3 overwrite Gemfile.lock link 2016-02-18 19:09:00 +05:30
Praveen Arimbrathodiyil
ae820c4aeb check for .secret existence before creating 2016-02-18 19:04:50 +05:30
Praveen Arimbrathodiyil
2e61a668a2 create .secret in /var/lib/gitlab 2016-02-18 18:59:05 +05:30
Praveen Arimbrathodiyil
a4e59c05d8 move Gemfile.lock to /var/lib/gitlab 2016-02-18 18:39:34 +05:30
Praveen Arimbrathodiyil
b0967c9241 remove ownership of gitlab_app_root 2016-02-18 18:14:36 +05:30
Praveen Arimbrathodiyil
354d864101 move public to /var/lib/gitlab 2016-02-18 17:30:10 +05:30
Praveen Arimbrathodiyil
3974530347 xargs is not necessary 2016-02-18 14:52:26 +05:30
Praveen Arimbrathodiyil
3ba2b5b56c change gitlab_home to gitlab_app_root 2016-02-18 14:31:41 +05:30
Praveen Arimbrathodiyil
6ba4b8a918 install gitlab.conf to tmpfiles.d 2016-02-16 12:14:22 +05:30
Praveen Arimbrathodiyil
c40b9fc787 move uploads to /var 2016-02-13 20:38:31 +05:30
Praveen Arimbrathodiyil
58ebc5700a don't fail if the directory exist 2016-02-13 20:14:10 +05:30
Praveen Arimbrathodiyil
f57fd08e4e create log, pid and socket paths 2016-02-13 18:01:11 +05:30
Praveen Arimbrathodiyil
b42334ad96 stop nginx and retrieve letsencrypt cert 2016-02-11 01:37:24 +05:30
Praveen Arimbrathodiyil
3a1a6bd420 export all variables in gitlab-debian.conf 2016-02-09 22:41:02 +05:30