kitchen-zcloudjp 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTg0NDI3Y2E5NGNiYzQzNDNjZWYyYjZhMzljMzg4ODBjMjdkYmY5OA==
4
+ YTE1NWFmYmU0MjlkZjExM2U4Y2UyNjcwNWM3OTc0NGNhY2VhOGE0ZQ==
5
5
  data.tar.gz: !binary |-
6
- ZjExMDE0ZjdjN2RhMGVjODI3NTQxZDQ0ZjdkMWZjNjExZGQ4Y2FjNA==
6
+ ZWZjMTQ3ZDdiMmUxNzQwNzUyNDdhODljY2I0ZTI0NzFiY2YyYTUzOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTk0YzQwMDZiMDlhOTA0M2Q3OTg1Mzc2NjFjNzhiY2UzZTg0Y2UyZWQ2NzEy
10
- ZTI2ZmExMjJkNDAxOTY3OThiNjYyMTcxOTZmMmNhMjc3YzhkMTQ0OWYwZmNm
11
- ZmQ5N2I1MmRhMDFmZDg5MjdlN2U2YzIzODdmYjk3NDJjZGVlMWQ=
9
+ M2MxNjljMTlmNGVjNDg4MDgxOGYxY2QwNWYyM2NkYWQzMGU0MGE5ZmEyNDE1
10
+ MmE0YWM1OThkNTZkMTYyMTQ2M2IzMDJhOWMyMzY3YzZmZWMzMDU1NjYzYzhl
11
+ YWFmYjJmNjk4N2FmMTc2YzE4N2IxNDViOGM3ZTZjMjdlYTMwYmM=
12
12
  data.tar.gz: !binary |-
13
- YmUwOTRiMDBiYTIyNmE5NGZmZThlM2JiNGRiMWJlMmJiMjQxODJlM2EwOTk1
14
- OGViZTE2ODYyNzAyNmJkNDZlNDdhOWFjMmFmOTczYWFmZTkwZjlhMGM0ZjFi
15
- MjBjODExZmNkMGJmZDFmOTM4NmJlMTBhN2M0NzI0MzU1ZDEwYjY=
13
+ MjAzMzc2MmY3MzE3N2I0NmU0NThlZThiMmIzMGI1MDI5Mjg3ZjFiZjNiYmFm
14
+ ZTRhYjMzNjZmNDEyNTc2MmZmN2Q5M2Y3NjJhZWE1NTc2MzRiMzMzNzFkMjJh
15
+ ODU0MDJlMzc3ZGIyNDU4MDlhZGU1YTRmMWZiMzRlOTkwMmFkZTE=
@@ -33,7 +33,7 @@ module Kitchen
33
33
  required_config :api_key
34
34
 
35
35
  def create(state)
36
- server = create_server
36
+ server = create_server(state)
37
37
  state[:server_id] = server.id
38
38
 
39
39
  info("SmartMachine <#{state[:server_id]}> created.")
@@ -113,10 +113,11 @@ module Kitchen
113
113
  )
114
114
  end
115
115
 
116
- def create_server
116
+ def create_server(state)
117
117
  client.machine.create(
118
118
  :dataset => config[:dataset],
119
- :package => config[:package]
119
+ :package => config[:package],
120
+ :name => ['tk', @instance.suite.name.to_s, @instance.platform.name.to_s].join('-').slice(0,20)
120
121
  )
121
122
  end
122
123
 
@@ -19,6 +19,6 @@
19
19
  module Kitchen
20
20
  module Driver
21
21
  # Version string for Zcloudjp Test Kitchen driver
22
- ZCLOUDJP_VERSION = "0.1.5"
22
+ ZCLOUDJP_VERSION = "0.1.6"
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-zcloudjp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly