vanagon 0.29.0 → 0.30.0
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2dda4b6ee0f2e7df4443eee96ac2d6a31a3b70045348a1659a377e3c6fe4d42
|
4
|
+
data.tar.gz: 3cbc04e6447435f41a9dedf83f8d0bc3eb0f606663032384c1e34f526e35dc00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6395d2ab2f96b64637be1be8fc5ac0548da7cf9b17d3d4365e337fb725cab14c7df026df5e8b5bb632490cfb9ac233bc94e481463a00c2f516e8fc10a252a701
|
7
|
+
data.tar.gz: efb78d1686945d3ca0ca99409c1b4753c628ff077860dcaab5429e065545f48041f62c02472de05dc44295a8fb099d6f3eda47a4097d93d2ba13fa2849846070
|
@@ -16,6 +16,8 @@ class Vanagon
|
|
16
16
|
remote_host = "#{project.signing_username}@#{project.signing_hostname}"
|
17
17
|
remote_destination_directory = "#{remote_host}:#{tempdir}"
|
18
18
|
remote_signing_script_path = File.join(tempdir, File.basename('sign_extra_file'))
|
19
|
+
extra_flags = ''
|
20
|
+
extra_flags = '--extended-attributes' if project.platform.is_macos?
|
19
21
|
|
20
22
|
project.extra_files_to_sign.each do |file|
|
21
23
|
remote_file_to_sign_path = File.join(tempdir, File.basename(file))
|
@@ -25,9 +27,9 @@ class Vanagon
|
|
25
27
|
|
26
28
|
commands += [
|
27
29
|
"#{Vanagon::Utilities.ssh_command} #{remote_host} \"echo '#{project.signing_command} #{remote_file_to_sign_path}' > #{remote_signing_script_path}\"",
|
28
|
-
"
|
30
|
+
"rsync -e '#{Vanagon::Utilities.ssh_command}' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group #{extra_flags} #{local_source_path} #{remote_destination_directory}",
|
29
31
|
"#{Vanagon::Utilities.ssh_command} #{remote_host} /bin/bash #{remote_signing_script_path}",
|
30
|
-
"
|
32
|
+
"rsync -e '#{Vanagon::Utilities.ssh_command}' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group #{extra_flags} #{remote_source_path} #{local_destination_path}"
|
31
33
|
]
|
32
34
|
end
|
33
35
|
|
@@ -84,13 +84,13 @@ describe Vanagon::Utilities::ExtraFilesSigner do
|
|
84
84
|
expect(commands).to match(
|
85
85
|
[
|
86
86
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/a.rb' > /tmp/xyz/sign_extra_file"),
|
87
|
-
%q(
|
87
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes $(tempdir)/dir/source_dir/test1/a.rb test@abc:/tmp/xyz),
|
88
88
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
89
|
-
%q(
|
89
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes test@abc:/tmp/xyz/a.rb $(tempdir)/dir/source_dir/test1/a.rb),
|
90
90
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/b.rb' > /tmp/xyz/sign_extra_file"),
|
91
|
-
%q(
|
91
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes $(tempdir)/dir/source_dir/test2/b.rb test@abc:/tmp/xyz),
|
92
92
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
93
|
-
%q(
|
93
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group --extended-attributes test@abc:/tmp/xyz/b.rb $(tempdir)/dir/source_dir/test2/b.rb)
|
94
94
|
]
|
95
95
|
)
|
96
96
|
end
|
@@ -110,13 +110,13 @@ describe Vanagon::Utilities::ExtraFilesSigner do
|
|
110
110
|
expect(commands).to match(
|
111
111
|
[
|
112
112
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/a.rb' > /tmp/xyz/sign_extra_file"),
|
113
|
-
%q(
|
113
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group $(tempdir)/dir/source_dir/test1/a.rb test@abc:/tmp/xyz),
|
114
114
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
115
|
-
%q(
|
115
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group test@abc:/tmp/xyz/a.rb $(tempdir)/dir/source_dir/test1/a.rb),
|
116
116
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc "echo 'codesign /tmp/xyz/b.rb' > /tmp/xyz/sign_extra_file"),
|
117
|
-
%q(
|
117
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group $(tempdir)/dir/source_dir/test2/b.rb test@abc:/tmp/xyz),
|
118
118
|
%q(/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test@abc /bin/bash /tmp/xyz/sign_extra_file),
|
119
|
-
%q(
|
119
|
+
%q(rsync -e '/usr/bin/ssh -p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --verbose --recursive --hard-links --links --no-perms --no-owner --no-group test@abc:/tmp/xyz/b.rb $(tempdir)/dir/source_dir/test2/b.rb)
|
120
120
|
]
|
121
121
|
)
|
122
122
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanagon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docopt
|
@@ -333,42 +333,42 @@ signing_key:
|
|
333
333
|
specification_version: 3
|
334
334
|
summary: All of your packages will fit into this van with this one simple trick.
|
335
335
|
test_files:
|
336
|
-
- spec/lib/git/rev_list_spec.rb
|
337
|
-
- spec/lib/vanagon/environment_spec.rb
|
338
|
-
- spec/lib/vanagon/project/dsl_spec.rb
|
339
|
-
- spec/lib/vanagon/extensions/string_spec.rb
|
340
336
|
- spec/lib/vanagon/extensions/set/json_spec.rb
|
341
337
|
- spec/lib/vanagon/extensions/ostruct/json_spec.rb
|
342
|
-
- spec/lib/vanagon/
|
343
|
-
- spec/lib/vanagon/utilities/extra_files_signer_spec.rb
|
344
|
-
- spec/lib/vanagon/component/dsl_spec.rb
|
345
|
-
- spec/lib/vanagon/component/source/http_spec.rb
|
346
|
-
- spec/lib/vanagon/component/source/rewrite_spec.rb
|
347
|
-
- spec/lib/vanagon/component/source/local_spec.rb
|
348
|
-
- spec/lib/vanagon/component/source/git_spec.rb
|
349
|
-
- spec/lib/vanagon/component/source_spec.rb
|
350
|
-
- spec/lib/vanagon/component/rules_spec.rb
|
351
|
-
- spec/lib/vanagon/platform/deb_spec.rb
|
352
|
-
- spec/lib/vanagon/platform/rpm/aix_spec.rb
|
353
|
-
- spec/lib/vanagon/platform/osx_spec.rb
|
354
|
-
- spec/lib/vanagon/platform/solaris_11_spec.rb
|
355
|
-
- spec/lib/vanagon/platform/dsl_spec.rb
|
356
|
-
- spec/lib/vanagon/platform/rpm_spec.rb
|
357
|
-
- spec/lib/vanagon/platform/solaris_10_spec.rb
|
358
|
-
- spec/lib/vanagon/platform/windows_spec.rb
|
338
|
+
- spec/lib/vanagon/extensions/string_spec.rb
|
359
339
|
- spec/lib/vanagon/common/pathname_spec.rb
|
360
340
|
- spec/lib/vanagon/common/user_spec.rb
|
361
|
-
- spec/lib/vanagon/driver_spec.rb
|
362
341
|
- spec/lib/vanagon/platform_spec.rb
|
363
|
-
- spec/lib/vanagon/
|
364
|
-
- spec/lib/vanagon/project_spec.rb
|
365
|
-
- spec/lib/vanagon/engine/ec2_spec.rb
|
366
|
-
- spec/lib/vanagon/engine/docker_spec.rb
|
342
|
+
- spec/lib/vanagon/cli_spec.rb
|
367
343
|
- spec/lib/vanagon/engine/pooler_spec.rb
|
344
|
+
- spec/lib/vanagon/engine/docker_spec.rb
|
368
345
|
- spec/lib/vanagon/engine/local_spec.rb
|
369
346
|
- spec/lib/vanagon/engine/always_be_scheduling_spec.rb
|
370
347
|
- spec/lib/vanagon/engine/base_spec.rb
|
348
|
+
- spec/lib/vanagon/engine/ec2_spec.rb
|
371
349
|
- spec/lib/vanagon/engine/hardware_spec.rb
|
372
|
-
- spec/lib/vanagon/
|
350
|
+
- spec/lib/vanagon/project_spec.rb
|
373
351
|
- spec/lib/vanagon/utilities_spec.rb
|
352
|
+
- spec/lib/vanagon/driver_spec.rb
|
353
|
+
- spec/lib/vanagon/component/rules_spec.rb
|
354
|
+
- spec/lib/vanagon/component/source_spec.rb
|
355
|
+
- spec/lib/vanagon/component/source/rewrite_spec.rb
|
356
|
+
- spec/lib/vanagon/component/source/local_spec.rb
|
357
|
+
- spec/lib/vanagon/component/source/http_spec.rb
|
358
|
+
- spec/lib/vanagon/component/source/git_spec.rb
|
359
|
+
- spec/lib/vanagon/component/dsl_spec.rb
|
360
|
+
- spec/lib/vanagon/project/dsl_spec.rb
|
361
|
+
- spec/lib/vanagon/utilities/extra_files_signer_spec.rb
|
362
|
+
- spec/lib/vanagon/utilities/shell_utilities_spec.rb
|
363
|
+
- spec/lib/vanagon/platform/solaris_11_spec.rb
|
364
|
+
- spec/lib/vanagon/platform/solaris_10_spec.rb
|
365
|
+
- spec/lib/vanagon/platform/osx_spec.rb
|
366
|
+
- spec/lib/vanagon/platform/windows_spec.rb
|
367
|
+
- spec/lib/vanagon/platform/deb_spec.rb
|
368
|
+
- spec/lib/vanagon/platform/rpm_spec.rb
|
369
|
+
- spec/lib/vanagon/platform/rpm/aix_spec.rb
|
370
|
+
- spec/lib/vanagon/platform/dsl_spec.rb
|
371
|
+
- spec/lib/vanagon/environment_spec.rb
|
372
|
+
- spec/lib/vanagon/component_spec.rb
|
373
|
+
- spec/lib/git/rev_list_spec.rb
|
374
374
|
- spec/lib/makefile_spec.rb
|