initial commit

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I79a875e75937ff6b3739ca36bfb0b2836a6a6964
This commit is contained in:
raf 2025-11-02 18:43:07 +03:00
commit 6203ea7f52
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
13 changed files with 3226 additions and 0 deletions

View file

@ -0,0 +1,22 @@
[package]
name = "fc-queue-runner"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
tokio.workspace = true
sqlx.workspace = true
serde.workspace = true
serde_json.workspace = true
uuid.workspace = true
chrono.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
anyhow.workspace = true
thiserror.workspace = true
clap.workspace = true
config.workspace = true
fc-common = { path = "../common" }

View file

@ -0,0 +1,23 @@
use clap::Parser;
use tracing_subscriber::fmt::init;
#[derive(Parser)]
#[command(name = "fc-queue-runner")]
#[command(about = "CI Queue Runner - Build dispatch and execution")]
struct Cli {
#[arg(short, long)]
workers: Option<usize>,
}
#[tokio::main]
async fn main() -> anyhow::Result<()> {
#[allow(unused_variables, reason = "Main application logic is TODO")]
let cli = Cli::parse();
tracing::info!("Starting CI Queue Runner");
init();
// TODO: Implement queue runner logic
Ok(())
}