Skip to content

Commit a23c523

Browse files
authored
fixed issue where user had to submit a vault file, updated version, enable fix branches in integration tests (#7)
* fixed issue where user had to submit a vault file, updated version, enable fix branches in integration tests
1 parent 1742c5c commit a23c523

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/integration.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- 'feature/*'
7+
- 'fix/*'
78
- 'main'
89

910
jobs:

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
kitchen-yansible-pusher (0.1.2)
4+
kitchen-yansible-pusher (0.1.3)
55

66
GEM
77
remote: https://rubygems.org/

lib/kitchen/provisioner/yansible_pusher.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,12 @@ def ansible_use_private_key(cmd)
148148
state = instance.transport.instance_variable_get(:@connection_options)
149149
cmd << "--private-key #{state[:keys][0]}"
150150
end
151+
cmd
151152
end
152153

153154
def ansible_use_vault_password_file(cmd)
154-
cmd << "--vault-password-file #{config[:vault_password_file]}" if config[:vault_password_file]
155+
cmd << "--vault-password-file #{config[:vault_password_file]}" unless config[:vault_password_file].nil?
156+
cmd
155157
end
156158

157159
def ansible_verbosity(cmd)

lib/kitchen/yansible/pusher/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Kitchen
44
module Yansible
55
module Pusher
6-
VERSION = "0.1.2"
6+
VERSION = "0.1.3"
77
end
88
end
99
end

0 commit comments

Comments
 (0)