Add build.sh and run.sh scripts for osiris runner
- 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)
This commit is contained in:
11
scripts/build.sh
Executable file
11
scripts/build.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user