BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2f0d0b51
Commit
2f0d0b51
authored
Feb 16, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not use --force command argument for yarn
parent
eca18c0b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
installation.md
doc/install/installation.md
+1
-1
8.16-to-8.17.md
doc/update/8.16-to-8.17.md
+1
-1
yarn.rake
lib/tasks/yarn.rake
+1
-1
No files found.
doc/install/installation.md
View file @
2f0d0b51
...
@@ -468,7 +468,7 @@ Check if GitLab and its environment are configured correctly:
...
@@ -468,7 +468,7 @@ Check if GitLab and its environment are configured correctly:
### Compile Assets
### Compile Assets
sudo -u git -H yarn install --
force
--pure-lockfile
sudo -u git -H yarn install --
production
--pure-lockfile
sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
### Start Your GitLab Instance
### Start Your GitLab Instance
...
...
doc/update/8.16-to-8.17.md
View file @
2f0d0b51
...
@@ -118,7 +118,7 @@ sudo -u git -H bundle clean
...
@@ -118,7 +118,7 @@ sudo -u git -H bundle clean
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
# Install/update frontend asset dependencies
# Install/update frontend asset dependencies
sudo
-u
git
-H
yarn
install
--
force
--pure-lockfile
sudo
-u
git
-H
yarn
install
--
production
--pure-lockfile
# Clean up assets and cache
# Clean up assets and cache
sudo
-u
git
-H
bundle
exec
rake gitlab:assets:clean gitlab:assets:compile cache:clear
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gitlab:assets:clean gitlab:assets:compile cache:clear
RAILS_ENV
=
production
...
...
lib/tasks/yarn.rake
View file @
2f0d0b51
...
@@ -24,7 +24,7 @@ namespace :yarn do
...
@@ -24,7 +24,7 @@ namespace :yarn do
desc
'Install Node dependencies with Yarn'
desc
'Install Node dependencies with Yarn'
task
install:
[
'yarn:available'
]
do
task
install:
[
'yarn:available'
]
do
unless
system
(
'yarn install --
force --
pure-lockfile --ignore-engines'
)
unless
system
(
'yarn install --pure-lockfile --ignore-engines'
)
abort
'Error: Unable to install node modules.'
.
color
(
:red
)
abort
'Error: Unable to install node modules.'
.
color
(
:red
)
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment