Hydra: Difference between revisions

From NixOS Wiki
imported>Makefu
No edit summary
imported>Makefu
add resources
Line 20: Line 20:
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.
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
* See nixos-option or the [https://nixos.org/nixos/options.html#services.hydra Nixos Options page] for all options
=== Web Config ===
=== Web Config ===
Hydra will provide the web interface [http://localhost:3000/ at localhost] port 3000.
Hydra will provide the web interface [http://localhost:3000/ at localhost] port 3000.
Line 25: Line 26:


=== Definitions ===
=== Definitions ===
==== Job Sets ====
This subsection provides an overview of the Hydra-specific definitions and how to configure them.
==== Release Sets ====
 
==== Build Jobs ====
* Job Set: TODO
==== Build Recipes ===
* Release Set: TODO
* Build Job: TODO
* Build Recipes:TODO
 
== Resources ==
* [https://www.youtube.com/watch?v=RXV0Y5Bn-QQ Video: Setting up a Hydra Build Farm by Peter Simons (2016)]
* [https://gist.github.com/joepie91/c26f01a787af87a96f967219234a8723 Hydra Caveats by Joepie91]
 


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

Revision as of 23:18, 11 December 2017

Hydra is a tool for continuous integration testing and software release that uses a purely functional language to describe build jobs and their dependencies. Continuous integration is a simple technique to improve the quality of the software development process. An automated system continuously or periodically checks out the source code of a project, builds it, runs tests, and produces reports for the developers. Thus, various errors that might accidentally be committed into the code base are automatically caught.

From the Hydra manual

The Hydra manual provides an overview of the functionality and features of hydra, as well as an up-to-date installation guide.

Usage

Installation

Since 2017, hydra is available as a NixOS module and therefore a full deployment can be enabled as easy as

  services.postgresql.enable = true; 
  services.hydra = {
    enable = true;
    hydraURL = "http://localhost:3000"; # externally visible URL
    hydraSender = "hydra@localhost"; # e-mail of hydra service
  };

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.

Web Config

Hydra will provide the web interface at localhost port 3000.

Internals

Definitions

This subsection provides an overview of the Hydra-specific definitions and how to configure them.

  • Job Set: TODO
  • Release Set: TODO
  • Build Job: TODO
  • Build Recipes:TODO

Resources