gitlab_config 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gitlab_config/source/s3.rb +1 -0
- data/lib/gitlab_config/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 155b8bd1d8f757dd59f318bc2c05716044a28b69
|
4
|
+
data.tar.gz: c595a21eeaafa3c5f0574663d00f012db2b6aa42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb3cd0df7a152c2aa678545ee9e1ff8bdc2daa342f0e40e9645cd4246a5dfb1227d7fc6b79aed31cda8cf8b0f0690f8f7e2c8240d6e6fbb3fefba37a61154202
|
7
|
+
data.tar.gz: 3f8b00c2289ae4e472ab7c77a0a458efe126c4dd64c0b28d39f769a0c0f077028ed09584d01f3ff00ba13240f5d1a931964214190207e4714d164e6eaafcc258
|
@@ -18,6 +18,7 @@ module GitlabConfig
|
|
18
18
|
|
19
19
|
# Get configuration will download the file read it
|
20
20
|
def get_configuration(options)
|
21
|
+
Aws.config.update({region: @region})
|
21
22
|
download_path = "/tmp/#{options.fetch(:file)}"
|
22
23
|
|
23
24
|
object = Aws::S3::Object.new(options.fetch(:bucket), options.fetch(:file), client: client)
|