#!/bin/bash # Test the auto-deployment system with a simple template echo "๐Ÿงช Testing Auto-Deployment System" echo "================================" echo "" # Check if we're in the right directory if [[ ! -f "scripts/auto-deploy.sh" ]]; then echo "โŒ Error: Please run this script from the project root directory" exit 1 fi echo "๐Ÿ” Checking dependencies..." if command -v docker &> /dev/null; then echo "โœ… Docker is available" else echo "โŒ Docker is not available - this test requires Docker" exit 1 fi echo "" echo "๐ŸŽฏ Testing auto-deployment with Glance (simplest template)..." echo "" # Make scripts executable chmod +x scripts/auto-deploy.sh chmod +x scripts/quick-deploy.sh echo "๐Ÿ“‹ Available deployment options:" echo "1. Quick Deploy: ./scripts/quick-deploy.sh" echo "2. Direct Deploy: ./scripts/auto-deploy.sh glance" echo "3. List Templates: ./scripts/auto-deploy.sh --list" echo "4. Deploy All: ./scripts/auto-deploy.sh --all" echo "" echo "๐Ÿš€ Let's test the system by listing available templates:" ./scripts/auto-deploy.sh --list echo "" echo "โœ… Auto-deployment system is ready!" echo "" echo "๐ŸŽฏ To use it:" echo " ./scripts/quick-deploy.sh # Interactive menu" echo " ./scripts/auto-deploy.sh glance # Direct deployment" echo "" echo "๐Ÿ“– Full guide: AUTO_DEPLOY_GUIDE.md"