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.
This commit is contained in:
Yury Kossakovsky
2025-05-22 11:29:09 -06:00
parent 2baafa495b
commit 8c017549f2

View File

@@ -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