dpl 2.0.3.beta.5 → 2.0.5.beta

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: 3277311573d07ea300bd8b704ecae81eabee2d0c94711550684bb3e82821a95f
4
- data.tar.gz: 70db71e7cf7e4271d7774fcfba8e4cc48810148d5ad5c5ecb41fdc21340e6873
3
+ metadata.gz: 34188b1c5d665e864c1452dd42ed9ce9c5dcd0d1e54416e87066cff914251fb9
4
+ data.tar.gz: c1363a5392e5e87b23cf783770854a228ab9071d0c2adc18d60dfd102003ef57
5
5
  SHA512:
6
- metadata.gz: 6eab7cbda8f1111123257e9a588f48d0a94b953c90b76f493b97308ba8496e5eb7a693f0ffe910fd63cbdbd6591991954d41b43f7d33d6a53af40be2763fa259
7
- data.tar.gz: cbd774c5df0d727d0fa8184a938534fb225363b03ce6eda16dddd592f33a2b63c9e14ff33cd4c98f01f3090ba111c2cfb6315ebf3d12c641f254864601b6114f
6
+ metadata.gz: fdc170a88ab087a9568b25823c29952484d9dbbefa72e6606814e8dc89e0b851a432451a80d065cf0b26f82ed085c509a14d6467002b678f53dcc51b938394a5
7
+ data.tar.gz: caf3fd7850ab88444a517d1372bd163a5fb8603bdbc0ab834c46cedc640fb02a704c5c8bab173ae41b00ea9e4c691d373ae5ffd77ccd438e7c623fae7da7f1c8
data/Gemfile.lock CHANGED
@@ -11,7 +11,8 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- dpl (2.0.3.beta.5)
14
+ dpl (2.0.5.beta)
15
+ net-http (~> 0.4.1)
15
16
  travis-cl
16
17
  travis-packagecloud-ruby
17
18
 
@@ -300,7 +301,7 @@ GEM
300
301
  mime (0.4.4)
301
302
  mime-types (3.4.1)
302
303
  mime-types-data (~> 3.2015)
303
- mime-types-data (3.2024.0507)
304
+ mime-types-data (3.2024.0604)
304
305
  minitar (0.9)
305
306
  mixlib-archive (1.1.7)
306
307
  mixlib-log
@@ -316,6 +317,8 @@ GEM
316
317
  net-ftp (0.3.4)
317
318
  net-protocol
318
319
  time
320
+ net-http (0.4.1)
321
+ uri
319
322
  net-protocol (0.2.2)
320
323
  timeout
321
324
  net-scp (4.0.0)
@@ -542,6 +545,7 @@ GEM
542
545
  unf_ext (0.0.8.2)
543
546
  unicode-display_width (2.5.0)
544
547
  unicode_utils (1.4.0)
548
+ uri (0.13.0)
545
549
  uuidtools (2.2.0)
546
550
  vault (0.18.2)
547
551
  aws-sigv4
@@ -611,6 +615,7 @@ DEPENDENCIES
611
615
  public_suffix (~> 5)
612
616
  puppet (~> 7.25)
613
617
  puppet-blacksmith (~> 7)
618
+ racc (~> 1.7)
614
619
  rack
615
620
  rake (~> 13.0)
616
621
  rendezvous (~> 0.1.3)
data/dpl.gemspec CHANGED
@@ -21,5 +21,6 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_runtime_dependency 'travis-cl'
23
23
  s.add_runtime_dependency 'travis-packagecloud-ruby'
24
+ s.add_runtime_dependency 'net-http', '~> 0.4.1'
24
25
  s.add_development_dependency 'rake', '~> 13.0'
25
26
  end
data/lib/dpl/ctx/bash.rb CHANGED
@@ -212,7 +212,7 @@ module Dpl
212
212
  def pip_install(package, cmd = package, version = nil)
213
213
  ENV['VIRTUAL_ENV'] = File.expand_path('~/dpl_venv')
214
214
  ENV['PATH'] = File.expand_path("~/dpl_venv/bin:#{ENV['PATH']}")
215
- shell 'virtualenv --no-site-packages ~/dpl_venv', echo: true
215
+ shell 'virtualenv ~/dpl_venv', echo: true
216
216
  shell 'pip install urllib3[secure]'
217
217
  cmd = "pip install #{package}"
218
218
  cmd << pip_version(version) if version
@@ -12,6 +12,7 @@ module Dpl
12
12
  tbd
13
13
  STR
14
14
 
15
+ gem 'nokogiri', '~> 1.15'
15
16
  gem 'aws-sdk-cloudformation', '~> 1.0'
16
17
 
17
18
  env :aws, :cloudformation
@@ -15,6 +15,7 @@ module Dpl
15
15
  tbd
16
16
  STR
17
17
 
18
+ gem 'nokogiri', '~> 1.15'
18
19
  gem 'aws-sdk-codedeploy', '~> 1.0'
19
20
  gem 'aws-sdk-s3', '~> 1'
