Commit graph

95 commits

Author SHA1 Message Date
Aleksander Heintz
72bc152626 add btrfs swap support 2023-11-08 22:36:40 +00:00
lassulus
9f29cedac7 rename makeDiskImage -> makeDiskImages 2023-09-18 12:16:33 +00:00
lassulus
be98cffef0 example: add mdadm-raid0 2023-09-12 09:45:57 +00:00
DavHau
b755564539 examples: use zstd compression as default 2023-09-04 23:02:07 +02:00
Jörg Thalheim
ecfb74e5cf remove another instance of hostId 2023-09-02 17:55:49 +00:00
Jörg Thalheim
a4bf32f6f0
Merge pull request #341 from nix-community/zfs-hostid
do not set networking.hostId in vm tests by default
2023-09-02 18:41:18 +02:00
Jörg Thalheim
76d301bc94 tests/complex: also mark zfs_fs dataset as non-fail
Reason is probably same as zfs_legacy_fs
2023-09-02 18:37:01 +02:00
Jörg Thalheim
c4f2de908d fix evaluation of checks on non-x86_64-linux
run nix fmt
2023-09-02 18:37:01 +02:00
Jörg Thalheim
de50df482e do not set networking.hostId in vm tests by default
This will conflict with the user defaults otherwise
2023-09-02 14:16:18 +02:00
lassulus
4eed2457b0 tests luks-interactive: do luks unlock manually 2023-08-16 15:19:21 +00:00
Florian Engel
bf50636a65 Remove trialing newline in passwordFile 2023-08-16 15:19:21 +00:00
Jörg Thalheim
6388d2859c find more broken riscv64 tests 2023-08-14 07:59:55 +00:00
Jörg Thalheim
358b87fd44 make tests risv64 compatible 2023-08-13 18:30:15 +00:00
Jörg Thalheim
b32f0e2876 apply treefmt 2023-08-11 08:45:46 +00:00
Jörg Thalheim
049d1bd952 silence eval warnings in make-disk-image tests 2023-08-11 08:45:46 +00:00
lassulus
7178a815e9 tests: disable documentation 2023-08-10 12:18:39 +00:00
lassulus
0725574ad8 move standalone test to separate file 2023-08-10 12:18:39 +00:00
lassulus
491e567d47 tests: enable swraid, add luks-on-mdadm test 2023-08-10 11:03:58 +00:00
lassulus
8ae297f5e9 tests: add make-disk-image-impure 2023-08-07 15:57:14 +00:00
lassulus
43f17a8b31 tests: add make-disk-image test 2023-07-28 12:43:42 +00:00
lassulus
04e227bab7 tests: pass diskoLib instead of makeDiskoTest 2023-07-28 12:43:42 +00:00
Lassulus
4aa3641e27
Merge pull request #305 from tiredofit/luks_btrfs_example
Create luks-btrfs-subvolumes.nix
2023-07-27 18:05:55 +02:00
Dave Conroy
d306d84fb0
Add test for examples/luks-btrfs-subvolumes.nix 2023-07-27 07:21:07 -07:00
rogarb
730353966b tests(btrfs): update to fit new behaviour 2023-07-27 08:55:04 +00:00
lassulus
2800cf502a tests cli: use direct mode 2023-07-20 19:17:11 +02:00
lassulus
7e2a3475f0 tests lvm-raid: use grub as systemd-boot is broken with raid1 /boot 2023-07-20 19:03:26 +02:00
lassulus
bfc300b1c2 tests boot-raid1: use grub as systemd-boot is broken with raid1 /boot 2023-07-20 18:43:30 +02:00
lassulus
4df1400b38 makeDiskoTest: remove deprecated grub-devices 2023-07-20 18:31:53 +02:00
lassulus
5ad79f43df add legacy-table test & example 2023-07-19 19:07:40 +00:00
lassulus
715c211dd7 testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig 2023-07-19 19:07:40 +00:00
lassulus
056637d3c9 move tests/lib.nix into diskoLib.testLib 2023-07-19 19:07:40 +00:00
lassulus
cd38be93db tests: refactor into testlib; change config devices via fold 2023-07-19 19:07:40 +00:00
arch
7eb0940839 add additionalKeyFiles option to luks 2023-07-14 08:51:17 +00:00
lassulus
c5a31c351e tests zfs: don't read key from prompt 2023-07-11 09:29:28 +02:00
lassulus
b22ebd5ecd tests: get rid of OCR, generate keyFile in preDevice 2023-07-11 09:12:45 +02:00
Jörg Thalheim
1cd619f26f stop vendoring bcachefs
the bcachefs linux fork in nixpkgs is in better shape these days
2023-07-05 09:48:02 +02:00
lassulus
93632ac0ae tests: use diskoScript output 2023-06-16 21:11:44 +02:00
lassulus
6e01bdc086 tests: use module mode by default, export installed-system 2023-06-16 21:11:44 +02:00
Jörg Thalheim
a8d85d9f89 apply deadnix 2023-06-06 13:32:47 +02:00
lassulus
7be0f0cab5 btrfs: create all subvolumes 2023-06-04 08:58:37 +02:00
lassulus
28d4e71950 cli: consume diskoConfigurations or nixosConfigurations disko configs 2023-05-21 14:04:34 +02:00
lassulus
0e942c56d7 tests: add lvm-sizes-sort test 2023-05-15 17:46:04 +02:00
phaer
9da50f9b9f zfs: add tests for hooks
Note that we currently need to hardcode the pool name as it isn't
exposed correctly for the subshells atm.
2023-04-10 22:52:52 +02:00
lassulus
7207e54351 tests: read serial instead of OCR for crypto tests 2023-04-06 08:56:55 +02:00
lassulus
769bde0834 turn disk configs into valid nixos configuration 2023-04-06 08:56:55 +02:00
bors[bot]
07f9727ce6
Merge #154
154: tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1 r=Mic92 a=lilyinstarlight



Co-authored-by: Lily Foster <lily@lily.flowers>
2023-02-21 19:24:05 +00:00
Lily Foster
00a2e2c438
tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1 2023-02-21 11:33:21 -05:00
Lily Foster
1dd1ca3b51
tests: add test names 2023-02-21 11:19:39 -05:00
Lily Foster
0accdf4e20 types,module,tests: run shellcheck on scripts before running them in NixOS tests 2023-02-14 09:07:13 +01:00
Chris Scutcher
ff5127ea0a
style: Re-apply style normalisation
Originally this was manually applied with;

```sh
nixpkgs-fmt **.nix && statix fix
```

but I overlooked the fact that `**.nix` would only expand to files in
the root (I should have used `**/*.nix`).

Previous commit adds `nix fmt` support which passes `.` to `nixpkgs-fmt`
(if no other path is explicitly specified when running `nix fmt`).

This commit includes the changes made by running `nix fmt`.
2023-02-07 15:56:08 +00:00