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
d8a66160
Commit
d8a66160
authored
Apr 10, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump recommended Redis version from 4.0 to 5.0
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
3c2c533b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
changelogs/unreleased/327197-deprecate-redis-4-on-rake-gitlab-check.yml
...eleased/327197-deprecate-redis-4-on-rake-gitlab-check.yml
+5
-0
lib/system_check/app/redis_version_check.rb
lib/system_check/app/redis_version_check.rb
+3
-1
No files found.
changelogs/unreleased/327197-deprecate-redis-4-on-rake-gitlab-check.yml
0 → 100644
View file @
d8a66160
---
title
:
Bump recommended Redis version from 4.0 to
5.0
merge_request
:
59072
author
:
Takuya Noguchi
type
:
deprecated
lib/system_check/app/redis_version_check.rb
View file @
d8a66160
...
@@ -5,8 +5,10 @@ require 'redis'
...
@@ -5,8 +5,10 @@ require 'redis'
module
SystemCheck
module
SystemCheck
module
App
module
App
class
RedisVersionCheck
<
SystemCheck
::
BaseCheck
class
RedisVersionCheck
<
SystemCheck
::
BaseCheck
# Redis 4.x will be deprecated
# https://gitlab.com/gitlab-org/gitlab/-/issues/327197
MIN_REDIS_VERSION
=
'4.0.0'
MIN_REDIS_VERSION
=
'4.0.0'
RECOMMENDED_REDIS_VERSION
=
'
4.0.0'
# In future we may deprecate but still support Redis 4
RECOMMENDED_REDIS_VERSION
=
'
5.0.0'
set_name
"Redis version >=
#{
RECOMMENDED_REDIS_VERSION
}
?"
set_name
"Redis version >=
#{
RECOMMENDED_REDIS_VERSION
}
?"
@custom_error_message
=
''
@custom_error_message
=
''
...
...
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