kitchen-sshgzip 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/lib/kitchen/sshgzip/version.rb +1 -1
- data/lib/kitchen/sshgzip.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjMzZjMzM2IyYTgyNjJkZmEwMGJmNmIxOWU2ODhmZjNkOGNjNzc4MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjM2Yzg4N2Q0YmFhOWQ4MjI3YTg3ZTJiN2RmMGViZWE2NWI0MmYxNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTA5YmNhZjllMTlhOTBlZjI5NzY3MmEzOGI2MzRiMzAzYWE4MmRlZTU0OWUy
|
10
|
+
MTNhMjgxZDlmNTEzMGI1MGFiZWRkMmMxZDBjNThkM2MwNTQzNzEwYjA4NDg2
|
11
|
+
ZTRmM2U3MTYzYzZiYWE0YmM1NzU0YjM0NjJhZjYxYWZiNzYyN2M=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTg4ZTU3Y2I1NGMwNWY3YjJlYTRmNzgyNWM4YTYyZTUyYTJlOTk4MWQyMzY3
|
14
|
+
ZDI0NTYxMjBkODMxYWU0MWM5ZmE3NjQ0ZWZkYzVmZWEyY2Q0NmRjZTE1MDZh
|
15
|
+
NTAwY2EyNDU4YjE1OWZjOGUwYTM1MmRkYWQ1YmJkMjJiNmNkMWE=
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# kitchen-sshgzip
|
2
2
|
|
3
|
-
Adds 2 new drivers to test-kitchen
|
3
|
+
Adds 2 new drivers to test-kitchen
|
4
4
|
|
5
|
-
* ssh_gzip - same as
|
5
|
+
* ssh_gzip - same as ssh_base, only dirs are gzipped and extracted for upload
|
6
6
|
* digitalocean_gzip - same as digitalocean, only see above
|
7
7
|
|
8
8
|
## Installation
|
data/lib/kitchen/sshgzip.rb
CHANGED
@@ -8,6 +8,7 @@ module Kitchen
|
|
8
8
|
if File.directory?(path)
|
9
9
|
tmp_root = Dir.mktmpdir('gzipped_chef_upload')
|
10
10
|
gzip_path = "#{tmp_root}/#{dir}.tar.gz"
|
11
|
+
info("Compressing #{dir} into #{dir}.tar.gz")
|
11
12
|
system "cd #{path} && tar -zcf #{gzip_path} ."
|
12
13
|
super(scp, gzip_path, "#{dir}.tar.gz")
|
13
14
|
scp.session.exec! "cd #{chef_home} && mkdir #{dir} && " +
|