diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-07-25 20:48:40 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-07-25 20:48:40 +0300 |
commit | 2b7e6e99ed78b525eaa7f9e034b9bcf1e4fc5746 (patch) | |
tree | 97f92fd44fba435d00338ef2beb5622795b3b50e | |
parent | 9fead2b8271c4f3bb6c04a596253f80b09de9caa (diff) |
Add ENV variable to skip repository storages validations
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | config/initializers/6_validations.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG index 4d2c281b82d..bddfe3ae102 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ v 8.11.0 (unreleased) v 8.10.2 (unreleased) - User can now search branches by name. !5144 + - Add ENV variable to skip repository storages validations - Fix backup restore. !5459 - Use project ID in repository cache to prevent stale data from persisting across projects. !5460 diff --git a/config/initializers/6_validations.rb b/config/initializers/6_validations.rb index 37746968675..d92f64e1647 100644 --- a/config/initializers/6_validations.rb +++ b/config/initializers/6_validations.rb @@ -26,4 +26,4 @@ def validate_storages end end -validate_storages unless Rails.env.test? +validate_storages unless Rails.env.test? || ENV['SKIP_STORAGE_VALIDATION'] == 'true' |