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
Jérome Perrin
gitlab-ce
Commits
2b7e6e99
Commit
2b7e6e99
authored
Jul 25, 2016
by
Alejandro Rodríguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ENV variable to skip repository storages validations
parent
9fead2b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG
CHANGELOG
+1
-0
config/initializers/6_validations.rb
config/initializers/6_validations.rb
+1
-1
No files found.
CHANGELOG
View file @
2b7e6e99
...
@@ -13,6 +13,7 @@ v 8.11.0 (unreleased)
...
@@ -13,6 +13,7 @@ v 8.11.0 (unreleased)
v 8.10.2 (unreleased)
v 8.10.2 (unreleased)
- User can now search branches by name. !5144
- User can now search branches by name. !5144
- Add ENV variable to skip repository storages validations
- Fix backup restore. !5459
- Fix backup restore. !5459
- Use project ID in repository cache to prevent stale data from persisting across projects. !5460
- Use project ID in repository cache to prevent stale data from persisting across projects. !5460
...
...
config/initializers/6_validations.rb
View file @
2b7e6e99
...
@@ -26,4 +26,4 @@ def validate_storages
...
@@ -26,4 +26,4 @@ def validate_storages
end
end
end
end
validate_storages
unless
Rails
.
env
.
test?
validate_storages
unless
Rails
.
env
.
test?
||
ENV
[
'SKIP_STORAGE_VALIDATION'
]
==
'true'
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