[DRE-commits] [gitlab] 07/07: run webpack
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Aug 22 13:50:28 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 14d8f10bf73ed0317444d096b259c5dbb8715999
Author: Pirate Praveen <praveen at debian.org>
Date: Tue Aug 22 19:19:31 2017 +0530
run webpack
---
debian/rake-tasks.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh
index 0176208..de0e67e 100755
--- a/debian/rake-tasks.sh
+++ b/debian/rake-tasks.sh
@@ -26,7 +26,9 @@ fi
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-prod'
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