adjust script
This commit is contained in:
parent
4ef9bb399f
commit
c79db0b3de
@ -2,23 +2,23 @@
|
||||
|
||||
|
||||
REPOS=(
|
||||
"https://cloud.o-forge.io/core/oc-auth.git"
|
||||
"https://cloud.o-forge.io/core/oc-catalog.git"
|
||||
"https://cloud.o-forge.io/core/oc-datacenter.git"
|
||||
"https://cloud.o-forge.io/core/oc-front.git"
|
||||
"https://cloud.o-forge.io/core/oc-monitord.git"
|
||||
"https://cloud.o-forge.io/core/oc-peer.git"
|
||||
"https://cloud.o-forge.io/core/oc-shared.git"
|
||||
"https://cloud.o-forge.io/core/oc-scheduler.git"
|
||||
"https://cloud.o-forge.io/core/oc-schedulerd.git"
|
||||
"https://cloud.o-forge.io/core/oc-workflow.git"
|
||||
"https://cloud.o-forge.io/core/oc-workspace.git"
|
||||
"oc-auth"
|
||||
"oc-catalog"
|
||||
"oc-datacenter"
|
||||
"oc-front"
|
||||
"oc-monitord"
|
||||
"oc-peer"
|
||||
"oc-shared"
|
||||
"oc-scheduler"
|
||||
"oc-schedulerd"
|
||||
"oc-workflow"
|
||||
"oc-workspace"
|
||||
)
|
||||
|
||||
# Function to clone repositories
|
||||
clone_repo() {
|
||||
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)
|
||||
|
||||
echo "Processing repository: $repo_name"
|
||||
|
Loading…
Reference in New Issue
Block a user