feat: add helm charts test cicd

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
pull/1510/head
Xinwei Xiong(cubxxw) 2 years ago
parent 49bfe85707
commit 844c5cf00d

@ -45,7 +45,7 @@ for template in "${!TEMPLATES[@]}"; do
IFS=';' read -ra OUTPUT_FILES <<< "${TEMPLATES[$template]}" IFS=';' read -ra OUTPUT_FILES <<< "${TEMPLATES[$template]}"
for output_file in "${OUTPUT_FILES[@]}"; do for output_file in "${OUTPUT_FILES[@]}"; do
if [[ -f "${output_file}" ]]; then if [[ -f "${output_file}" ]]; then
read -p "File ${output_file} already exists. Overwrite? (Y/N): " -r read -p "File ${output_file} already exists. Overwrite? (Y/N): "
if [[ $REPLY =~ ^[Yy]$ ]]; then if [[ $REPLY =~ ^[Yy]$ ]]; then
openim::log::info "Overwriting ${output_file}. Previous configuration will be lost." openim::log::info "Overwriting ${output_file}. Previous configuration will be lost."
else else

Loading…
Cancel
Save