Files
proxmox/scripts/execute-all-remaining-tasks.sh

41 lines
1.6 KiB
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
# Master Script to Execute All Remaining Tasks
# Run this after services are installed
set -uo pipefail
PROJECT_ROOT="/home/intlc/projects/proxmox"
log_info() { echo -e "\033[0;32m[INFO]\033[0m $1"; }
log_success() { echo -e "\033[0;32m[✓]\033[0m $1"; }
echo "═══════════════════════════════════════════════════════════"
echo "Execute All Remaining Tasks"
echo "═══════════════════════════════════════════════════════════"
echo ""
# Step 1: Configure service dependencies
log_info "Step 1: Configuring service dependencies..."
bash ${PROJECT_ROOT}/scripts/configure-order-service-dependencies.sh
bash ${PROJECT_ROOT}/scripts/configure-dbis-service-dependencies.sh
log_success "Service dependencies configured"
# Step 2: Run database migrations
log_info "Step 2: Running database migrations..."
bash ${PROJECT_ROOT}/scripts/run-order-database-migrations.sh
bash ${PROJECT_ROOT}/scripts/run-dbis-database-migrations.sh
log_success "Database migrations completed"
# Step 3: Verify all services
log_info "Step 3: Verifying all services..."
bash ${PROJECT_ROOT}/scripts/verify-all-services-complete.sh
log_success "Service verification completed"
# Step 4: End-to-end testing
log_info "Step 4: Running end-to-end tests..."
bash ${PROJECT_ROOT}/scripts/test-end-to-end-complete.sh
log_success "End-to-end testing completed"
echo ""
log_success "All remaining tasks executed!"