chefrepo-manifest-builder 0.2.2 → 0.2.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1ab1c409fda52721444e07c6d0da3ae397f5043
|
4
|
+
data.tar.gz: fd22b9405ad60191433c9c5fb371fa48ef6ff538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44843ba2a9de7f1a54f05cbf9144f232cd7b9917f4b3867ec5865116221ffa12482d055d89018554cb1d239957702fa4d51cd3a49b7d28b207a7a478babfa9a1
|
7
|
+
data.tar.gz: 934b25c79017439604f539d32d5bd0af6076669510d7952f5bc343cc1b024162af7dbeeda056b5d8ad8154bfbc6d89751e173ae6d4ec6185d7318363c92bdada
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
chefrepo-manifest-builder (0.2.
|
4
|
+
chefrepo-manifest-builder (0.2.3)
|
5
5
|
archive-tar-minitar (= 0.5.2)
|
6
6
|
json (>= 1.8.1, < 1.9)
|
7
|
-
manifest-builder (>= 0.7.
|
7
|
+
manifest-builder (>= 0.7.2, < 1.1)
|
8
8
|
s3etag (>= 0.0.1, < 0.1.0)
|
9
9
|
|
10
10
|
PATH
|
@@ -34,7 +34,7 @@ PATH
|
|
34
34
|
PATH
|
35
35
|
remote: ../manifest-builder
|
36
36
|
specs:
|
37
|
-
manifest-builder (0.7.
|
37
|
+
manifest-builder (0.7.2)
|
38
38
|
archive-tar-minitar (= 0.5.2)
|
39
39
|
chefrepo-builder (>= 0.9.41, < 1.1)
|
40
40
|
json (>= 1.8.1, < 1.9)
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
|
-
gem.add_dependency 'manifest-builder', '>= 0.7.
|
20
|
+
gem.add_dependency 'manifest-builder', '>= 0.7.2', '< 1.1'
|
21
21
|
gem.add_dependency 'json', '>= 1.8.1', '< 1.9'
|
22
22
|
gem.add_dependency 's3etag', '>= 0.0.1', '< 0.1.0'
|
23
23
|
gem.add_dependency 'archive-tar-minitar', '= 0.5.2'
|
@@ -25,6 +25,7 @@ module CiCd
|
|
25
25
|
@logger.error "Bad repo/inventory specified. s3://#{ENV['AWS_S3_BUCKET']}/#{key}"
|
26
26
|
@vars[:return_code] = Errors::PRUNE_BAD_REPO
|
27
27
|
else
|
28
|
+
versrels = nil
|
28
29
|
if json['container'] and json['container']['variants']
|
29
30
|
# but does not have our variant ...
|
30
31
|
variants = json['container']['variants']
|
@@ -71,20 +72,20 @@ module CiCd
|
|
71
72
|
end
|
72
73
|
unless drawer
|
73
74
|
if branches.include?(@vars[:branch])
|
74
|
-
survivors = builds.select{ |
|
75
|
-
bra = @repo._getBranch(@vars,
|
75
|
+
survivors = builds.select{ |dwr|
|
76
|
+
bra = @repo._getBranch(@vars, dwr)
|
76
77
|
bra == @vars[:branch]
|
77
78
|
}
|
78
79
|
builds = survivors
|
79
80
|
if versions.include?(@vars[:version])
|
80
|
-
survivors = builds.select{ |
|
81
|
-
ver = @repo._getVersion(@vars,
|
81
|
+
survivors = builds.select{ |draw|
|
82
|
+
ver = @repo._getVersion(@vars, draw)
|
82
83
|
ver == @vars[:version]
|
83
84
|
}
|
84
85
|
builds = survivors
|
85
|
-
if versrels.include?("#{@vars[:version]}-#{@vars[:release]}")
|
86
|
-
survivors = builds.select{ |
|
87
|
-
rel = @repo._getRelease(@vars,
|
86
|
+
if versrels and versrels.include?("#{@vars[:version]}-#{@vars[:release]}")
|
87
|
+
survivors = builds.select{ |draw|
|
88
|
+
rel = @repo._getRelease(@vars, draw)
|
88
89
|
rel == @vars[:release]
|
89
90
|
}
|
90
91
|
builds = survivors
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefrepo-manifest-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christo De Lange
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: manifest-builder
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.7.
|
19
|
+
version: 0.7.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '1.1'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.7.
|
29
|
+
version: 0.7.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '1.1'
|