-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify-deployment.sh
More file actions
executable file
·55 lines (47 loc) · 1.34 KB
/
verify-deployment.sh
File metadata and controls
executable file
·55 lines (47 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
# Verification script for Railway deployment
echo "🔍 Verifying Railway deployment configuration..."
# Check if Railway config exists
if [ -f "deepsearch/railway.toml" ]; then
echo "✅ Railway configuration found"
else
echo "❌ Railway configuration missing"
exit 1
fi
# Check if start script exists
if [ -f "deepsearch/start.sh" ]; then
echo "✅ Start script found"
else
echo "❌ Start script missing"
exit 1
fi
# Check if package.json exists
if [ -f "deepsearch/package.json" ]; then
echo "✅ Package.json found"
else
echo "❌ Package.json missing"
exit 1
fi
# Check app structure
echo "📂 Checking app structure..."
apps=("api-gateway" "reasoning-engine" "web-client")
for app in "${apps[@]}"; do
if [ -d "deepsearch/apps/$app" ]; then
echo "✅ $app directory found"
else
echo "❌ $app directory missing"
fi
done
# Check CI/CD configuration
if [ -f ".github/workflows/ci.yml" ]; then
echo "✅ CI/CD workflow found"
else
echo "❌ CI/CD workflow missing"
fi
echo "✅ Deployment verification complete!"
echo ""
echo "🚀 Next steps:"
echo "1. Set up Railway account and API token in GitHub secrets"
echo "2. Run 'railway login' to authenticate locally"
echo "3. Run 'cd deepsearch && railway up' to deploy"
echo "4. Or push to deploy-ready branch to trigger CI/CD"