Commit graph

96 commits

Author SHA1 Message Date
Praveen Arimbrathodiyil a04ef9fcd0 use gitlab_data_dir variable instead of gitlab_home 2016-10-01 16:37:22 +05:30
Praveen Arimbrathodiyil d6bd3b07be move gitlab check to its own script 2016-10-01 16:11:47 +05:30
Praveen Arimbrathodiyil ef145c1ca9 create db/schema.rb only in postinst 2016-10-01 15:08:03 +05:30
Dmitry Smirnov 6f15d802bd rake-tasks: "set -e"; cd to "/usr/share/gitlab". 2016-09-26 14:49:28 +10:00
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 ac32bfc38e use gitlab provided code to generate secrets.yml 2016-09-17 14:38:57 +05:30
Praveen Arimbrathodiyil d806b1d4c5 clear assets cache before precompile 2016-08-31 13:33:35 +05:30
Praveen Arimbrathodiyil 7869d2a3f7 skip gitlab🐚install 2016-07-20 20:13:31 +05:30
Dmitry Smirnov 2e41d2b0a3 Rewrite terrible upstream .service files:
* added meta "gitlab.service" that work alike corresponding init.d script
 * new .service files with support for "reload" and propagation of "reload" from "gitlab.service"
 * non-forking PIDFILE-less implementation

This commit fixes services' start-up and postinst error on first install.
2016-07-18 04:15:13 +10:00
Praveen Arimbrathodiyil 398a37ae59 use maintscript 2016-06-19 20:17:07 +05:30
Praveen Arimbrathodiyil 18ccf5e5b8 use maintscript helper to remove conffile 2016-06-19 17:35:30 +05:30
Praveen Arimbrathodiyil 17de5f1790 remove devise-async.rb 2016-06-19 16:47:40 +05:30
Praveen Arimbrathodiyil 39a2bfd88a make nginx optional, use ucf for conf files 2016-04-08 17:00:57 +05:30
Praveen Arimbrathodiyil 81630832e5 remove gitlab_conf variable 2016-04-05 21:31:44 +05:30
Praveen Arimbrathodiyil 9649e3b1dc move permissions change after gitlab shell is set 2016-04-05 21:12:05 +05:30
Praveen Arimbrathodiyil 869a24f41e change ownership and more checks 2016-04-05 21:06:24 +05:30
Praveen Arimbrathodiyil 35848950c3 restrict file permissions for secrets 2016-04-05 12:37:43 +05:30
Praveen Arimbrathodiyil 2d8014dee1 run migrations when db exist 2016-04-05 12:17:23 +05:30
Praveen Arimbrathodiyil 6206489e19 use unicode, check db exist 2016-04-04 22:39:31 +05:30
Praveen Arimbrathodiyil 6e94392784 replace gitlab:setup with db:schema:load 2016-03-14 18:58:24 +05:30
Praveen Arimbrathodiyil d5e765bbfe .secret file has to be created 2016-02-18 22:00:42 +05:30
Praveen Arimbrathodiyil d4d931cac0 create secrets.yml 2016-02-18 18:12:32 +05:30
Praveen Arimbrathodiyil 0fad2fabb9 xargs not required 2016-02-18 17:53:04 +05:30
Praveen Arimbrathodiyil 3ba2b5b56c change gitlab_home to gitlab_app_root 2016-02-18 14:31:41 +05:30
Praveen Arimbrathodiyil 9e86aa5a1a switch to su 2016-02-13 23:52:29 +05:30
Praveen Arimbrathodiyil 2734f0a9fc check for empty db before overwriting 2016-02-12 17:32:34 +05:30
Praveen Arimbrathodiyil 651f4d51d5 use simpler export command 2016-02-12 17:24:13 +05:30
Praveen Arimbrathodiyil 78cc74f3c5 don't overwrite existing db 2016-02-12 15:10:19 +05:30
Praveen Arimbrathodiyil 98df064022 fix systemd checking 2016-02-12 01:02:03 +05:30
Praveen Arimbrathodiyil 7b1c595b19 fix systemd check 2016-02-12 00:16:44 +05:30
Praveen Arimbrathodiyil dfb2de91e3 match any hostname 2016-02-09 23:39:08 +05:30
Praveen Arimbrathodiyil 3a1a6bd420 export all variables in gitlab-debian.conf 2016-02-09 22:41:02 +05:30
Praveen Arimbrathodiyil c2604b1c2c add missing space 2016-02-09 21:45:06 +05:30
Praveen Arimbrathodiyil 6fb438e2b0 configure gitlab_url correctly 2016-02-09 20:51:38 +05:30
Praveen Arimbrathodiyil cc11e53141 make gitlab starting conditional (systemd or sysv) 2016-02-04 15:33:53 +05:30
Praveen Arimbrathodiyil 83e4782137 remove export from gitlab-debian.conf for systemd
- so we can use it as EnvironmentFile in systemd services
2016-02-04 13:31:45 +05:30
Praveen Arimbrathodiyil 31e23343a4 start gitlab before gitlab check 2016-01-23 23:02:18 +05:30
Praveen Arimbrathodiyil b8a8f4d7c1 run gitlab:check 2016-01-16 02:16:50 +05:30
Praveen Arimbrathodiyil 8f191e58a6 use tcp for redis 2016-01-15 23:43:54 +05:30
Praveen Arimbrathodiyil 517d4746fd fix space issue 2015-11-10 23:00:48 +05:30
Praveen Arimbrathodiyil d94d1c5ef8 add gitlab shell 2015-11-10 20:57:56 +05:30
Praveen Arimbrathodiyil ec7fd08352 add force=yes for gitlab:setup 2015-11-09 19:02:10 +05:30
Praveen Arimbrathodiyil c191de487d remove db:create, gitlab:setup will do it 2015-11-09 01:04:55 +05:30
Praveen Arimbrathodiyil 57bc1087cc add gitlab:setup task 2015-11-09 00:12:39 +05:30
Praveen Arimbrathodiyil 0a25e32367 install yml files 2015-10-24 12:51:45 +05:30
Praveen Arimbrathodiyil 80939adbee import postinst from diaspora 2015-09-12 15:42:12 +05:30