vanagon 0.20.0 → 0.20.1
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 +4 -4
- data/lib/vanagon/cli/ship.rb +1 -17
- metadata +26 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8143e33ee3e55783135b3feff210b3b0a9cc84f78ef424b3ea64bc3fb9e2015d
|
|
4
|
+
data.tar.gz: 27cb820cfefca81d8eba73bcb050ed70fc01971b69ce104ac4eb2db83e79fb93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5dc62ebe1401f4552390faa8fd53373d9fb124c571714f297665f009497af7684a8dbebdff6833b28514a85b85507b7d764a896b38e79a3a58c7322ab8d3e7e5
|
|
7
|
+
data.tar.gz: '0895360b81bd25c4f95877df7514d1a5f1ff87a6e765ad244108c9646ce4fc2a93670a282aabcdc41e5c4881a281ac9739b3f4c1c5b1dee03f4e3c9ff5c98a1b'
|
data/lib/vanagon/cli/ship.rb
CHANGED
|
@@ -22,16 +22,6 @@ class Vanagon
|
|
|
22
22
|
def run(_)
|
|
23
23
|
ENV['PROJECT_ROOT'] = Dir.pwd
|
|
24
24
|
|
|
25
|
-
artifactory_warning = <<-DOC
|
|
26
|
-
Unable to ship packages to artifactory. Please make sure you are pointing to a
|
|
27
|
-
recent version of packaging in your Gemfile. Please also make sure you include
|
|
28
|
-
the artifactory gem in your Gemfile.
|
|
29
|
-
|
|
30
|
-
Examples:
|
|
31
|
-
gem 'packaging', :github => 'puppetlabs/packaging', branch: '1.0.x'
|
|
32
|
-
gem 'artifactory'
|
|
33
|
-
DOC
|
|
34
|
-
|
|
35
25
|
if Dir['output/**/*'].select { |entry| File.file?(entry) }.empty?
|
|
36
26
|
VanagonLogger.error 'vanagon: Error: No packages to ship in the "output" directory. Maybe build some first?'
|
|
37
27
|
exit 1
|
|
@@ -40,13 +30,7 @@ class Vanagon
|
|
|
40
30
|
require 'packaging'
|
|
41
31
|
Pkg::Util::RakeUtils.load_packaging_tasks
|
|
42
32
|
Pkg::Util::RakeUtils.invoke_task('pl:jenkins:ship', 'artifacts', 'output')
|
|
43
|
-
|
|
44
|
-
Pkg::Util::RakeUtils.invoke_task('pl:jenkins:ship_to_artifactory', 'output')
|
|
45
|
-
rescue LoadError
|
|
46
|
-
VanagonLogger.error artifactory_warning
|
|
47
|
-
rescue StandardError
|
|
48
|
-
VanagonLogger.error artifactory_warning
|
|
49
|
-
end
|
|
33
|
+
Pkg::Util::RakeUtils.invoke_task('pl:jenkins:ship_to_artifactory', 'output')
|
|
50
34
|
end
|
|
51
35
|
end
|
|
52
36
|
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.20.
|
|
4
|
+
version: 0.20.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet Labs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: docopt
|
|
@@ -293,41 +293,41 @@ signing_key:
|
|
|
293
293
|
specification_version: 3
|
|
294
294
|
summary: All of your packages will fit into this van with this one simple trick.
|
|
295
295
|
test_files:
|
|
296
|
-
- spec/lib/
|
|
297
|
-
- spec/lib/vanagon/
|
|
298
|
-
- spec/lib/vanagon/
|
|
299
|
-
- spec/lib/vanagon/engine/base_spec.rb
|
|
300
|
-
- spec/lib/vanagon/engine/ec2_spec.rb
|
|
301
|
-
- spec/lib/vanagon/engine/docker_spec.rb
|
|
302
|
-
- spec/lib/vanagon/engine/hardware_spec.rb
|
|
303
|
-
- spec/lib/vanagon/engine/pooler_spec.rb
|
|
304
|
-
- spec/lib/vanagon/engine/always_be_scheduling_spec.rb
|
|
305
|
-
- spec/lib/vanagon/engine/local_spec.rb
|
|
306
|
-
- spec/lib/vanagon/common/user_spec.rb
|
|
307
|
-
- spec/lib/vanagon/common/pathname_spec.rb
|
|
308
|
-
- spec/lib/vanagon/platform/osx_spec.rb
|
|
296
|
+
- spec/lib/vanagon/extensions/ostruct/json_spec.rb
|
|
297
|
+
- spec/lib/vanagon/extensions/string_spec.rb
|
|
298
|
+
- spec/lib/vanagon/extensions/set/json_spec.rb
|
|
309
299
|
- spec/lib/vanagon/platform/rpm_spec.rb
|
|
310
|
-
- spec/lib/vanagon/platform/
|
|
311
|
-
- spec/lib/vanagon/platform/deb_spec.rb
|
|
300
|
+
- spec/lib/vanagon/platform/rpm/aix_spec.rb
|
|
312
301
|
- spec/lib/vanagon/platform/windows_spec.rb
|
|
302
|
+
- spec/lib/vanagon/platform/osx_spec.rb
|
|
313
303
|
- spec/lib/vanagon/platform/solaris_10_spec.rb
|
|
314
|
-
- spec/lib/vanagon/platform/rpm/aix_spec.rb
|
|
315
304
|
- spec/lib/vanagon/platform/dsl_spec.rb
|
|
305
|
+
- spec/lib/vanagon/platform/deb_spec.rb
|
|
306
|
+
- spec/lib/vanagon/platform/solaris_11_spec.rb
|
|
316
307
|
- spec/lib/vanagon/project/dsl_spec.rb
|
|
317
|
-
- spec/lib/vanagon/extensions/set/json_spec.rb
|
|
318
|
-
- spec/lib/vanagon/extensions/ostruct/json_spec.rb
|
|
319
|
-
- spec/lib/vanagon/extensions/string_spec.rb
|
|
320
308
|
- spec/lib/vanagon/environment_spec.rb
|
|
321
|
-
- spec/lib/vanagon/
|
|
322
|
-
- spec/lib/vanagon/
|
|
309
|
+
- spec/lib/vanagon/engine/ec2_spec.rb
|
|
310
|
+
- spec/lib/vanagon/engine/local_spec.rb
|
|
311
|
+
- spec/lib/vanagon/engine/docker_spec.rb
|
|
312
|
+
- spec/lib/vanagon/engine/base_spec.rb
|
|
313
|
+
- spec/lib/vanagon/engine/hardware_spec.rb
|
|
314
|
+
- spec/lib/vanagon/engine/always_be_scheduling_spec.rb
|
|
315
|
+
- spec/lib/vanagon/engine/pooler_spec.rb
|
|
316
|
+
- spec/lib/vanagon/component_spec.rb
|
|
323
317
|
- spec/lib/vanagon/component/rules_spec.rb
|
|
324
|
-
- spec/lib/vanagon/component/source_spec.rb
|
|
325
|
-
- spec/lib/vanagon/component/source/git_spec.rb
|
|
326
|
-
- spec/lib/vanagon/component/source/rewrite_spec.rb
|
|
327
318
|
- spec/lib/vanagon/component/source/http_spec.rb
|
|
328
319
|
- spec/lib/vanagon/component/source/local_spec.rb
|
|
320
|
+
- spec/lib/vanagon/component/source/rewrite_spec.rb
|
|
321
|
+
- spec/lib/vanagon/component/source/git_spec.rb
|
|
329
322
|
- spec/lib/vanagon/component/dsl_spec.rb
|
|
323
|
+
- spec/lib/vanagon/component/source_spec.rb
|
|
330
324
|
- spec/lib/vanagon/platform_spec.rb
|
|
325
|
+
- spec/lib/vanagon/cli_spec.rb
|
|
331
326
|
- spec/lib/vanagon/utilities_spec.rb
|
|
327
|
+
- spec/lib/vanagon/common/user_spec.rb
|
|
328
|
+
- spec/lib/vanagon/common/pathname_spec.rb
|
|
329
|
+
- spec/lib/vanagon/driver_spec.rb
|
|
330
|
+
- spec/lib/vanagon/project_spec.rb
|
|
332
331
|
- spec/lib/vanagon/utilities/shell_utilities_spec.rb
|
|
332
|
+
- spec/lib/makefile_spec.rb
|
|
333
333
|
- spec/lib/git/rev_list_spec.rb
|