Make yarn.lock writable temporarily
This commit is contained in:
parent
d609caa84c
commit
7653571603
1 changed files with 3 additions and 0 deletions
3
debian/rake-tasks.sh
vendored
3
debian/rake-tasks.sh
vendored
|
@ -29,6 +29,9 @@ runuser -u ${gitlab_user} -- sh -c '/usr/bin/bundle exec rake db:migrate'
|
|||
# Restrict permissions for secret files
|
||||
chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
|
||||
|
||||
# Make yarn.lock writable temporarily
|
||||
chmod 777 yarn.lock
|
||||
|
||||
echo "Installing node modules..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/.node_modules'
|
||||
runuser -u ${gitlab_user} -- sh -c 'yarnpkg install'
|
||||
|
|
Loading…
Add table
Reference in a new issue