Some checks failed
API CI / API Lint (push) Successful in 47s
API CI / API Type Check (push) Failing after 47s
API CI / API Test (push) Successful in 1m0s
API CI / API Build (push) Failing after 50s
API CI / Build Docker Image (push) Has been skipped
Build Crossplane Provider / build (push) Failing after 5m51s
CD Pipeline / Deploy to Staging (push) Failing after 29s
CI Pipeline / Lint and Type Check (push) Failing after 36s
CI Pipeline / Build (push) Has been skipped
CI Pipeline / Test Backend (push) Failing after 1m33s
CI Pipeline / Test Frontend (push) Failing after 30s
CI Pipeline / Security Scan (push) Failing after 1m16s
Crossplane Provider CI / Go Test (push) Failing after 3m23s
Crossplane Provider CI / Go Lint (push) Failing after 7m27s
Crossplane Provider CI / Go Build (push) Failing after 3m27s
Deploy to Staging / Deploy to Staging (push) Failing after 30s
Portal CI / Portal Lint (push) Failing after 21s
Portal CI / Portal Type Check (push) Failing after 21s
Portal CI / Portal Test (push) Failing after 21s
Portal CI / Portal Build (push) Failing after 22s
Test Suite / frontend-tests (push) Failing after 30s
Test Suite / api-tests (push) Failing after 49s
Test Suite / blockchain-tests (push) Failing after 30s
Type Check / type-check (map[directory:. name:root]) (push) Failing after 23s
Type Check / type-check (map[directory:api name:api]) (push) Failing after 21s
Type Check / type-check (map[directory:portal name:portal]) (push) Failing after 19s
Validate Configuration Files / validate (push) Failing after 1m52s
CD Pipeline / Deploy to Production (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
1.4 KiB
Bash
Executable File
46 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
# Helper script to run disk analysis on r630-01
|
|
# This script copies the analysis script and runs it remotely
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
ANALYSIS_SCRIPT="$SCRIPT_DIR/analyze-r630-disk-layout.sh"
|
|
|
|
# Check if analysis script exists
|
|
if [ ! -f "$ANALYSIS_SCRIPT" ]; then
|
|
echo "Error: Analysis script not found at $ANALYSIS_SCRIPT"
|
|
exit 1
|
|
fi
|
|
|
|
echo "=========================================="
|
|
echo "R630-01 Disk Analysis Runner"
|
|
echo "=========================================="
|
|
echo ""
|
|
echo "This script will run the disk analysis on r630-01"
|
|
echo ""
|
|
echo "Option 1: Run via SSH (requires password)"
|
|
echo " ssh root@192.168.11.11 'bash -s' < $ANALYSIS_SCRIPT"
|
|
echo ""
|
|
echo "Option 2: Copy script and run"
|
|
echo " scp $ANALYSIS_SCRIPT root@192.168.11.11:/tmp/"
|
|
echo " ssh root@192.168.11.11 '/tmp/analyze-r630-disk-layout.sh'"
|
|
echo ""
|
|
echo "Option 3: Use existing SSH script"
|
|
echo " bash scripts/ssh-r630-01.sh 'bash -s' < $ANALYSIS_SCRIPT"
|
|
echo ""
|
|
echo "=========================================="
|
|
echo "Attempting Option 3..."
|
|
echo "=========================================="
|
|
echo ""
|
|
|
|
# Try to run via ssh-r630-01.sh
|
|
if [ -f "$SCRIPT_DIR/ssh-r630-01.sh" ]; then
|
|
bash "$SCRIPT_DIR/ssh-r630-01.sh" 'bash -s' < "$ANALYSIS_SCRIPT"
|
|
else
|
|
echo "ssh-r630-01.sh not found. Please run manually using one of the options above."
|
|
exit 1
|
|
fi
|
|
|