Files
aitbc/cli-dev/test-cli-staging.sh
oib a200a50085 chore(config): simplify dependabot configuration and disable enhanced services for CPU-only deployment
- Simplify .github/dependabot.yml from 70 to 49 lines
  - Remove beta ecosystems, custom registries, and detailed ignore rules
  - Reduce open PR limits (npm: 10→5, github-actions: 5→3)
  - Remove custom labels and dependency-specific ignore rules
  - Consolidate npm configs from 2 directories to single root directory
  - Remove docker ecosystem configuration

- Add /health endpoint to coordinator
2026-03-04 16:43:37 +01:00

37 lines
1001 B
Bash
Executable File

#!/bin/bash
# CLI Staging Test Script
echo "=== CLI Staging Test ==="
echo "Date: $(date)"
echo ""
# Start mock server in background
echo "Starting CLI Mock Server..."
python3 /home/oib/windsurf/aitbc/cli-dev/mock-cli-server.py &
MOCK_PID=$!
sleep 3
# Test CLI with staging configuration
echo "1. Testing CLI with Mock Server:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml test api
echo ""
echo "2. Testing CLI Marketplace with Mock:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml marketplace gpu list
echo ""
echo "3. Testing CLI Agents with Mock:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml agent list
echo ""
echo "4. Testing CLI Blockchain with Mock:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml blockchain status
echo ""
# Clean up
echo "Stopping Mock Server..."
kill $MOCK_PID 2>/dev/null
wait $MOCK_PID 2>/dev/null
echo "=== CLI Staging Test Complete ==="