Pirate Praveen
e9e692c89c
install regexpu-core from npm
2017-09-19 21:47:32 +05:30
Pirate Praveen
e71e374c7f
loaders can't be found in system path now
2017-09-15 14:00:46 +05:30
Pirate Praveen
369acfbadf
use ln -sf
2017-09-12 17:42:58 +05:30
Pirate Praveen
28a5621974
remove npm pulled webpack
2017-09-09 22:17:18 +05:30
Pirate Praveen
0fca49167d
symlink raw-loader and exports-loader to node_modules
2017-09-09 14:58:20 +05:30
Pirate Praveen
3fc2774930
add config option to webpack
2017-09-04 10:53:19 +05:30
Pirate Praveen
bf943ef801
use system webpack
2017-09-04 10:11:15 +05:30
Pirate Praveen
558f194c06
run webpack target instead of webpack-prod
2017-09-01 17:19:32 +05:30
Pirate Praveen
14d8f10bf7
run webpack
2017-08-22 19:19:31 +05:30
Pirate Praveen
e7f6290a1e
use npm install for front end dependencies
2017-08-22 17:03:57 +05:30
Praveen Arimbrathodiyil
54f0d8896a
use -- sh -c for runuser
2017-04-21 15:03:54 +05:30
Praveen Arimbrathodiyil
993946077e
switch to using runuser from su
2017-04-21 13:50:40 +05:30
Praveen Arimbrathodiyil
4a4a221846
use source and export only required variables
2017-03-17 22:27:14 +05:30
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