mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 13:16:12 +02:00
The '========== Updated Releases ==========' header was a fixed 38 chars regardless of the table width below it. Now the divider line is extended to match the table's visual width, with the title text centered within the '=' borders. - Add TableVisualWidth() to measure table width via runewidth - Add HeaderDividerCentered() and HeaderDividerCenteredStyled() for centered dividers with optional bold+blue ANSI styling - Refactor DisplayAffectedReleases to build the table first, then compute its width before logging the header - Update all test snapshots and integration test output files Signed-off-by: yxxhero <aiopsclub@163.com>
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
merged environment: &{default map[] map[] map[]}
|
|
3 release(s) found in helmfile.yaml
|
|
|
|
Affected releases are:
|
|
bar (stable/mychart2) UPDATED
|
|
baz (stable/mychart3) UPDATED
|
|
foo (stable/mychart1) UPDATED
|
|
|
|
invoking preapply hooks for 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default//foo
|
|
2 default//baz, default//bar
|
|
|
|
invoking preapply hooks for releases in group 1/2: default//foo
|
|
invoking preapply hooks for releases in group 2/2: default//baz, default//bar
|
|
processing 2 groups of releases in this order:
|
|
GROUP RELEASES
|
|
1 default//baz, default//bar
|
|
2 default//foo
|
|
|
|
processing releases in group 1/2: default//baz, default//bar
|
|
getting deployed release version failed: unexpected list key: listkey(filter=^baz$,flags=--kube-context default --uninstalling --deployed --failed --pending) not found in
|
|
getting deployed release version failed: unexpected list key: listkey(filter=^bar$,flags=--kube-context default --uninstalling --deployed --failed --pending) not found in
|
|
processing releases in group 2/2: default//foo
|
|
getting deployed release version failed: unexpected list key: listkey(filter=^foo$,flags=--kube-context default --uninstalling --deployed --failed --pending) not found in
|
|
|
|
[1m[34m================== Updated Releases ===================[0m
|
|
NAME NAMESPACE CHART VERSION DURATION
|
|
baz stable/mychart3 0s
|
|
bar stable/mychart2 0s
|
|
foo stable/mychart1 0s
|
|
|