Add ENV variable to skip repository storages validations

This commit is contained in:
Alejandro Rodríguez 2016-07-25 13:48:40 -04:00
parent 9fead2b827
commit 2b7e6e99ed
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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'