initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I79a875e75937ff6b3739ca36bfb0b2836a6a6964
This commit is contained in:
commit
6203ea7f52
13 changed files with 3226 additions and 0 deletions
23
crates/evaluator/Cargo.toml
Normal file
23
crates/evaluator/Cargo.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[package]
|
||||
name = "fc-evaluator"
|
||||
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
|
||||
git2.workspace = true
|
||||
clap.workspace = true
|
||||
config.workspace = true
|
||||
fc-common = { path = "../common" }
|
||||
23
crates/evaluator/src/main.rs
Normal file
23
crates/evaluator/src/main.rs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
use clap::Parser;
|
||||
use tracing_subscriber::fmt::init;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(name = "fc-evaluator")]
|
||||
#[command(about = "CI Evaluator - Git polling and Nix evaluation")]
|
||||
struct Cli {
|
||||
#[arg(short, long)]
|
||||
config: Option<String>,
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> anyhow::Result<()> {
|
||||
#[allow(unused_variables, reason = "Main application logic is TODO")]
|
||||
let cli = Cli::parse();
|
||||
|
||||
tracing::info!("Starting CI Evaluator");
|
||||
init();
|
||||
|
||||
// TODO: Implement evaluator logic
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue