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
0ab64c0d
Commit
0ab64c0d
authored
Feb 11, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
62e746b8
8886924c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
.gitlab-ci.yml
.gitlab-ci.yml
+2
-4
lib/gitlab/patch/sprockets_base_file_digest_key.rb
lib/gitlab/patch/sprockets_base_file_digest_key.rb
+1
-1
No files found.
.gitlab-ci.yml
View file @
0ab64c0d
...
@@ -511,13 +511,11 @@ flaky-examples-check:
...
@@ -511,13 +511,11 @@ flaky-examples-check:
.assets-compile-cache
:
&assets-compile-cache
.assets-compile-cache
:
&assets-compile-cache
cache
:
cache
:
key
:
"
assets-compile:vendor_ruby:.yarn-cache:tmp_cache_assets_sprockets:v
4
"
key
:
"
assets-compile:vendor_ruby:.yarn-cache:tmp_cache_assets_sprockets:v
5
"
paths
:
paths
:
-
vendor/ruby/
-
vendor/ruby/
-
.yarn-cache/
-
.yarn-cache/
# We have disabled caching of sprockets for now, as it fails to pick up changes in SCSS:
-
tmp/cache/assets/sprockets
# https://gitlab.com/gitlab-org/gitlab-ce/issues/57431
# - tmp/cache/assets/sprockets
compile-assets
:
compile-assets
:
<<
:
*dedicated-runner
<<
:
*dedicated-runner
...
...
lib/gitlab/patch/sprockets_base_file_digest_key.rb
View file @
0ab64c0d
...
@@ -9,7 +9,7 @@ module Gitlab
...
@@ -9,7 +9,7 @@ module Gitlab
def
file_digest
(
path
)
def
file_digest
(
path
)
if
stat
=
self
.
stat
(
path
)
if
stat
=
self
.
stat
(
path
)
digest
=
self
.
stat_digest
(
path
,
stat
)
digest
=
self
.
stat_digest
(
path
,
stat
)
integrity_uri
=
self
.
hexdigest_
integrity_uri
(
digest
)
integrity_uri
=
self
.
integrity_uri
(
digest
)
key
=
Sprockets
::
UnloadedAsset
.
new
(
path
,
self
).
file_digest_key
(
integrity_uri
)
key
=
Sprockets
::
UnloadedAsset
.
new
(
path
,
self
).
file_digest_key
(
integrity_uri
)
cache
.
fetch
(
key
)
do
cache
.
fetch
(
key
)
do
...
...
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