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 +4 -4
- data/Gemfile.lock +7 -2
- data/dpl.gemspec +1 -0
- data/lib/dpl/ctx/bash.rb +1 -1
- data/lib/dpl/providers/cloudformation.rb +1 -0
- data/lib/dpl/providers/codedeploy.rb +1 -0
- data/lib/dpl/providers/ecr.rb +1 -0
- data/lib/dpl/providers/elasticbeanstalk.rb +1 -0
- data/lib/dpl/providers/lambda.rb +2 -2
- data/lib/dpl/providers/netlify.rb +1 -1
- data/lib/dpl/providers/npm.rb +4 -1
- data/lib/dpl/providers/opsworks.rb +1 -0
- data/lib/dpl/providers/puppetforge.rb +1 -0
- data/lib/dpl/providers/s3.rb +1 -0
- data/lib/dpl/providers/transifex.rb +1 -1
- data/lib/dpl/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34188b1c5d665e864c1452dd42ed9ce9c5dcd0d1e54416e87066cff914251fb9
|
4
|
+
data.tar.gz: c1363a5392e5e87b23cf783770854a228ab9071d0c2adc18d60dfd102003ef57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
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
|
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
|
data/lib/dpl/providers/ecr.rb
CHANGED
data/lib/dpl/providers/lambda.rb
CHANGED
@@ -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
|
38
|
-
opt '--runtime NAME', 'Lambda runtime to use', note: 'required when creating a new function', default: 'nodejs12.x', enum: %w
|
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'
|
data/lib/dpl/providers/npm.rb
CHANGED
@@ -86,7 +86,10 @@ module Dpl
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def npmrc
|
89
|
-
|
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}"
|
data/lib/dpl/providers/s3.rb
CHANGED
data/lib/dpl/version.rb
CHANGED
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.
|
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-
|
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.
|
199
|
+
rubygems_version: 3.4.21
|
186
200
|
signing_key:
|
187
201
|
specification_version: 4
|
188
202
|
summary: Dpl runs deployments at Travis CI
|