Skip to content

Commit 85fc9cd

Browse files
committed
ci: handle 8.8 migration
1 parent cefcdcf commit 85fc9cd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/integration/scenarios/lib/chart-upgrade-taskfile.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,21 @@ tasks:
207207
echo "Including processed image tags file"
208208
fi
209209
210+
# =============================================================================
211+
# Layer 8: Migrator (for chart version 13.x minor upgrades)
212+
# =============================================================================
213+
# Include migrator values for minor upgrades on chart version 13.x
214+
# This handles schema migrations like global.security.initialization -> orchestration.security.initialization
215+
MIGRATOR_FILE="{{ .TEST_VALUES_BASE_DIR }}/chart-full-setup/values-enable-migrator.yaml"
216+
{{ if (env "TEST_CHART_VERSION" | hasPrefix "13") -}}
217+
{{ if (ne .TEST_CHART_FLOW "upgrade-patch") -}}
218+
if [ -f "$MIGRATOR_FILE" ]; then
219+
VALUES_ARGS="$VALUES_ARGS --values $MIGRATOR_FILE"
220+
echo "Layer 8 (migrator): $MIGRATOR_FILE"
221+
fi
222+
{{ end -}}
223+
{{ end -}}
224+
210225
echo ""
211226
echo "=========================================="
212227
echo "Final helm upgrade command:"

0 commit comments

Comments
 (0)