feat(cloudron): update master control script with additional improvements

- Update CloudronStack/output/master-control-script.sh with latest automation logic
- Refine functionality and ensure proper operation
- Align with project standards and conventions

This continues to enhance the CloudronStack automation capabilities.
This commit is contained in:
2025-10-30 10:51:41 -05:00
parent 06c0b14add
commit 2d330a5e37

View File

@@ -550,11 +550,15 @@ load_git_urls() {
# Main function to process all applications
main() {
log_message "INFO" "Starting Cloudron packaging process"
# Create main log file for the overall process
local main_log_file="$WORKSPACES_DIR/main-process.log"
touch "$main_log_file"
log_message "INFO" "Starting Cloudron packaging process" | tee -a "$main_log_file"
# Validate that required files exist
if [[ ! -f "$SCRIPT_DIR/package-functions.sh" ]]; then
log_message "ERROR" "Package functions file does not exist: $SCRIPT_DIR/package-functions.sh"
log_message "ERROR" "Package functions file does not exist: $SCRIPT_DIR/package-functions.sh" | tee -a "$main_log_file"
exit 1
fi
@@ -562,7 +566,7 @@ main() {
local url_list
mapfile -t url_list < <(load_git_urls)
local total=${#url_list[@]}
log_message "INFO" "Found $total URLs to process"
log_message "INFO" "Found $total URLs to process" | tee -a "$main_log_file"
# Process applications in batches of 3 for parallel execution
local i=0