[DRE-commits] [gitlab] 02/07: use system webpack

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Sep 6 17:49:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master-9.2
in repository gitlab.

commit bf943ef8013f71eeedd5fe8911eb250289b03d36
Author: Pirate Praveen <praveen at debian.org>
Date:   Mon Sep 4 10:11:15 2017 +0530

    use system webpack
---
 debian/rake-tasks.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index 086c9ca..84a1776 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -28,7 +28,7 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
 echo "Installing node modules"
 runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules'
 runuser -u ${gitlab_user} -- sh -c 'npm install'
-runuser -u ${gitlab_user} -- sh -c 'npm run webpack'
+runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack'
 
 echo "Precompiling assets..."
 runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list