kitchen-habitat 0.8.0 → 0.8.1

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
- SHA1:
3
- metadata.gz: f200f91d0c7bde6766da07d73786157e6e8411a7
4
- data.tar.gz: 480d7f26a3eaa96a26ef3bc3cc8d5ef4024f2e04
2
+ SHA256:
3
+ metadata.gz: d6bd3c70bf79a4975ec5d73516823d691eeaa9d8dfedde7baecb814f96c088c0
4
+ data.tar.gz: c1e4ffdcfdb5836ac4bd8e68fc110e3e0e77b2a572920c56ae2820aafe5e22aa
5
5
  SHA512:
6
- metadata.gz: 6a51d73ed9e043222f030b3816bd7284cc5a64a43d3ac208c4ad81c8dadd8ca64fc64095c41b673263747f435b17331e446691349678c0f1442eaefcf40827cc
7
- data.tar.gz: d86d2b14dff2b18685b59e2fad715ce0968f9736fbb1f4b978a0770d506f2d82e82f1587d4993950f8b4016225969e1bca6a3b3b580f2ae58bb6232b252ccc89
6
+ metadata.gz: 75369ce775eb95ef01efe8d7d5fe0168d05dbe859a9a2804b34ce3262eb0c96842fe9840e71142d99856809de1174d6d8810fd700186b46701a3d8225dc11edd
7
+ data.tar.gz: af46f9ec6576770799528c049abd63b38d6591fd35e7d7d8c80bb7ca2accb386e28e68fdacdc29199f7fade2e3602815db424109baace22f5df515059837f928
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Habitat
3
- VERSION = "0.8.0".freeze
3
+ VERSION = "0.8.1".freeze
4
4
  end
5
5
  end
@@ -77,7 +77,7 @@ module Kitchen
77
77
  def install_command
78
78
  raise "Need to fill in some implementation here." if instance.platform == "windows"
79
79
  wrap_shell_code <<-BASH
80
- #{export_hab_origin}
80
+ #{export_hab_bldr_url}
81
81
  if command -v hab >/dev/null 2>&1
82
82
  then
83
83
  echo "Habitat CLI already installed."
@@ -105,7 +105,7 @@ module Kitchen
105
105
 
106
106
  def prepare_command
107
107
  wrap_shell_code <<-EOH
108
- #{export_hab_origin}
108
+ #{export_hab_bldr_url}
109
109
  #{install_supervisor_command}
110
110
  #{binlink_supervisor_command}
111
111
  #{install_service_package}
@@ -116,7 +116,7 @@ module Kitchen
116
116
 
117
117
  def run_command
118
118
  run = <<-RUN
119
- #{export_hab_origin}
119
+ #{export_hab_bldr_url}
120
120
  #{clean_up_screen_sessions}
121
121
  #{clean_up_previous_supervisor}
122
122
  echo "Running #{package_ident}."
@@ -259,7 +259,6 @@ module Kitchen
259
259
 
260
260
  artifact_path = Dir.glob(File.join(results_dir, "#{config[:package_origin]}-#{config[:package_name]}-*.hart")).max_by { |f| File.mtime(f) }
261
261
 
262
-
263
262
  File.basename(artifact_path)
264
263
  end
265
264
 
@@ -279,9 +278,9 @@ module Kitchen
279
278
  REMOVE
280
279
  end
281
280
 
282
- def export_hab_origin
281
+ def export_hab_bldr_url
283
282
  return if config[:depot_url].nil?
284
- "export HAB_ORIGIN=#{config[:depot_url]}"
283
+ "export HAB_BLDR_URL=#{config[:depot_url]}"
285
284
  end
286
285
 
287
286
  def install_supervisor_command
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-habitat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-21 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project: "[none]"
136
- rubygems_version: 2.5.2.1
136
+ rubygems_version: 2.7.6
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Habitat provisioner for test-kitchen