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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16d9e1c975cffe66051de530f3c23e82da366fc9e9234d05443247e1b3604a74
4
- data.tar.gz: cedb8b896002b8d7ff781be86dff32638dd26534b25c89ccc3162a372ab52956
3
+ metadata.gz: 0f630873c2560f98da29ac9c8c9420c72adad87a77ab5d65006ce5a00776e659
4
+ data.tar.gz: f77a12ea0ac0ae580fcc517c212dbe9575706560cd9de17c45a22b483dc09115
5
5
  SHA512:
6
- metadata.gz: d7af5313b2c0ce554531f3c02f880b6c1f131bf8a1fcd45a92e5b371c3652c6db37748ab1339692cb55057c75e0ac336e9dcde38c5be0dfe3dd6d2016b3b2e7e
7
- data.tar.gz: b96b385c7b9bbdc565de89007b939a68f539a3afaf8b700ab64f306cbbf62b3508c426e8c8aed24a16b12c64ef9fa76ea574ffd0b57742318ff4af7e829dfa35
6
+ metadata.gz: 649feef05d36621721f580a46999fb05c552c421bfb148bd0af78a41a8dbcd9f19e1fb47d656d7729a55c2cdf55a7542b09443d8fb505724cdb51dd4b4de0fde
7
+ data.tar.gz: bd7001c03331f8a45a05074c897cd5640178bda3a621656bc7c8cee9e897a9f21479d18a9d145ddd5f6e28265c1f061a13b07bbe974a0af720133ea95ec71fbe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- minos (0.3.4)
4
+ minos (0.3.6)
5
5
  activesupport (~> 5.2)
6
6
  dry-matcher (~> 0.7)
7
7
  dry-monads (~> 1.2)
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
@@ -1,3 +1,3 @@
1
1
  module Minos
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.6'
3
3
  end
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
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-04 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport