Add new infra architecture 13

This commit is contained in:
Urtzi Alfaro
2026-01-21 23:16:19 +01:00
parent 66dfd50fbc
commit aeff6b1537
22 changed files with 552 additions and 151 deletions

View File

@@ -25,12 +25,12 @@ if ! GITEA_ADMIN_PASSWORD=$(kubectl get secret gitea-admin-secret -n gitea -o js
exit 1
fi
# Login to Gitea registry
# Login to Gitea registry (use external HTTPS URL)
echo "Logging in to Gitea registry..."
docker login gitea-http.gitea.svc.cluster.local:3000 -u bakery-admin -p "$GITEA_ADMIN_PASSWORD"
docker login registry.bakewise.ai -u bakery-admin -p "$GITEA_ADMIN_PASSWORD"
# Define the registry URL
REGISTRY="gitea-http.gitea.svc.cluster.local:3000/bakery-admin"
# Define the registry URL (use external HTTPS URL - containerd requires HTTPS for auth)
REGISTRY="registry.bakewise.ai/bakery-admin"
# Define all services to build
# Format: "directory_name:image_name"

View File

@@ -112,7 +112,7 @@ if [ "$ENVIRONMENT" = "prod" ]; then
else
echo "Error: Could not detect Gitea registry automatically"
echo "Please specify the registry with -r/--registry option"
echo "Example: $0 -e prod -r gitea-http.gitea.svc.cluster.local:3000"
echo "Example: $0 -e prod -r registry.bakewise.ai"
exit 1
fi
fi

View File

@@ -113,7 +113,7 @@ if [ "$ENVIRONMENT" = "prod" ]; then
else
echo "Error: Could not detect Gitea registry automatically"
echo "Please specify the registry with -r/--registry option"
echo "Example: $0 -e prod -r gitea-http.gitea.svc.cluster.local:3000"
echo "Example: $0 -e prod -r registry.bakewise.ai"
exit 1
fi
fi