helm_upgrade_logs 0.3.1 → 0.3.2

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: 2b0bd4dec8d15bd330ceb45ba82dc81e0a5ca0301c8032037462bd532ed6f75a
4
- data.tar.gz: d4bd99f9a4d04e25b8f34089169f3355ac43d75081438aa3d8ed6854b0f787f6
3
+ metadata.gz: 5413c44c5fabf6be263e3a827492c64fe16e3551f50c95d12d645a2b77a4fc1b
4
+ data.tar.gz: 6819b933e6b024192bc105b63e043797b40e65574e489059b89485c21c813ca4
5
5
  SHA512:
6
- metadata.gz: c097c2af0698ad0c844c97c78f94498edafa94f66213d782a9fa9b5dc959cc6a0f9bf3ae11b39ce70860b7e91de92e00d4da6d0cd07b361145b4c6d04f118115
7
- data.tar.gz: a8e3188650ec71f1a8de1c44c2f6105d02c09247e18feebbd2f625b898a9cc983f92c4eab9e0dec08d7daabd4e1298f720fc901a985be65658f274e5a8764c97
6
+ metadata.gz: a85680b3534a9be3dae6b6cd639ab301343566da90a5aaa902e8804a33eec500b3eea3668f9084e866c3dcd88bc2d7227cb8cbecc1c7277bd1b0adc304cae2be
7
+ data.tar.gz: 6a27d029fd165bbefd3e94f28f45959f6054b421d0264f866f86191512ab02187889ebc0281d6bd791cc4c2ebfb4db722e7f36677372ce53ccadc9ad33cb4e3f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.3.2]
2
+
3
+ - ADO error and normal error don't need to both be displayed
4
+
1
5
  ## [0.3.1]
2
6
 
3
7
  - Fix LOG folder parsed to check error message
@@ -74,8 +74,11 @@ if ENV["helm_upgrade_logs_error_msg"]
74
74
  next unless line.include?(ENV["helm_upgrade_logs_error_msg"])
75
75
 
76
76
  msg = "Helm install error: #{line} from #{log_file} (Line #{index + 1})"
77
- puts "[ERROR] #{msg}"
78
- puts "##vso[task.logissue type=error] #{msg}" if ENV["helm_upgrade_logs_ado_error"] == "true"
77
+ if ENV["helm_upgrade_logs_ado_error"] == "true"
78
+ puts "##vso[task.logissue type=error] #{msg}"
79
+ else
80
+ puts "[ERROR] #{msg}"
81
+ end
79
82
  end
80
83
  end
81
84
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module HelmUpgradeLogs
4
4
  # @return [String] Version of helm upgrade logs
5
- VERSION = "0.3.1"
5
+ VERSION = "0.3.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helm_upgrade_logs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Garratt