minos 0.3.4 → 0.3.6
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/Gemfile.lock +1 -1
- data/lib/minos/cli.rb +10 -2
- data/lib/minos/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f630873c2560f98da29ac9c8c9420c72adad87a77ab5d65006ce5a00776e659
|
4
|
+
data.tar.gz: f77a12ea0ac0ae580fcc517c212dbe9575706560cd9de17c45a22b483dc09115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 649feef05d36621721f580a46999fb05c552c421bfb148bd0af78a41a8dbcd9f19e1fb47d656d7729a55c2cdf55a7542b09443d8fb505724cdb51dd4b4de0fde
|
7
|
+
data.tar.gz: bd7001c03331f8a45a05074c897cd5640178bda3a621656bc7c8cee9e897a9f21479d18a9d145ddd5f6e28265c1f061a13b07bbe974a0af720133ea95ec71fbe
|
data/Gemfile.lock
CHANGED
data/lib/minos/cli.rb
CHANGED
@@ -7,10 +7,14 @@ module Minos
|
|
7
7
|
option :only, type: :array, default: [], desc: "Process only given artifacts"
|
8
8
|
option :except, type: :array, default: [], desc: "Process all but given artifacts"
|
9
9
|
def build
|
10
|
-
artifacts.map do |a|
|
10
|
+
results = artifacts.map do |a|
|
11
11
|
artifact = Artifact.new(a, options: options)
|
12
12
|
artifact.build
|
13
13
|
end
|
14
|
+
|
15
|
+
exit 1 if results.flatten.any?(&:failure?)
|
16
|
+
|
17
|
+
results
|
14
18
|
end
|
15
19
|
|
16
20
|
desc "push", "Publish docker artifacts specified in the manifest"
|
@@ -18,10 +22,14 @@ module Minos
|
|
18
22
|
option :only, type: :array, default: [], desc: "Process only given artifacts"
|
19
23
|
option :except, type: :array, default: [], desc: "Process all but given artifacts"
|
20
24
|
def push
|
21
|
-
artifacts.map do |a|
|
25
|
+
results = artifacts.map do |a|
|
22
26
|
artifact = Artifact.new(a, options: options)
|
23
27
|
artifact.push
|
24
28
|
end
|
29
|
+
|
30
|
+
exit 1 if results.flatten.any?(&:failure?)
|
31
|
+
|
32
|
+
results
|
25
33
|
end
|
26
34
|
|
27
35
|
desc "version", "Display Minos version"
|
data/lib/minos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre-Louis Gottfrois
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|