File size: 669 Bytes
a89a522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -e # Exit on error

# Run the deployment script
# Check for script existence before running
DEPLOY_SCRIPT="decoupled_wbc/scripts/deploy_g1.py"
if [ -f "$DEPLOY_SCRIPT" ]; then
    echo "Running deployment script at $DEPLOY_SCRIPT"
    echo "Using python from $(which python)"
    echo "Deploy args: $@"
    exec python "$DEPLOY_SCRIPT" "$@"
else
    echo "ERROR: Deployment script not found at $DEPLOY_SCRIPT"
    echo "Current directory structure:"
    find . -type f -name "*.py" | grep -i deploy
    echo "Available script options:"
    find . -type f -name "*.py" | sort
    echo "Starting a bash shell for troubleshooting..."
    exec /bin/bash
fi