cleanup: remove unused workflow — Actions disabled, CI runs on Gitea

This commit is contained in:
Alexa Amundson
2026-03-16 12:22:11 -05:00
parent e6fd857f6d
commit 982415161c

View File

@@ -1,50 +0,0 @@
name: Production Health Check
on:
schedule:
# Run every hour
- cron: '0 * * * *'
workflow_dispatch:
jobs:
health-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check service health
run: |
echo "Checking health endpoints..."
# Read service URLs from environment or config
SERVICES=(
"https://api.blackroad.io/health"
"https://agents.blackroad.io/health"
"https://monitoring.blackroad.io/health"
)
FAILED=0
for url in "${SERVICES[@]}"; do
echo "Testing: $url"
if curl -f -s -o /dev/null -w "%{http_code}" "$url" | grep -q "200"; then
echo "✅ $url is healthy"
else
echo "❌ $url is unhealthy"
FAILED=$((FAILED + 1))
fi
done
if [ $FAILED -gt 0 ]; then
echo "⚠️ $FAILED service(s) failed health check (may be offline/unreachable)"
echo "::warning::$FAILED service(s) failed health check"
else
echo "✅ All services healthy"
fi
- name: Notify on failure
if: failure()
run: |
echo "Health check failed! Notification would be sent here."
# Add Slack/Discord/email notification here