Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
e5a18cd7
Commit
e5a18cd7
authored
May 12, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
instruct yarn to utilize the persistant .yarn-cache directory
parent
84199f19
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
.gitignore
.gitignore
+1
-0
.gitlab-ci.yml
.gitlab-ci.yml
+4
-2
No files found.
.gitignore
View file @
e5a18cd7
...
@@ -18,6 +18,7 @@ eslint-report.html
...
@@ -18,6 +18,7 @@ eslint-report.html
.sass-cache/
.sass-cache/
/.secret
/.secret
/.vagrant
/.vagrant
/.yarn-cache
/.byebug_history
/.byebug_history
/Vagrantfile
/Vagrantfile
/backups/*
/backups/*
...
...
.gitlab-ci.yml
View file @
e5a18cd7
...
@@ -4,6 +4,7 @@ cache:
...
@@ -4,6 +4,7 @@ cache:
key
:
"
ruby-233"
key
:
"
ruby-233"
paths
:
paths
:
-
vendor/ruby
-
vendor/ruby
-
.yarn-cache
variables
:
variables
:
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
1"
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
1"
...
@@ -186,7 +187,7 @@ setup-test-env:
...
@@ -186,7 +187,7 @@ setup-test-env:
stage
:
prepare
stage
:
prepare
script
:
script
:
-
node --version
-
node --version
-
yarn install --pure-lockfile
-
yarn install --pure-lockfile
--cache-folder .yarn-cache
-
bundle exec rake gitlab:assets:compile
-
bundle exec rake gitlab:assets:compile
-
bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
-
bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts
:
artifacts
:
...
@@ -400,7 +401,8 @@ rake gitlab:assets:compile:
...
@@ -400,7 +401,8 @@ rake gitlab:assets:compile:
SKIP_STORAGE_VALIDATION
:
"
true"
SKIP_STORAGE_VALIDATION
:
"
true"
WEBPACK_REPORT
:
"
true"
WEBPACK_REPORT
:
"
true"
script
:
script
:
-
bundle exec rake yarn:install gitlab:assets:compile
-
yarn install --pure-lockfile --production --cache-folder .yarn-cache
-
bundle exec rake gitlab:assets:compile
artifacts
:
artifacts
:
name
:
webpack-report
name
:
webpack-report
expire_in
:
31d
expire_in
:
31d
...
...
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