Commit graph

90 commits

Author SHA1 Message Date
Pirate Praveen
fa5f0e7560 Switch to using structure.sql from schema.rb for database initialization 2020-06-29 16:38:26 +05:30
Pirate Praveen
f9e0ea3581 Drop work around for missing assets/select2.png (not required in
NODE_ENV=production mode for webpack)
2020-04-12 18:19:10 +05:30
vv221
9d95c466b0 Build assets generated by webpack in production mode
Fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956508
Fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927297
2020-04-12 10:16:22 +02:00
Pirate Praveen
63298a3ec1 Remove --max-old-path option to webpack (correctly passed in NODE_OPTIONS) 2020-04-11 19:53:13 +05:30
Pirate Praveen
1e3087460f Pass NODE_OPTIONS="--max-old-space-size=2048" to webpack to work with nodejs 10 2020-04-11 00:46:45 +05:30
Pirate Praveen
b0746d46d1 Add a work around for missing assets/select2.png error on web console 2020-04-03 17:43:56 +05:30
Pirate Praveen
e581225eda Check if yarn cache directory is present before updating permissions 2019-11-29 20:56:11 +05:30
Utkarsh Gupta
f871274f6f v4 -> v6 2019-11-02 01:16:06 +05:30
Pirate Praveen
72723286f7 Switch to packaged version of webpack 2019-08-08 15:17:34 +05:30
Utkarsh Gupta
5cdc6a46c3 Do not use --frozen-lockfile with yarnpkg 2019-05-18 01:30:26 +05:30
Pirate Praveen
632e36e758 Remove dependency on npm and use yarnpkg directly instead 2019-03-15 22:26:20 +05:30
Pirate Praveen
f01e92ca67 Create target file of secrets.yml symbolic link 2019-03-06 19:57:08 +05:30
Sruthi Chandran
ae03eadb7b Set path for yarn 2018-12-27 15:53:07 +05:30
Pirate Praveen
739cdc7332 Explicitly call /usr/bin/bundle to avoid gem installed bundler 2018-12-18 12:14:07 +05:30
Pirate Praveen
b3919618a3 Remove world write permissions of .yarn-metadata.json files 2018-12-15 00:23:51 +05:30
Pirate Praveen
1b01282ee4 Use upstream provided yarn.lock file 2018-10-18 17:13:12 +05:30
Pirate Praveen
f0628bd24c Use yarn installed webpack 2018-05-02 17:29:48 +05:30
Pirate Praveen
b998560fec isolate yarn to its own directory 2018-03-22 21:16:18 +05:30
Pirate Praveen
b595094f3f lock ajv-keywords to 2.1.1 2018-03-21 21:51:46 +05:30
Pirate Praveen
3ddd53cf97 Switch to yarn from npm 2018-03-21 10:39:39 +05:30
Pirate Praveen
1a1d85effb lock ajv-keywords@2.1 for npm 2018-03-20 22:50:11 +05:30
Pirate Praveen
eba77b60b9 document-register-element is locked to 1.3.0 already 2018-03-20 22:05:56 +05:30
Pirate Praveen
24f4a7496e Locales should be compiled before precompiling assets 2018-03-01 23:45:05 +05:30
Pirate Praveen
cda4589813 remove webpack-bundle-analyzer 2018-02-26 16:52:34 +05:30
Pirate Praveen
d67fcacee2 libjs-atwho package now works, removing the workaround 2018-02-25 19:11:11 +05:30
Pirate Praveen
f2d44084dc build locales 2018-02-23 00:00:41 +05:30
Pirate Praveen
9e82ee6d91 Use jquery from system for compatibility with at.js in node_modules 2018-02-14 20:09:31 +05:30
Pirate Praveen
286257652b Add workaround for broken libjs-jquery-atwho (#890391) 2018-02-14 17:18:49 +05:30
Pirate Praveen
6725cd44d0 needs a newer npm for @ support in module names 2018-02-14 14:44:28 +05:30
Pirate Praveen
46c7d8d897 fix permissions for .gitlab_shell_secret 2017-12-25 23:50:56 +05:30
Pirate Praveen
7c5d6cd0dd Fix first time installation issues 2017-12-13 00:51:58 +05:30
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