feat(frontend): Kinetic Precision design system — new lime theme, glassmorphism, redesigned pages
- New design system: Stitch (kinetic-precision.css) with lime (#cafd00) accent - New Google Fonts: Lexend, Plus Jakarta Sans, Space Grotesk - New page: BenchmarksPage with strength/endurance/body tracking - Redesigned: Dashboard, ProgressPage, WorkoutPage, LoginPage + LoginPage.css - Add shared glassmorphism nav, kinetic buttons, intensity indicators - Build: 265KB JS / 88KB CSS / 2.54s (clean)
This commit is contained in:
Executable
+36
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Gravl Monitoring Check - Phase 10-09 Pre-Launch
|
||||
# Runs periodic health checks on staging and readiness for production components.
|
||||
|
||||
TIMESTAMP=$(date -Iseconds)
|
||||
REPORT_FILE="/workspace/gravl/monitoring/health_report.json"
|
||||
|
||||
echo "Running Gravl Health Check: $TIMESTAMP"
|
||||
|
||||
# 1. Check Staging API Health (Example endpoint)
|
||||
STAGING_API_STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://api.staging.gravl.example.com/health || echo "FAIL")
|
||||
|
||||
# 2. Check Cert-Manager Pods
|
||||
CERT_MANAGER_STATUS=$(kubectl get pods -n cert-manager --no-headers | awk '{print $3}' | grep -v Running | wc -l)
|
||||
if [ "$CERT_MANAGER_STATUS" -eq 0 ]; then CERT_STATUS="HEALTHY"; else CERT_STATUS="UNHEALTHY"; fi
|
||||
|
||||
# 3. Check Sealed Secrets Pods
|
||||
SEALED_SECRETS_STATUS=$(kubectl get pods -n kube-system -l app.kubernetes.io/name=sealed-secrets --no-headers | awk '{print $3}' | grep -v Running | wc -l)
|
||||
if [ "$SEALED_SECRETS_STATUS" -eq 0 ]; then SEALED_STATUS="HEALTHY"; else SEALED_STATUS="UNHEALTHY"; fi
|
||||
|
||||
# 4. Check Staging Latency
|
||||
LATENCY=$(curl -s -o /dev/null -w "%{time_total}" https://api.staging.gravl.example.com/health || echo "0")
|
||||
|
||||
# Generate JSON Report
|
||||
cat <<EOF > "$REPORT_FILE"
|
||||
{
|
||||
"timestamp": "$TIMESTAMP",
|
||||
"staging_api_http_code": "$STAGING_API_STATUS",
|
||||
"cert_manager": "$CERT_STATUS",
|
||||
"sealed_secrets": "$SEALED_STATUS",
|
||||
"latency_ms": $(echo "$LATENCY * 1000" | bc -l 2>/dev/null || echo 0),
|
||||
"summary": "Staging environment is $([ "$STAGING_API_STATUS" == "200" ] && echo "ONLINE" || echo "OFFLINE"). Infrastructure components: Cert-Manager ($CERT_STATUS), Sealed-Secrets ($SEALED_STATUS)."
|
||||
}
|
||||
EOF
|
||||
|
||||
echo "Health report generated at $REPORT_FILE"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"timestamp": "2026-03-25T08:29:52+01:00",
|
||||
"staging_api_http_code": "000FAIL",
|
||||
"cert_manager": "HEALTHY",
|
||||
"sealed_secrets": "HEALTHY",
|
||||
"latency_ms": 31.7500000,
|
||||
"summary": "Staging environment is OFFLINE. Infrastructure components: Cert-Manager (HEALTHY), Sealed-Secrets (HEALTHY)."
|
||||
}
|
||||
Reference in New Issue
Block a user