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:
Timur Gordon
2025-11-04 17:05:17 +01:00
parent 0c168690a6
commit 35ea035bd5
5 changed files with 64 additions and 3 deletions

View File

@@ -10,7 +10,8 @@ pub use async_runner::{AsyncRunner, spawn_async_runner};
pub use sync_runner::{SyncRunner, SyncRunnerConfig, spawn_sync_runner};
// Re-export job types from hero-job crate
pub use hero_job::{Job, JobStatus, JobError, JobBuilder, JobSignature, Client, ClientBuilder};
pub use hero_job::{Job, JobStatus, JobError, JobBuilder, JobSignature};
pub use hero_job_client::{Client, ClientBuilder};
pub use redis::AsyncCommands;
use log::{error, info};