dpl 2.0.3.beta.1 → 2.0.3.beta.2

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: 9d618f4c1fa2c6225c69987b5349d56a4fa28b8eb911bbee5aba93e0a10c2a83
4
- data.tar.gz: 7483c4425320d9bb22971f67366c630dc1dd2aa27ab6aee1cdbbd0b11ad97d55
3
+ metadata.gz: 8986144ffd8e2b01a258e50d348a92a548a7b5e8d6a4851c628dfb4daed713f4
4
+ data.tar.gz: ffcb50346cf2006a399567f6bb9891045656782386e4a8abc83fa53c633d0bd7
5
5
  SHA512:
6
- metadata.gz: 1945bb20863999e620675325ff5681e73624540652423cd91b2194bf01077a385ba026aeb1b5436674d2d1970f078ffdb0ea862a6b5c308029729293e5a7091b
7
- data.tar.gz: 898ae8f27890100e81bb55af3d409c0e72a0068e1082ca8ed99512f98b4057f82398e3e5e3713cb457a8fed14ac44e412917a80f49548d81bb6f34772a2bd9aa
6
+ metadata.gz: b80ee9f27d5214976f7196b9939564b82c81b6c0dbc8dd14190a0bcbdaf34f105489a36026f2521444b965a692701f44f827c86638a1ec5d2fb0a7bf7dde6ff7
7
+ data.tar.gz: c1b76a7cfa0d44c50e3ef736b759f731c29d937234237be0c8c969eda79ce56a158e3daf5f9626f2909f9ecc8c221b91ad5d2a9cb7468a7475b714ea39abf5f5
data/Gemfile.lock CHANGED
@@ -11,35 +11,35 @@ 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.547.0)
15
- aws-sdk-cloudformation (1.64.0)
16
- aws-sdk-core (~> 3, >= 3.125.0)
14
+ aws-partitions (1.577.0)
15
+ aws-sdk-cloudformation (1.68.0)
16
+ aws-sdk-core (~> 3, >= 3.127.0)
17
17
  aws-sigv4 (~> 1.1)
18
- aws-sdk-codedeploy (1.47.0)
19
- aws-sdk-core (~> 3, >= 3.125.0)
18
+ aws-sdk-codedeploy (1.49.0)
19
+ aws-sdk-core (~> 3, >= 3.127.0)
20
20
  aws-sigv4 (~> 1.1)
21
- aws-sdk-core (3.125.3)
21
+ aws-sdk-core (3.130.1)
22
22
  aws-eventstream (~> 1, >= 1.0.2)
23
23
  aws-partitions (~> 1, >= 1.525.0)
24
24
  aws-sigv4 (~> 1.1)
25
25
  jmespath (~> 1.0)
26
- aws-sdk-ecr (1.52.0)
27
- aws-sdk-core (~> 3, >= 3.125.0)
26
+ aws-sdk-ecr (1.56.0)
27
+ aws-sdk-core (~> 3, >= 3.127.0)
28
28
  aws-sigv4 (~> 1.1)
29
- aws-sdk-elasticbeanstalk (1.49.0)
30
- aws-sdk-core (~> 3, >= 3.125.0)
29
+ aws-sdk-elasticbeanstalk (1.51.0)
30
+ aws-sdk-core (~> 3, >= 3.127.0)
31
31
  aws-sigv4 (~> 1.1)
32
- aws-sdk-kms (1.53.0)
33
- aws-sdk-core (~> 3, >= 3.125.0)
32
+ aws-sdk-kms (1.55.0)
33
+ aws-sdk-core (~> 3, >= 3.127.0)
34
34
  aws-sigv4 (~> 1.1)
35
- aws-sdk-lambda (1.77.0)
36
- aws-sdk-core (~> 3, >= 3.125.0)
35
+ aws-sdk-lambda (1.83.0)
36
+ aws-sdk-core (~> 3, >= 3.127.0)
37
37
  aws-sigv4 (~> 1.1)
38
- aws-sdk-opsworks (1.39.0)
39
- aws-sdk-core (~> 3, >= 3.125.0)
38
+ aws-sdk-opsworks (1.41.0)
39
+ aws-sdk-core (~> 3, >= 3.127.0)
40
40
  aws-sigv4 (~> 1.1)
