Merge branch '20124-disable-repository-validation-during-precompile-step' into 'master'

Add ENV variable to skip repository storages validations

Closes #20124

See merge request !5478
This commit is contained in:
Stan Hu 2016-07-27 02:09:11 +00:00
commit 680d361c83
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,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
- Rescue Rugged::OSError (lock exists) when creating references. !5497 - Rescue Rugged::OSError (lock exists) when creating references. !5497
- Disable MySQL foreign key checks before dropping all tables. !5472 - Disable MySQL foreign key checks before dropping all tables. !5472

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'