No description
Find a file
2025-03-20 03:25:51 +01:00
.github/ISSUE_TEMPLATE feat(meta/issue-template): Upated feature request template 2025-03-06 00:39:40 +01:00
end2end feat(axum): Changed server to axum 2025-02-27 03:27:54 +01:00
migrations feat(web/jobsets/view): Adds view for jobs 2025-03-20 01:29:41 +01:00
public feat(project): Starts work on adding projects from the webui 2025-02-28 00:56:26 +01:00
src feat(web/jobsets/view): Adds view for jobs 2025-03-20 01:29:41 +01:00
style feat(web/jobsets/view): Adds view for jobs 2025-03-20 01:29:41 +01:00
.envrc feat(init): init 2025-02-26 23:54:19 +01:00
.gitignore feat(db): Projects are now read from the database 2025-02-27 18:21:35 +01:00
Cargo.toml feat(meta/name): Changes name to ladon 2025-03-19 15:08:00 +01:00
flake.lock feat(init): init 2025-02-26 23:54:19 +01:00
flake.nix feat(core/nix): Starts work on BuildManager 2025-03-12 22:55:38 +01:00
LICENSE feat(init): init 2025-02-26 23:54:19 +01:00
pkg.nix feat(init): init 2025-02-26 23:54:19 +01:00
README.md feat(meta/readme): Added hacking guide 2025-03-06 03:51:02 +01:00

Hydra-rs

This project is supposed to be an alternative to the official Hydra Project.

Develpement is still on-going, but it's supposed to just be a drop-in replacement for hydra.

Current developement state

You can run it with

mkdir tmp
sqlx database create
sqlx migrate run
cargo leptos watch -- -d ./tmp

This will create a sqlite db in ./tmp.

PS: Sorry for the Arc<Mutex<\T>> hell

Todos

See: https://git.ole.blue/ole/hydra-rs/projects

How to hack

nix flake develop # or direnv allow
cargo leptos watch -- -d ./tmp

You also need stylance for the css

stylance -w ./

Idea

  1. Call nix eval flakeUri --json in order to get json output. For example:
nix eval nix eval /home/ole/nixos#hydraJobs --json
  1. Call nix derivation show /nix/store/... on whatever store path(s) were printed out by nix eval. Parse the resulting json and get the .drv path from the json key.

  2. Call nix-store --realise /nix/store/....drv which actually builds the derivation