oc-deploy vanilla k8s docker

This commit is contained in:
mr
2025-03-27 13:21:52 +01:00
parent 3b7c3a9526
commit 626a1b1f22
94 changed files with 864 additions and 1647 deletions

21
k8s/start.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
mode=${1:-dev}
branch=${2:-main}
cd ../..
if [ ! -d "oc-k8s" ];
echo "Cloning repository: $repo_name"
git clone "https://cloud.o-forge.io/core/oc-k8s.git"
if [ $? -ne 0 ]; then
echo "Error cloning oc-k8s"
exit 1
fi
fi
echo "Repository 'oc-k8s' already exists. Pulling latest changes..."
cd "oc-k8s" && git checkout $branch && git pull
./create_kind_cluster.sh
./clone_opencloud_microservices.sh $branch
./build_opencloud_microservices.sh
./install.sh $mode