Compare commits
2 Commits
742e3f6b97
...
2d330a5e37
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d330a5e37 | |||
| 06c0b14add |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -90,4 +90,4 @@ temp/
|
||||
.SynologyWorkingDirectory
|
||||
CloudronStack/collab/*.lock
|
||||
CloudronStack/collab/*test-*
|
||||
CloudronStack/output/CloudronPackages-*
|
||||
CloudronStack/output/CloudronPackages-Workspaces/
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user