-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test failures caused by fog-aws upgrade
- Bumps fog-core to 2.1.2 instead of 2.2.4 because the latest version of fog-google is incompatible with fog-core > 2.1.0 - Pin fog-google to 1.7.1 based [a recommendation](fog/fog-google#422 (comment)) from one of the fog-google maintainers. - Temporarily disables fog deprecation warnings when loading in the various fog gems because several of them haven't updated all their modules/classes to use the new Fog::<provider>::<service> structure. [#180880562] Co-authored-by: Tom Viehman <[email protected]> Co-authored-by: Seth Boyles <[email protected]>
- Loading branch information
1 parent
25b9d5f
commit 84c33cc
Showing
5 changed files
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
require 'fog/core' | ||
|
||
# This can be removed once fog-google fixes | ||
# https://github.com/fog/fog-google/issues/421, which will allow us to upgrade | ||
# fog-core to 2.2.4. | ||
original = Fog::Logger[:deprecation] | ||
Fog::Logger[:deprecation] = nil | ||
|
||
require 'fog/aliyun' | ||
# Hack until https://github.com/fog/fog-aliyun/pull/155 is merged and released | ||
Fog::Aliyun::Compute = Fog::Compute::Aliyun | ||
|
||
require 'fog/aws' | ||
require 'fog/local' | ||
require 'fog/google' | ||
require 'fog/azurerm' | ||
require 'fog/openstack' | ||
|
||
Fog::Logger[:deprecation] = original |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters