cem_acpt 0.3.5-universal-java-17 → 0.3.7-universal-java-17

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: b62e59f800597758c9a69bc1ede3d3f97a9a68c6c38f0d4705201ac2613feab9
4
- data.tar.gz: 4d4a0ad559702df7cff661726a962b0bbc278d2cb0ecba48241a67a55345dac6
3
+ metadata.gz: 024fe8552168e6308e04edd5b2b3509f9b0249b140e1bbb42279eb0ad5095a3f
4
+ data.tar.gz: bd8da637c1179eec3ccb906e476996a5cc9f4f61194c81bbc378dcaed9e9fd14
5
5
  SHA512:
6
- metadata.gz: ee72270cae3121c03597e12f91c3fd6134da4ab40ef342cc3f694ea0a5ee2dcaf37363e9430b2610539120e0cf5ea733caf191d916a926e2d29dc17ac8bc7cfb
7
- data.tar.gz: 79a40b4e74935a7842bffd7b9252aa63d277cc31e49c0a3a10200f647117a1c3e51d4183a3e2e16aa9cc0e1fd185d0ee375177fdc876ca4097e8828884b55f36
6
+ metadata.gz: bef27a028ae54ef8aef9860bc2c59b71397f537cd5ece28a69443c9e6351f79b93986b6d24f57c3587adff5eccb7acc7a7d1c91c12842e8df7b18ae8f838c377
7
+ data.tar.gz: 417ca629dc9f5e1dc6c6df84c9f27a8e574d2350d96fa0887fcb33cd9bd349bb9536767a3a67db6ac99bab8ffe6428bb91e72d1cbd6713b83835381422032cdf
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cem_acpt (0.3.5-universal-java-17)
4
+ cem_acpt (0.3.7-universal-java-17)
5
5
  concurrent-ruby (>= 1.1, < 2.0)
6
6
  deep_merge (>= 1.2, < 2.0)
7
7
  ed25519 (>= 1.2, < 2.0)
8
- net-ssh (>= 7.0, < 8.0)
8
+ net-ssh (>= 7.0, < 7.1)
9
9
  puppet-modulebuilder (>= 0.0.1)
10
10
  serverspec-cem-acpt
11
11
 
@@ -14,11 +14,12 @@ GEM
14
14
  specs:
15
15
  ast (2.4.2)
16
16
  coderay (1.1.3)
17
- concurrent-ruby (1.1.10)
17
+ concurrent-ruby (1.2.2)
18
18
  deep_merge (1.2.2)
19
19
  diff-lcs (1.5.0)
20
20
  ed25519 (1.3.0-java)
21
21
  ffi (1.15.5-java)
22
+ json (2.6.3-java)
22
23
  method_source (1.0.0)
23
24
  minitar (0.9)
24
25
  multi_json (1.15.0)
@@ -27,7 +28,7 @@ GEM
27
28
  net-ssh (7.0.1)
28
29
  net-telnet (0.1.1)
29
30
  parallel (1.22.1)
30
- parser (3.1.2.0)
31
+ parser (3.2.1.1)
31
32
  ast (~> 2.4.1)
32
33
  pathspec (1.0.0)
33
34
  pry (0.14.2-java)
@@ -39,36 +40,37 @@ GEM
39
40
  pathspec (>= 0.2.1, < 2.0.0)
40
41
  rainbow (3.1.1)
41
42
  rake (13.0.6)
42
- regexp_parser (2.5.0)
43
+ regexp_parser (2.7.0)
43
44
  rexml (3.2.5)
44
- rspec (3.11.0)
45
- rspec-core (~> 3.11.0)
46
- rspec-expectations (~> 3.11.0)
47
- rspec-mocks (~> 3.11.0)
48
- rspec-core (3.11.0)
49
- rspec-support (~> 3.11.0)
50
- rspec-expectations (3.11.0)
45
+ rspec (3.12.0)
46
+ rspec-core (~> 3.12.0)
47
+ rspec-expectations (~> 3.12.0)
48
+ rspec-mocks (~> 3.12.0)
49
+ rspec-core (3.12.1)
50
+ rspec-support (~> 3.12.0)
51
+ rspec-expectations (3.12.2)
51
52
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.11.0)
53
+ rspec-support (~> 3.12.0)
53
54
  rspec-its (1.3.0)
