From 8c017549f2435419ed56ff8582f4fa46c549ad2c Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Thu, 22 May 2025 11:29:09 -0600 Subject: [PATCH] Add final report display in apply_update.sh to show service credentials - Implemented a final report display feature in apply_update.sh to show service credentials post-update. - Added error handling to log a warning if the final report fails to display, ensuring the update process remains unaffected. - Enhanced user experience by providing a summary of service credentials after a successful update. --- scripts/apply_update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/apply_update.sh b/scripts/apply_update.sh index 2a172f8..97b544f 100755 --- a/scripts/apply_update.sh +++ b/scripts/apply_update.sh @@ -132,4 +132,12 @@ bash "$RUN_SERVICES_SCRIPT" || { log_error "Failed to start services. Check logs log_success "Update application completed successfully!" +# --- Display Final Report with Credentials --- +log_info "Displaying service credentials and report..." +bash "$SCRIPT_DIR/06_final_report.sh" || { + log_warning "Failed to display the final report. This does not affect the update." + # We don't exit 1 here as the update itself was successful. +} +# --- End of Final Report --- + exit 0 \ No newline at end of file