41
- aws-sdk-s3 (1.111.1)
42
- aws-sdk-core (~> 3, >= 3.125.0)
41
+ aws-sdk-s3 (1.113.0)
42
+ aws-sdk-core (~> 3, >= 3.127.0)
43
43
  aws-sdk-kms (~> 1)
44
44
  aws-sigv4 (~> 1.4)
45
45
  aws-sigv4 (1.4.0)
@@ -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.90.0)
122
+ excon (0.92.2)
123
123
  ey-core (3.5.0)
124
124
  addressable
125
125
  awesome_print
@@ -140,7 +140,7 @@ GEM
140
140
  rack
141
141
  sshkey (~> 1.6)
142
142
  table_print
143
- ey-hmac (2.2.0)
143
+ ey-hmac (2.4.0)
144
144
  facter (2.5.7)
145
145
  faraday (0.9.2)
146
146
  multipart-post (>= 1.2, < 3)
@@ -196,7 +196,7 @@ GEM
196
196
  httpclient (2.8.3)
197
197
  iniparse (1.5.0)
198
198
  ipaddress (0.8.3)
199
- jmespath (1.5.0)
199
+ jmespath (1.6.1)
200
200
  json (1.8.6)
201
201
  json_pure (1.8.6)
202
202
  libyajl2 (2.1.0)
@@ -286,22 +286,22 @@ GEM
286
286
  mime-types (>= 1.16, < 4.0)
287
287
  netrc (~> 0.8)
288
288
  rexml (3.2.5)
289
- rspec (3.10.0)
290
- rspec-core (~> 3.10.0)
291
- rspec-expectations (~> 3.10.0)
292
- rspec-mocks (~> 3.10.0)
293
- rspec-core (3.10.1)
294
- rspec-support (~> 3.10.0)
295
- rspec-expectations (3.10.1)
289
+ rspec (3.11.0)
290
+ rspec-core (~> 3.11.0)
291
+ rspec-expectations (~> 3.11.0)
292
+ rspec-mocks (~> 3.11.0)
293
+ rspec-core (3.11.0)
294
+ rspec-support (~> 3.11.0)
295
+ rspec-expectations (3.11.0)
296
296
  diff-lcs (>= 1.2.0, < 2.0)
297
- rspec-support (~> 3.10.0)
297
+ rspec-support (~> 3.11.0)
298
298
  rspec-its (1.3.0)
299
299
  rspec-core (>= 3.0.0)
300
300
  rspec-expectations (>= 3.0.0)
301
- rspec-mocks (3.10.2)
301
+ rspec-mocks (3.11.1)
302
302
  diff-lcs (>= 1.2.0, < 2.0)
303
- rspec-support (~> 3.10.0)
304
- rspec-support (3.10.3)
303
+ rspec-support (~> 3.11.0)
304
+ rspec-support (3.11.0)
305
305
  rspec_junit_formatter (0.2.3)
306
306
  builder (< 4)
307
307
  rspec-core (>= 2, < 4, != 2.12.0)
@@ -310,7 +310,7 @@ GEM
310
310
  addressable (>= 2.3.5)
311
311
  faraday (> 0.8, < 2.0)
312
312
  semantic_puppet (1.0.4)
313
- serverspec (2.41.8)
313
+ serverspec (2.42.0)
314
314
  multi_json
315
315
  rspec (~> 3.0)
316
316
  rspec-its
@@ -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.1)
324
+ specinfra (2.83.2)
325
325
  net-scp
326
326
  net-ssh (>= 2.7)
327
327
  net-telnet (= 0.1.1)
@@ -339,7 +339,7 @@ GEM
339
339
  tomlrb (2.0.1)
340
340
  unf (0.1.4)
341
341
  unf_ext
342
- unf_ext (0.0.8)
342
+ unf_ext (0.0.8.1)
343
343
  uuidtools (2.1.5)
344
344
  webmock (3.14.0)
345
345
  addressable (>= 2.8.0)
@@ -348,7 +348,7 @@ GEM
348
348
  websocket-driver (0.7.5)
349
349
  websocket-extensions (>= 0.1.0)
350
350
  websocket-extensions (0.1.5)
351
- wmi-lite (1.0.5)
351
+ wmi-lite (1.0.7)
352
352
  wrapomatic (0.3.0)
353
353
 
354
354
  PLATFORMS