20
21
 
@@ -11,6 +11,7 @@ module Dpl
11
11
  tbd
12
12
  STR
13
13
 
14
+ gem 'nokogiri', '~> 1.15'
14
15
  gem 'aws-sdk-ecr', '~> 1.0'
15
16
  # gem 'docker-api', '~> 1.34'
16
17
  gem 'json'
@@ -20,6 +20,7 @@ module Dpl
20
20
  * Optionally waits until the deployment finishes
21
21
  STR
22
22
 
23
+ gem 'nokogiri', '~> 1.15'
23
24
  gem 'aws-sdk-elasticbeanstalk', '~> 1'
24
25
  gem 'aws-sdk-s3', '~> 1'
25
26
  gem 'rubyzip', '~> 2.3', require: 'zip'
@@ -34,8 +34,8 @@ module Dpl
34
34
  opt '--memory_size MB', 'Amount of memory in MB to allocate to this Lambda', default: 128
35
35
  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'
36
36
  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'
37
- 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
38
- 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]
37
+ 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
38
+ opt '--runtime NAME', 'Lambda runtime to use', note: 'required when creating a new function', default: 'nodejs12.x', enum: %w(nodejs20.x nodejs18.x nodejs16.x nodejs14.x nodejs12.x python3.8 python3.7 python3.6 python2.7 ruby2.7 ruby2.5 java11 java8 go1.x dotnetcore2.1)
39
39
  opt '--dead_letter_arn ARN', 'ARN to an SNS or SQS resource used for the dead letter queue.'
40
40
  opt '--kms_key_arn ARN', 'KMS key ARN to use to encrypt environment_variables.'
41
41
  opt '--tracing_mode MODE', 'Tracing mode', default: 'PassThrough', enum: %w[Active PassThrough], note: 'Needs xray:PutTraceSegments xray:PutTelemetryRecords on the role'
@@ -11,7 +11,7 @@ module Dpl
11
11
  tbd
12
12
  STR
13
13
 
14
- node_js '>= 12.0.0'
14
+ node_js '>= 18.14.0'
15
15
 
16
16
  npm 'netlify-cli', 'netlify'
17
17
 
@@ -86,7 +86,10 @@ module Dpl
86
86
  end
87
87
 
88
88
  def npmrc
89
- if npm_version =~ /^1/ || auth_method == 'auth'
89
+ npm_version_major = npm_version.split('.').first.to_i
90
+ if npm_version_major >= 10
91
+ "//#{auth_endpoint}/:_auth=#{api_token}\nemail = #{email}"
92
+ elsif npm_version =~ /^1/ || auth_method == 'auth'
90
93
  "_auth = #{api_token}\nemail = #{email}"
91
94
  else
92
95
  "//#{auth_endpoint}/:_authToken=#{api_token}"
@@ -13,6 +13,7 @@ module Dpl
13
13
  tbd
14
14
  STR
15
15
 
16
+ gem 'nokogiri', '~> 1.15'
16
17
  gem 'aws-sdk-opsworks', '~> 1.0'
17
18
 
18
19
  env :aws, :opsworks
@@ -13,6 +13,7 @@ module Dpl
13
13
  tbd
14
14
  STR
15
15
 
16
+ gem 'racc', '~> 1.7'
16
17
  gem 'puppet', '~> 7.25', require: 'puppet/face'
17
18
  gem 'puppet-blacksmith', '~> 7', require: 'puppet_blacksmith'
18
19
 
@@ -18,6 +18,7 @@ module Dpl
18
18
  tbd
19
19
  STR
20
20
 
21
+ gem 'nokogiri', '~> 1.15'
21
22
  gem 'aws-sdk-s3', '~> 1'
22
23
  gem 'mime-types', '~> 3.4.1'
23
24
 
@@ -11,7 +11,7 @@ module Dpl
11
11
  tbd
12
12
  STR
13
13
 
14
- python '>= 2.7', '!= 3.0', '!= 3.1', '!= 3.2', '!= 3.3', '< 3.8'
14
+ python '>= 2.7', '!= 3.0', '!= 3.1', '!= 3.2', '!= 3.3', '< 3.12'
15
15
 
16
16
  required :api_token, %i[username password]
17
17
 
data/lib/dpl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dpl
4
- VERSION = '2.0.3.beta.5'
4
+ VERSION = '2.0.5.beta'
5
5
  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.5
4
+ version: 2.0.5.beta
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: 2024-05-08 00:00:00.000000000 Z
13
+ date: 2024-06-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: travis-cl
@@ -40,6 +40,20 @@ dependencies:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: net-http
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 0.4.1
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: 0.4.1
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: rake
45
59
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
196
  - !ruby/object:Gem::Version
183
197
  version: 1.3.1
184
198
  requirements: []
185
- rubygems_version: 3.3.7
199
+ rubygems_version: 3.4.21
186
200
  signing_key:
187
201
  specification_version: 4
188
202
  summary: Dpl runs deployments at Travis CI