mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 21:47:39 +02:00
Changed version
This commit is contained in:
@@ -5,7 +5,7 @@ from pathlib import Path
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
# Application version - single source of truth
|
||||
APP_VERSION = "0.1.6b10"
|
||||
APP_VERSION = "0.1.6b11"
|
||||
GITHUB_REPO = "maziggy/bambuddy"
|
||||
|
||||
# App directory - where the application is installed (for static files)
|
||||
|
||||
+3
-3
@@ -75,9 +75,9 @@ fi
|
||||
echo -e "${GREEN}================================================${NC}"
|
||||
echo ""
|
||||
|
||||
# Check if logged in to registry
|
||||
if ! docker info 2>/dev/null | grep -q "Username"; then
|
||||
echo -e "${YELLOW}Warning: You may not be logged in to Docker registry${NC}"
|
||||
# Check if logged in to ghcr.io
|
||||
if ! grep -q "ghcr.io" ~/.docker/config.json 2>/dev/null; then
|
||||
echo -e "${YELLOW}Warning: You may not be logged in to ghcr.io${NC}"
|
||||
echo "Run: echo \$GITHUB_TOKEN | docker login ghcr.io -u YOUR_USERNAME --password-stdin"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
+4
-4
@@ -121,7 +121,7 @@ if [ "$RUN_BUILD" = true ]; then
|
||||
print_header "Test 1: Docker Build"
|
||||
print_info "Building production Docker image..."
|
||||
|
||||
if sudo docker build -t bambuddy:test . --quiet --pull; then
|
||||
if sudo docker build -t bambuddy:test . --pull --no-cache --progress=plain; then
|
||||
print_success "Production image builds successfully"
|
||||
|
||||
# Verify image has expected labels/structure
|
||||
@@ -149,7 +149,7 @@ if [ "$RUN_BACKEND" = true ]; then
|
||||
print_header "Test 2: Backend Unit Tests"
|
||||
print_info "Building backend test image..."
|
||||
|
||||
if sudo docker compose -f docker-compose.test.yml build backend-test --quiet --pull; then
|
||||
if sudo docker compose -f docker-compose.test.yml build backend-test --pull --no-cache --progress=plain; then
|
||||
print_info "Running backend tests..."
|
||||
if sudo docker compose -f docker-compose.test.yml run --rm backend-test; then
|
||||
print_success "Backend unit tests passed"
|
||||
@@ -168,7 +168,7 @@ if [ "$RUN_FRONTEND" = true ]; then
|
||||
print_header "Test 3: Frontend Unit Tests"
|
||||
print_info "Building frontend test image..."
|
||||
|
||||
if sudo docker compose -f docker-compose.test.yml build frontend-test --quiet --pull; then
|
||||
if sudo docker compose -f docker-compose.test.yml build frontend-test --pull --no-cache --progress=plain; then
|
||||
print_info "Running frontend tests..."
|
||||
if sudo docker compose -f docker-compose.test.yml run --rm frontend-test; then
|
||||
print_success "Frontend unit tests passed"
|
||||
@@ -188,7 +188,7 @@ if [ "$RUN_INTEGRATION" = true ]; then
|
||||
print_info "Building integration container..."
|
||||
|
||||
# Build the integration container first to ensure latest code
|
||||
if ! sudo docker compose -f docker-compose.test.yml build integration --quiet --pull; then
|
||||
if ! sudo docker compose -f docker-compose.test.yml build integration --pull --no-cache --progress=plain; then
|
||||
print_failure "Integration container build failed"
|
||||
else
|
||||
print_info "Starting application container..."
|
||||
|
||||
Reference in New Issue
Block a user