adjust script
This commit is contained in:
		@@ -2,23 +2,23 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
REPOS=(
 | 
					REPOS=(
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-auth.git"
 | 
					    "oc-auth"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-catalog.git"
 | 
					    "oc-catalog"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-datacenter.git"
 | 
					    "oc-datacenter"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-front.git"
 | 
					    "oc-front"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-monitord.git"
 | 
					    "oc-monitord"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-peer.git"
 | 
					    "oc-peer"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-shared.git"
 | 
					    "oc-shared"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-scheduler.git"
 | 
					    "oc-scheduler"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-schedulerd.git"
 | 
					    "oc-schedulerd"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-workflow.git"
 | 
					    "oc-workflow"
 | 
				
			||||||
    "https://cloud.o-forge.io/core/oc-workspace.git"
 | 
					    "oc-workspace"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Function to clone repositories
 | 
					# Function to clone repositories
 | 
				
			||||||
clone_repo() {
 | 
					clone_repo() {
 | 
				
			||||||
    local branch=${2:-main}
 | 
					    local branch=${2:-main}
 | 
				
			||||||
    local repo_url="$1"
 | 
					    local repo_url="https://cloud.o-forge.io/core/$1.git"
 | 
				
			||||||
    local repo_name=$(basename "$repo_url" .git)
 | 
					    local repo_name=$(basename "$repo_url" .git)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    echo "Processing repository: $repo_name"
 | 
					    echo "Processing repository: $repo_name"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user