dpl 2.0.3.beta.3 → 2.0.3.beta.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0f4fd2f5297366e5fed6f87f3285c250a9235a65f40d337b0c87e982408ccdb
4
- data.tar.gz: d536fe5a971248e8562f096a991232c440808bc8bb5c340e9b82f5bcf4fbd5c9
3
+ metadata.gz: 5af4ab95e79293f7e9f3806f5d9723cb189f320275e24744749c9aed49974f91
4
+ data.tar.gz: 54509278236196a41db24890e9163eaf53a5180097767fca19584ddac4358bfe
5
5
  SHA512:
6
- metadata.gz: 0666a771891912ee878e5ba318ee36fe27249a3d6ad49c219c0c8fddec598098ac2a2e06f025abc35f6788d0133f4a3b36241f8932757562ea8d7823a3f72291
7
- data.tar.gz: e09da57dad0a3f98e5e991d1fdbcd895b9098140181e63a52ca6dde8b64601aa04c0ac1398b5e08a1442cbd5e230597b30e8dc4c146090a3f19764c960c4124a
6
+ metadata.gz: 2190b5e32e4247e3c4c7f7dc0c79299cf2ec68026dd7708a4b061ecd6171cb5869cb317f1653ed29422e8ba244cdcde9e9712a0f6c9131ace90a18f304f7758c
7
+ data.tar.gz: f8508083406134d318aae2ba691d4dec306705dff7bd84140af2d0c737ddfdf8a79a933d307b1971ce4192b8d69df208d805444850df93fe36e21f4b061c0825
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dpl (2.0.3.beta.2)
4
+ dpl (2.0.3.beta.4)
5
5
  cl (~> 1.0)
6
6
 
7
7
  GEM
@@ -11,38 +11,38 @@ GEM
11
11
  public_suffix (>= 2.0.2, < 5.0)
12
12
  awesome_print (1.9.2)
13
13
  aws-eventstream (1.2.0)
14
- aws-partitions (1.577.0)
15
- aws-sdk-cloudformation (1.68.0)
14
+ aws-partitions (1.619.0)
15
+ aws-sdk-cloudformation (1.70.0)
16
16
  aws-sdk-core (~> 3, >= 3.127.0)
17
17
  aws-sigv4 (~> 1.1)
18
18
  aws-sdk-codedeploy (1.49.0)
19
19
  aws-sdk-core (~> 3, >= 3.127.0)
20
20
  aws-sigv4 (~> 1.1)
21
- aws-sdk-core (3.130.1)
21
+ aws-sdk-core (3.132.0)
22
22
  aws-eventstream (~> 1, >= 1.0.2)
23
23
  aws-partitions (~> 1, >= 1.525.0)
24
24
  aws-sigv4 (~> 1.1)
25
- jmespath (~> 1.0)
25
+ jmespath (~> 1, >= 1.6.1)
26
26
  aws-sdk-ecr (1.56.0)
27
27
  aws-sdk-core (~> 3, >= 3.127.0)
28
28
  aws-sigv4 (~> 1.1)
29
29
  aws-sdk-elasticbeanstalk (1.51.0)
30
30
  aws-sdk-core (~> 3, >= 3.127.0)
31
31
  aws-sigv4 (~> 1.1)
32
- aws-sdk-kms (1.55.0)
32
+ aws-sdk-kms (1.58.0)
33
33
  aws-sdk-core (~> 3, >= 3.127.0)
34
34
  aws-sigv4 (~> 1.1)
35
- aws-sdk-lambda (1.83.0)
35
+ aws-sdk-lambda (1.84.0)
36
36
  aws-sdk-core (~> 3, >= 3.127.0)
37
37
  aws-sigv4 (~> 1.1)
38
38
  aws-sdk-opsworks (1.41.0)
39
39
  aws-sdk-core (~> 3, >= 3.127.0)
40
40
  aws-sigv4 (~> 1.1)
