ops_deploy 0.1.8 → 0.1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3517b8d5c1981e1c84cf3c14a0e133f8bee3fbdc
4
- data.tar.gz: 30061b9fdf4aefe02028c023138ea62d44a2f5d0
3
+ metadata.gz: 54f62d4dfa5cc56a0b670043c15b78491eb53b29
4
+ data.tar.gz: de65be243fe8611a2122349f63b1884e7d0f9691
5
5
  SHA512:
6
- metadata.gz: 606ef71c9e74fc5f6b9944cdf291e312f76078433e070cb5c6155409a484fdb42d9d7afd3f35690ee0a31fa5efdbdf94f9fcde4704bdd4506d63da6debeb61b4
7
- data.tar.gz: a511963e956bd5f4c894979b5a0e4c58794b9319f7c5654fecd8818b6f23025a0d34cba284550290fe22fb00412d99fd053543baa1d95c3ff84d899f0ab746f2
6
+ metadata.gz: d5d3658073d97692cdbdbb420bfe261c07fc74d698093ed6dabeb1eab4350845b0d223a8e5229bd3fb88ad688572022558e458c66d9425514cb8cdc21e4a042b
7
+ data.tar.gz: 6e6279c755fdb15bae80b9936ea27c27e097fbf0bb9226a3417b3d687b654a921f4b4989a0db0b4f4500eb7e77fa9a780882631aa5324ebdd85d81db72285633
@@ -8,6 +8,13 @@ class OpsDeploy::CLI
8
8
  profile = OpsDeploy::CLI.argument('aws-profile', 'AWS_PROFILE')
9
9
  config[:credentials] = Aws::SharedCredentials.new(profile_name: profile) if profile
10
10
 
11
+ aws_access_key_id = OpsDeploy::CLI.argument('aws-access-key-id', 'AWS_ACCESS_KEY_ID')
12
+ aws_secret_access_key = OpsDeploy::CLI.argument('aws-secret-access-key', 'AWS_SECRET_ACCESS_KEY')
13
+ if aws_access_key_id && aws_secret_access_key
14
+ config[:access_key_id] = aws_access_key_id
15
+ config[:secret_access_key] = aws_secret_access_key
16
+ end
17
+
11
18
  @main = OpsDeploy.new(config)
12
19
  @stacks = {}
13
20
  @notifier = OpsDeploy::CLI::Notifier.new(slack: {
@@ -1,3 +1,3 @@
1
1
  class OpsDeploy
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.8.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mahdi Bchetnia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-04 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk