put_jobset
Create or update a Hydra CI jobset by setting flake or legacy Nix inputs and selected fields; existing fields remain unchanged when updating.
Instructions
Create a jobset, or change the given fields of an existing one (others keep their values).
Give flake for a flake jobset, or nix_expression_input/path plus inputs for a legacy one.
Needs project ownership (or admin). New jobsets default to enabled, visible, no email, 300 s polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flake | No | Flake URI, e.g. git+https://example.org/repo.git?ref=main; evaluates its hydraJobs | |
| state | No | ||
| inputs | No | Legacy jobsets: {name: {type, value, email_responsible}}, replaces all inputs | |
| jobset | Yes | ||
| project | Yes | ||
| visible | No | ||
| instance | No | Configured Hydra instance; omitted uses the default | |
| keep_evals | No | Evaluations whose outputs are kept as GC roots | |
| description | No | ||
| email_override | No | ||
| check_interval_s | No | 0 disables polling | |
| scheduling_shares | No | ||
| email_notifications | No | ||
| nix_expression_path | No | Legacy jobsets: path inside that input, e.g. release.nix | |
| nix_expression_input | No | Legacy jobsets: input holding the expression |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||