41
- aws-sdk-s3 (1.113.0)
41
+ aws-sdk-s3 (1.114.0)
42
42
  aws-sdk-core (~> 3, >= 3.127.0)
43
43
  aws-sdk-kms (~> 1)
44
44
  aws-sigv4 (~> 1.4)
45
- aws-sigv4 (1.4.0)
45
+ aws-sigv4 (1.5.1)
46
46
  aws-eventstream (~> 1, >= 1.0.2)
47
47
  belafonte (0.5.0)
48
48
  optionally
@@ -119,7 +119,7 @@ GEM
119
119
  erubis (2.7.0)
120
120
  escape (0.0.4)
121
121
  eventmachine (1.2.7)
122
- excon (0.92.2)
122
+ excon (0.92.4)
123
123
  ey-core (3.5.0)
124
124
  addressable
125
125
  awesome_print
@@ -186,11 +186,11 @@ GEM
186
186
  thor (~> 0.20.0)
187
187
  hashdiff (1.0.1)
188
188
  hashie (3.6.0)
189
- hiera (3.8.0)
189
+ hiera (3.10.0)
190
190
  highline (1.7.10)
191
191
  hocon (1.3.1)
192
192
  http-accept (1.7.0)
193
- http-cookie (1.0.4)
193
+ http-cookie (1.0.5)
194
194
  domain_name (~> 0.5)
195
195
  http_parser.rb (0.8.0)
196
196
  httpclient (2.8.3)
@@ -246,7 +246,7 @@ GEM
246
246
  plist (~> 3.1)
247
247
  systemu (~> 2.6.4)
248
248
  wmi-lite (~> 1.0)
249
- oj (3.13.11)
249
+ oj (3.13.20)
250
250
  oj_mimic_json (1.0.1)
251
251
  optionally (0.0.3)
252
252
  packagecloud-ruby (1.0.8)
@@ -276,7 +276,7 @@ GEM
276
276
  rest-client (~> 2.0)
277
277
  puppet-resource_api (1.8.14)
278
278
  hocon (>= 1.0)
279
- rack (2.2.3)
279
+ rack (2.2.4)
280
280
  rake (12.3.3)
281
281
  regstry (1.0.15)
282
282
  rendezvous (0.1.3)
@@ -321,7 +321,7 @@ GEM
321
321
  json (>= 1.8, < 3)
322
322
  simplecov-html (~> 0.10.0)
323
323
  simplecov-html (0.10.2)
324
- specinfra (2.83.2)
324
+ specinfra (2.83.3)
325
325
  net-scp
326
326
  net-ssh (>= 2.7)
327
327
  net-telnet (= 0.1.1)
@@ -334,14 +334,14 @@ GEM
334
334
  term-ansicolor (1.7.1)
335
335
  tins (~> 1.0)
336
336
  thor (0.20.3)
337
- tins (1.31.0)
337
+ tins (1.31.1)
338
338
  sync
339
- tomlrb (2.0.1)
339
+ tomlrb (2.0.3)
340
340
  unf (0.1.4)
341
341
  unf_ext
342
- unf_ext (0.0.8.1)
342
+ unf_ext (0.0.8.2)
343
343
  uuidtools (2.1.5)
344
- webmock (3.14.0)
344
+ webmock (3.18.1)
345
345
  addressable (>= 2.8.0)
346
346
  crack (>= 0.3.2)
347
347
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -359,7 +359,7 @@ DEPENDENCIES
359
359
  aws-sdk-codedeploy (~> 1.0)
360
360
  aws-sdk-ecr (~> 1.0)
361
361
  aws-sdk-elasticbeanstalk (~> 1.0)
362
- aws-sdk-lambda (~> 1.0)
362
+ aws-sdk-lambda (~> 1.84.0)
363
363
  aws-sdk-opsworks (~> 1.0)
364
364
  aws-sdk-s3 (~> 1.0)
