- Added build.sh that builds runner_osiris binary in release mode - Added run.sh that builds first, then starts the runner - Fixed binary name from osiris_runner to runner_osiris - Scripts use RUSTFLAGS to suppress warnings - Runner configured via environment variables (RUNNER_ID, REDIS_URL, BASE_DB_ID)
12 lines
282 B
Bash
Executable File
12 lines
282 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
PROJECT_DIR=$(cd "$SCRIPT_DIR/.." && pwd)
|
|
|
|
echo "Building Osiris Runner..."
|
|
cd "$PROJECT_DIR"
|
|
RUSTFLAGS="-A warnings" cargo build --release --bin runner_osiris
|
|
|
|
echo "✅ Osiris Runner built successfully"
|