dapp 0.13.16 → 0.13.17
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/dapp/kube/dapp/command/deploy.rb +0 -1
- data/lib/dapp/kube/helm/release.rb +8 -8
- data/lib/dapp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9e04341cb2d60b3950b60e7a0347ce4ba3aefc8
|
|
4
|
+
data.tar.gz: 746bcfa431003b5aaac9d97c7f09aa7a8a895c8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93a186ff50fa4fdceec4a973bc011d21bc60e747cebe7b0f4be3f6bcd905ef5ae578f95732afdf757b4de291f595422c89a088e4c5395d6bfa80f42fe031fe9c
|
|
7
|
+
data.tar.gz: 09f10ab1ae0e559576882fdca1cb64b6c31b89987497ccb7b371625bf9a33d99243ee0f4baf03bc610c73f4824755631b88d5e4d5b22a763547e01dbd9e5316c
|
|
@@ -80,10 +80,6 @@ module Dapp
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
if evaluation_output.lines.map(&:strip).grep(/ERROR: Job failed: exit status 1/).any?
|
|
84
|
-
raise Error::Base, code: :helm_failed
|
|
85
|
-
end
|
|
86
|
-
|
|
87
83
|
hook_start_index = nil
|
|
88
84
|
if ind = evaluation_output.lines.index("HOOKS:\n")
|
|
89
85
|
hook_start_index = ind + 1
|
|
@@ -98,12 +94,16 @@ module Dapp
|
|
|
98
94
|
warn "[WARN][DEBUG INFO] Cannot find MANIFEST section in helm dry-run output:"
|
|
99
95
|
end
|
|
100
96
|
|
|
101
|
-
|
|
102
|
-
warn "[WARN][DEBUG INFO] Cannot find end of MANIFEST section in helm dry-run output:"
|
|
103
|
-
end
|
|
97
|
+
happy_helming_start_index = evaluation_output.lines.index("Release \"#{name}\" has been upgraded. Happy Helming!\n")
|
|
104
98
|
|
|
105
99
|
generator.call(evaluation_output.lines[hook_start_index..manifest_start_index-2].join) if hook_start_index and manifest_start_index
|
|
106
|
-
|
|
100
|
+
if manifest_start_index
|
|
101
|
+
if happy_helming_start_index
|
|
102
|
+
generator.call(evaluation_output.lines[manifest_start_index..happy_helming_start_index-2].join)
|
|
103
|
+
else
|
|
104
|
+
generator.call(evaluation_output.lines[manifest_start_index..-1].join)
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
data/lib/dapp/version.rb
CHANGED