Hydra: Difference between revisions
m Capitalise Hydra and UNIX Tags: Mobile edit Mobile web edit |
m fix minor annoyances Tags: Mobile edit Mobile web edit |
||
| Line 52: | Line 52: | ||
<!--T:7--> | <!--T:7--> | ||
This option leads to the file /etc/nix/machines being created. If the hydra service config is still set to buildMachinesFiles = [], then it will be ignored, so remove this option again or add /etc/nix/machines to it. | This option leads to the file /etc/nix/machines being created. If the hydra service config is still set to buildMachinesFiles = [], then it will be ignored, so remove this option again or add <code>/etc/nix/machines</code> to it. | ||
| Line 58: | Line 58: | ||
<!--T:9--> | <!--T:9--> | ||
Configure jobset the following: | Configure jobset to the following: | ||
<!--T:10--> | <!--T:10--> | ||
| Line 144: | Line 144: | ||
<!--T:23--> | <!--T:23--> | ||
==== Project ==== | ==== Project ==== | ||
A cluster of Jobs which are all coming from a single input (like a git checkout), the first thing you will need to create. Every Job should be able to be built independently from another. Most of the time the project maps to a single repository like <code>nixpkgs</code>. It is comparable to the project definition in Jenkins | A cluster of Jobs which are all coming from a single input (like a git checkout), the first thing you will need to create. Every Job should be able to be built independently from another. Most of the time the project maps to a single repository like <code>nixpkgs</code>. It is comparable to the project definition in Jenkins. | ||
<!--T:24--> | <!--T:24--> | ||
==== | ==== Jobsets ==== | ||
A list of jobs which will be run. Often a | A Jobset is a list of jobs which will be run. Often a jobset fits to a certain branch (master, staging, stable). A Jobset is defined by its inputs and will trigger if these inputs change. For example when a new commit onto a branch is added. Jobsets may depend on each other. | ||
<!--T:25--> | <!--T:25--> | ||
==== Job ==== | ==== Job ==== | ||
A closure which will be built as part of a | A closure which will be built as part of a job set (like a single package, iso image or tarball). | ||
<!--T:26--> | <!--T:26--> | ||
| Line 160: | Line 160: | ||
<!--T:27--> | <!--T:27--> | ||
==== Evaluation ==== | ==== Evaluation ==== | ||
The process of interpreting nix code into a list of <code>.drv files</code>. These files are the build recipes for all related outputs. You can introspect these files by running <code>nix show-derivation nixpkgs.hello</code> | The process of interpreting nix code into a list of <code>.drv files</code>. These files are the build recipes for all related outputs. You can introspect these files by running <code>nix show-derivation nixpkgs.hello</code>. | ||
<!--T:28--> | <!--T:28--> | ||
==== Build ==== | ==== Build ==== | ||
Instantiation of a Job which is being triggered by being part of the release set | Instantiation of a Job which is being triggered by being part of the release set. | ||
<!--T:29--> | <!--T:29--> | ||