Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixosTests: WIP integration tests #14

Merged
merged 22 commits into from
Aug 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
19c0120
nixosTests: init
SomeoneSerge Aug 1, 2024
97a78ba
flake.nix: add .#checks
SomeoneSerge Aug 8, 2024
9dfb301
nixosTests: drop unused args
sinanmohd Aug 11, 2024
5152832
nixosTests/all-tests: always import dsl
sinanmohd Aug 11, 2024
89ac91f
nixosTests/sunset: init
sinanmohd Aug 11, 2024
f6f682a
flake/devShell: add nixfmt-rfc-style
sinanmohd Aug 11, 2024
1465c27
nixosTests: runCommand.inputDerivatino: explain why
SomeoneSerge Aug 11, 2024
f09e70d
nixosTests/sunset-unbuilt-0: init
sinanmohd Aug 12, 2024
b31a759
nixosTests/dsl: change option names
sinanmohd Aug 12, 2024
ca46628
nixosTests/dsl: make sure cache value is valid
sinanmohd Aug 12, 2024
5ad39d3
nixosTests/dsl: verify choseBuilds
sinanmohd Aug 13, 2024
e1cedc0
nixosTests: drop nixos-lib
sinanmohd Aug 13, 2024
b79e15c
nixosTests/dsl: verify assertChosen
sinanmohd Aug 14, 2024
b2e4a13
nixosTests/dsl: clean up
sinanmohd Aug 14, 2024
6b11c34
nixosTests/dsl: verify assertNeeded
sinanmohd Aug 14, 2024
57caa68
nixosTests/sunset-unbuilt-0: set assertNeeded
sinanmohd Aug 14, 2024
e183d71
nixosTests: make options hierarchical
SomeoneSerge Aug 15, 2024
b895c64
nixosTests: sunset-unbuilt: rename to avoid confusion
SomeoneSerge Aug 16, 2024
b5e749c
nixosTests: sunset-unbuilt: refactor the dag
SomeoneSerge Aug 16, 2024
ac770cf
nixosTests/dsl: clean up
sinanmohd Aug 16, 2024
838f0e7
nixosTests: refactor the way common template and per-instance args ar…
SomeoneSerge Aug 16, 2024
59b1063
nixosTests: allow extending testScript without overriding it
SomeoneSerge Aug 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nixos/tests/dsl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ let
default = name;
};
options.request = lib.mkEnableOption "Whether to mark the node for building";
options.needed = lib.mkOption {
options.assertNeeded = lib.mkOption {
SomeoneSerge marked this conversation as resolved.
Show resolved Hide resolved
type = with lib.types; nullOr bool;
default = null;
description = "Whether the node must be built to satisfy all requests (either a requested node or a transitive dependency)";
};
options.chosen = lib.mkOption {
options.assertChosen = lib.mkOption {
type = with lib.types; nullOr bool;
default = null;
description = "Whether the node is included in the build plan (i.t. it's `needed` and fitted into budget)";
Expand Down