365
365
  chef (~> 12.0)
@@ -390,7 +390,7 @@ DEPENDENCIES
390
390
  webmock
391
391
 
392
392
  RUBY VERSION
393
- ruby 2.5.8p224
393
+ ruby 2.6.3p62
394
394
 
395
395
  BUNDLED WITH
396
- 2.1.4
396
+ 2.2.21
@@ -13,7 +13,8 @@ module Dpl
13
13
  tbd
14
14
  str
15
15
 
16
- gem 'aws-sdk-lambda', '~> 1.0'
16
+ gem 'aws-sdk-lambda', '~> 1.84.0'
17
+ gem 'nokogiri', '< 1.10'
17
18
  gem 'rubyzip', '~> 1.2.2', require: 'zip'
18
19
 
19
20
  env :aws, :lambda
@@ -32,7 +33,7 @@ module Dpl
32
33
  opt '--subnet_ids IDS', 'List of subnet IDs to be added to the function', type: :array, note: 'Needs the ec2:DescribeSubnets and ec2:DescribeVpcs permission for the user of the access/secret key to work'
33
34
  opt '--security_group_ids IDS', 'List of security group IDs to be added to the function', type: :array, note: 'Needs the ec2:DescribeSecurityGroups and ec2:DescribeVpcs permission for the user of the access/secret key to work'
34
35
  opt '--environment VARS', 'List of Environment Variables to add to the function', type: :array, format: /[\w\-]+=.+/, note: 'Can be encrypted for added security', alias: :environment_variables
35
- opt '--runtime NAME', 'Lambda runtime to use', note: 'required when creating a new function', default: 'nodejs10.x', enum: %w(nodejs16.x nodejs14.x nodejs12.x nodejs10.x python3.8 python3.7 python3.6 python2.7 ruby2.7 ruby2.5 java11 java8 go1.x dotnetcore2.1)
36
+ opt '--runtime NAME', 'Lambda runtime to use', note: 'required when creating a new function', default: 'nodejs12.x', enum: %w(nodejs16.x nodejs14.x nodejs12.x python3.8 python3.7 python3.6 python2.7 ruby2.7 ruby2.5 java11 java8 go1.x dotnetcore2.1)
36
37
  opt '--dead_letter_arn ARN', 'ARN to an SNS or SQS resource used for the dead letter queue.'
37
38
  opt '--kms_key_arn ARN', 'KMS key ARN to use to encrypt environment_variables.'
38
39
  opt '--tracing_mode MODE', 'Tracing mode', default: 'PassThrough', enum: %w(Active PassThrough), note: 'Needs xray:PutTraceSegments xray:PutTelemetryRecords on the role'
@@ -76,9 +77,15 @@ module Dpl
76
77
  end
77
78
 
78
79
  def update
79
- arn = update_config
80
- update_tags(arn) if function_tags?
81
- update_code
80
+ begin
81
+ arn = update_config
82
+ client.wait_until(:function_updated, { function_name: function_name })
83
+ update_tags(arn) if function_tags?
84
+ client.wait_until(:function_updated, { function_name: function_name })
85
+ update_code
86
+ rescue Aws::Waiters::Errors::WaiterFailed
87
+ error 'Update timed out.'
88
+ end
82
89
  end
83
90
 
84
91
  def update_config
data/lib/dpl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dpl
2
- VERSION = '2.0.3.beta.3'
2
+ VERSION = '2.0.3.beta.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3.beta.3
4
+ version: 2.0.3.beta.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-06-13 00:00:00.000000000 Z
13
+ date: 2022-08-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cl
@@ -165,8 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: 1.3.1
167
167
  requirements: []
168
- rubyforge_project:
169
- rubygems_version: 2.7.6.2
168
+ rubygems_version: 3.0.3
170
169
  signing_key:
171
170
  specification_version: 4
172
171
  summary: Dpl runs deployments at Travis CI