@@ -390,7 +390,7 @@ DEPENDENCIES
390
390
  webmock
391
391
 
392
392
  RUBY VERSION
393
- ruby 2.6.3p62
393
+ ruby 2.5.8p224
394
394
 
395
395
  BUNDLED WITH
396
396
  2.1.4
@@ -1,2 +1,8 @@
1
1
  #!/bin/sh
2
- exec ssh -o StrictHostKeychecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -i %s $@
2
+ exec ssh \
3
+ -o CheckHostIP=no \
4
+ -o IdentitiesOnly=yes \
5
+ -o StrictHostKeychecking=no \
6
+ -o UserKnownHostsFile=/dev/null \
7
+ -i %s \
8
+ $@
@@ -32,7 +32,7 @@ module Dpl
32
32
  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
33
  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
34
  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(nodejs12.x nodejs10.x python3.8 python3.7 python3.6 python2.7 ruby2.7 ruby2.5 java11 java8 go1.x dotnetcore2.1)
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
36
  opt '--dead_letter_arn ARN', 'ARN to an SNS or SQS resource used for the dead letter queue.'
37
37
  opt '--kms_key_arn ARN', 'KMS key ARN to use to encrypt environment_variables.'
38
38
  opt '--tracing_mode MODE', 'Tracing mode', default: 'PassThrough', enum: %w(Active PassThrough), note: 'Needs xray:PutTraceSegments xray:PutTelemetryRecords on the role'
@@ -58,7 +58,7 @@ module Dpl
58
58
  cmds git_clone: 'git clone --quiet --branch="%{target_branch}" --depth=1 "%{remote_url}" . > /dev/null 2>&1',
59
59
  git_init: 'git init .',
60
60
  git_checkout: 'git checkout --orphan "%{target_branch}"',
61
- check_deploy_key: 'ssh -i %{key} -T git@github.com 2>&1 | grep successful > /dev/null',
61
+ check_deploy_key: 'ssh -i %{key} -T git@%{url} 2>&1 | grep successful > /dev/null',
62
62
  copy_files: 'rsync -rl --exclude .git --delete "%{src_dir}/" .',
63
63
  git_config_email: 'git config user.email %{quoted_email}',
64
64
  git_config_name: 'git config user.name %{quoted_name}',
@@ -68,7 +68,7 @@ module Dpl
68
68
  git_commit_hook: 'cp %{path} .git/hooks/pre-commit',
69
69
  git_commit: 'git commit %{git_commit_opts} -q %{git_commit_msg_opts}',
70
70
  git_show: 'git show --stat-count=10 HEAD',
71
- git_push: 'git push%{git_push_opts} --quiet "%{remote_url}" "%{target_branch}":"%{target_branch}" > /dev/null 2>&1'
71
+ git_push: 'git push%{git_push_opts} --quiet "%{remote_url}" "%{target_branch}":"%{target_branch}"'
72
72
 
73
73
  errs copy_files: 'Failed to copy %{src_dir}.',
74
74
  check_deploy_key: 'Failed to authenticate using the deploy key',
@@ -119,7 +119,7 @@ module Dpl
119
119
  mv deploy_key, path
120
120
  chmod 0600, path
121
121
  setup_git_ssh path
122
- shell :check_deploy_key, key: path
122
+ shell :check_deploy_key, key: path, url: opts[:url]
123
123
  end
124
124
 
125
125
  def git_clone?
@@ -155,7 +155,8 @@ module Dpl
155
155
  end
156
156
 
157
157
  def git_push
158
- shell :git_push, echo: false
158
+ shell 'ssh-keygen -lv -f /home/travis/.dpl/deploy_key'
159
+ shell :git_push
159
160
  end
160
161
 
161
162
  def git_status
data/lib/dpl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dpl
2
- VERSION = '2.0.3.beta.1'
2
+ VERSION = '2.0.3.beta.2'
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.1
4
+ version: 2.0.3.beta.2
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-03-28 00:00:00.000000000 Z
13
+ date: 2022-06-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cl
@@ -165,7 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: 1.3.1
167
167
  requirements: []
168
- rubygems_version: 3.0.3
168
+ rubyforge_project:
169
+ rubygems_version: 2.7.6.2
169
170
  signing_key:
170
171
  specification_version: 4
171
172
  summary: Dpl runs deployments at Travis CI