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 +5 -5
- data/lib/kitchen-habitat/version.rb +1 -1
- data/lib/kitchen/provisioner/habitat.rb +5 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d6bd3c70bf79a4975ec5d73516823d691eeaa9d8dfedde7baecb814f96c088c0
|
4
|
+
data.tar.gz: c1e4ffdcfdb5836ac4bd8e68fc110e3e0e77b2a572920c56ae2820aafe5e22aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75369ce775eb95ef01efe8d7d5fe0168d05dbe859a9a2804b34ce3262eb0c96842fe9840e71142d99856809de1174d6d8810fd700186b46701a3d8225dc11edd
|
7
|
+
data.tar.gz: af46f9ec6576770799528c049abd63b38d6591fd35e7d7d8c80bb7ca2accb386e28e68fdacdc29199f7fade2e3602815db424109baace22f5df515059837f928
|
@@ -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
|
-
#{
|
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
|
-
#{
|
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
|
-
#{
|
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
|
281
|
+
def export_hab_bldr_url
|
283
282
|
return if config[:depot_url].nil?
|
284
|
-
"export
|
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.
|
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-
|
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.
|
136
|
+
rubygems_version: 2.7.6
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Habitat provisioner for test-kitchen
|