Hydra: Difference between revisions

imported>Ixxie
No edit summary
imported>Makefu
No edit summary
Line 4: Line 4:
<cite>From the [https://nixos.org/hydra/manual/#idm140737316005856 Hydra manual]</cite>
<cite>From the [https://nixos.org/hydra/manual/#idm140737316005856 Hydra manual]</cite>


The [https://nixos.org/hydra/manual/ Hydra manual] provides an overview of the functionality and features of hydra, as well as an up-to-date installation guide.
The [https://nixos.org/hydra/manual/ Hydra manual] provides an overview of the functionality and features of hydra, as well as an up-to-date installation guide.  


== Usage ==
== Usage ==


=== Installation ===
Since 2017, hydra is available as a NixOS module and therefore a full deployment can be enabled as easy as
<syntaxHighlight lang=nix>
  services.postgresql.enable = true;
  services.hydra = {
    enable = true;
    hydraURL = "http://localhost:3000"; # externally visible URL
    hydraSender = "hydra@localhost"; # e-mail of hydra service
  };
</syntaxHighlight>
Database layout will be created automatically by the hydra service, however keep in mind that some state will be stored in the database and a complete stateless configuration is currently not possible - do your backups.
* See nixos-option or the [https://nixos.org/nixos/options.html#services.hydra Nixos Options page] for all options
=== Web Config ===
Hydra will provide the web interface [http://localhost:3000/ at localhost] port 3000.
== Internals ==
== Internals ==
=== Definitions ===
==== Job Sets ====
==== Release Sets ====
==== Build Jobs ====
==== Build Recipes ===


[[Category:Discussion]]
[[Category:Discussion]]
[[Category:Hydra]]
[[Category:Hydra]]
[[Category:Incomplete]]
[[Category:Incomplete]]