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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
cdf6974d
Commit
cdf6974d
authored
May 07, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Speedup danger-review by caching node_modules instead of .yarn-cache
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
fb35f5d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
.gitlab/ci/global.gitlab-ci.yml
.gitlab/ci/global.gitlab-ci.yml
+9
-0
.gitlab/ci/review.gitlab-ci.yml
.gitlab/ci/review.gitlab-ci.yml
+3
-4
No files found.
.gitlab/ci/global.gitlab-ci.yml
View file @
cdf6974d
...
...
@@ -29,6 +29,15 @@
-
vendor/gitaly-ruby
policy
:
pull
.yarn-cache
:
cache
:
key
:
files
:
-
yarn.lock
prefix
:
"
v1"
paths
:
-
node_modules/
.use-pg9
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.26-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34"
services
:
...
...
.gitlab/ci/review.gitlab-ci.yml
View file @
cdf6974d
...
...
@@ -227,13 +227,12 @@ parallel-spec-reports:
danger-review
:
extends
:
-
.default-retry
-
.
default
-cache
-
.
yarn
-cache
-
.review:rules:danger
image
:
registry.gitlab.com/gitlab-org/gitlab-build-images:danger
stage
:
test
needs
:
[]
script
:
-
git version
-
node --version
-
yarn install --frozen-lockfile --cache-folder .yarn-cache --prefer-offline
-
source scripts/utils.sh
-
retry yarn install --frozen-lockfile
-
danger --fail-on-errors=true --verbose
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