54
55
  rspec-core (>= 3.0.0)
55
56
  rspec-expectations (>= 3.0.0)
56
- rspec-mocks (3.11.1)
57
+ rspec-mocks (3.12.4)
57
58
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.11.0)
59
- rspec-support (3.11.0)
60
- rubocop (1.31.0)
59
+ rspec-support (~> 3.12.0)
60
+ rspec-support (3.12.0)
61
+ rubocop (1.48.1)
62
+ json (~> 2.3)
61
63
  parallel (~> 1.10)
62
- parser (>= 3.1.0.0)
64
+ parser (>= 3.2.0.0)
63
65
  rainbow (>= 2.2.2, < 4.0)
64
66
  regexp_parser (>= 1.8, < 3.0)
65
67
  rexml (>= 3.2.5, < 4.0)
66
- rubocop-ast (>= 1.18.0, < 2.0)
68
+ rubocop-ast (>= 1.26.0, < 2.0)
67
69
  ruby-progressbar (~> 1.7)
68
- unicode-display_width (>= 1.4.0, < 3.0)
69
- rubocop-ast (1.18.0)
70
- parser (>= 3.1.1.0)
71
- ruby-progressbar (1.11.0)
70
+ unicode-display_width (>= 2.4.0, < 3.0)
71
+ rubocop-ast (1.27.0)
72
+ parser (>= 3.2.1.0)
73
+ ruby-progressbar (1.13.0)
72
74
  serverspec-cem-acpt (2.42.0)
73
75
  multi_json
74
76
  rspec (~> 3.0)
@@ -82,7 +84,7 @@ GEM
82
84
  sfl
83
85
  spoon (0.0.6)
84
86
  ffi
85
- unicode-display_width (2.2.0)
87
+ unicode-display_width (2.4.2)
86
88
 
87
89
  PLATFORMS
88
90
  universal-java-17
data/cem_acpt.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_runtime_dependency 'concurrent-ruby', '>= 1.1', '< 2.0'
31
31
  spec.add_runtime_dependency 'deep_merge', '>= 1.2', '< 2.0'
32
32
  spec.add_runtime_dependency 'ed25519', '>= 1.2', '< 2.0'
33
- spec.add_runtime_dependency 'net-ssh', '>= 7.0', '< 8.0'
33
+ spec.add_runtime_dependency 'net-ssh', '>= 7.0', '< 7.1'
34
34
  spec.add_runtime_dependency 'puppet-modulebuilder', '>= 0.0.1'
35
35
  spec.add_runtime_dependency 'serverspec-cem-acpt'
36
36
  spec.add_development_dependency 'rubocop'
@@ -241,9 +241,11 @@ module CemAcpt::Platform::Gcp
241
241
  end
242
242
 
243
243
  def create
244
- # Add the test ssh key to os-login
245
- logger.debug("Adding test SSH key to os-login for #{name}")
246
- @cmd.local_exec("compute os-login ssh-keys add --key-file #{@cmd.ssh_key}.pub --project #{project.name} --ttl 4h")
244
+ unless @cmd.ssh_key.include?('google_compute_engine')
245
+ # Add the test ssh key to os-login
246
+ logger.debug("Adding test SSH key to os-login for #{name}")
247
+ @cmd.local_exec("compute os-login ssh-keys add --key-file #{@cmd.ssh_key}.pub --project #{project.name} --ttl 1h")
248
+ end
247
249
  @cmd.local_exec(create_cmd)
248
250
  rescue StandardError => e
249
251
  raise "Failed to create VM #{name} with command #{create_cmd}: #{e}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemAcpt
4
- VERSION = '0.3.5'
4
+ VERSION = '0.3.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_acpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.7
5
5
  platform: universal-java-17
6
6
  authors:
7
7
  - puppetlabs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +78,7 @@ dependencies:
78
78
  version: '7.0'
79
79
  - - "<"
80
80
  - !ruby/object:Gem::Version
81
- version: '8.0'
81
+ version: '7.1'
82
82
  name: net-ssh
83
83
  prerelease: false
84
84
  type: :runtime
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '7.0'
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
- version: '8.0'
92
+ version: '7.1'
93
93
  - !ruby/object:Gem::Dependency
94
94
  requirement: !ruby/object:Gem::Requirement
95
95
  requirements: