Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab FOSS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab FOSS
Commits
e5a18cd7
Commit
e5a18cd7
authored
7 years ago
by
Mike Greiling
Browse files
Options
Downloads
Patches
Plain Diff
instruct yarn to utilize the persistant .yarn-cache directory
parent
84199f19
No related branches found
No related tags found
2 merge requests
!12073
Add RC2 changes to 9-3-stable
,
!11343
Resolve "Speed up `yarn install` in CI by utilizing inter-pipeline cache"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+4
-2
4 additions, 2 deletions
.gitlab-ci.yml
with
5 additions
and
2 deletions
.gitignore
+
1
−
0
View file @
e5a18cd7
...
...
@@ -18,6 +18,7 @@ eslint-report.html
.sass-cache/
/.secret
/.vagrant
/.yarn-cache
/.byebug_history
/Vagrantfile
/backups/*
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
4
−
2
View file @
e5a18cd7
...
...
@@ -4,6 +4,7 @@ cache:
key
:
"
ruby-233"
paths
:
-
vendor/ruby
-
.yarn-cache
variables
:
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
1"
...
...
@@ -186,7 +187,7 @@ setup-test-env:
stage
:
prepare
script
:
-
node --version
-
yarn install --pure-lockfile
-
yarn install --pure-lockfile
--cache-folder .yarn-cache
-
bundle exec rake gitlab:assets:compile
-
bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts
:
...
...
@@ -400,7 +401,8 @@ rake gitlab:assets:compile:
SKIP_STORAGE_VALIDATION
:
"
true"
WEBPACK_REPORT
:
"
true"
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
:
name
:
webpack-report
expire_in
:
31d
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment