about summary refs log tree commit diff
path: root/nixos/tests/zfs.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-02-27zfs_unstable: Rename from zfsUnstableAndrew Marshall1-2/+2
This matches the naming of other zfs_* pkgs.
2024-02-27nixos/tests/zfs: Get test name from pkg under testAndrew Marshall1-6/+6
The previous names are already this.
2024-02-27zfs_2_2: Rename from zfsStableAndrew Marshall1-5/+5
The `zfs` alias already has equivalent semantics. Instead, make this like zfs_2_1 so folks who want to pin a specific release series can do so easily and clearly to have more control over when more substantial updates occur. Rename all tests to match the pkg attr they are testing.
2024-01-28nixos/tests/zfs: decouple makeZfsTest params from unstable vs. stableAndrew Marshall1-10/+13
enableUnstable was trying to do too much, it’s more obvious to remove the indirection to set zfsPackage and push the semantics up to the caller.
2024-01-28nixos/tests/zfs: improve namingAndrew Marshall1-4/+4
It is not one package, but the package set, and so is plural.
2024-01-27nixos/tests/zfs: fix using wrong packageAndrew Marshall1-1/+1
2023-12-28Merge pull request #223412 from Luflosi/test-boot-from-zfsLassulus1-0/+1
nixos/tests/installer: test /boot on ZFS
2023-12-27maintainers: Remove adisbladis as maintainer from various packagesadisbladis1-1/+1
These are a handful of packages I no longer use or/and have lost interest in.
2023-12-07nixos/tests/installer: test /boot on ZFSLuflosi1-0/+1
Let's test / on ZFS and /boot on ZFS in separate tests since the GRUB integration for ZFS seems to be not very well maintained. If the test breaks in the future it's easier to figure out that ZFS on /boot is at fault and either fix the issue or disable the test. The new test creates a ZFS pool where all features not compatible with GRUB2 are disabled. The dataset is then mounted on /boot and we check that the installer correctly generates a bootable configuration. Try to use as many ZFS features as possible to verify that GRUB can handle them.
2023-11-24zfs_2_1: init at 2.1.13Raito Bezarius1-2/+8
This re-introduces the old stable ZFS version we had in the past following the many predicted issues of ZFS 2.2.x series, that is much more stable than any further ZFS version at the moment. I am also removing myself from maintenance of any further ZFS versions as I am planning to quit ZFS maintenance at some point. In the meantime, for users like me who depend on ZFS for critical operations, here is a ZFS version that is known to work for LTS kernels.
2023-10-21zfs: 2.1.13 -> 2.2.0Adam Stephens1-4/+0
2023-09-17nixos/zfs: fix tests on zfsUnstableJörg Thalheim1-2/+5
2023-04-21Merge pull request #207039 from NixOS/qemu-boot-disk-using-make-disk-imageRyan Lahfa1-6/+6
nixos/qemu-vm: refactor bootDisk using make-disk-image
2023-04-21nixos/tests(treewide): vdb → vda, vdc → vdb, vdd → vdc, … / ↵Raito Bezarius1-6/+6
bootDevice → rootDevice
2023-04-18zfs: enable keylocation=http://Albert Peschar1-2/+24
When ZFS is built with cURL, it allows retrieving encryption keys from URLs automatically.
2023-03-27nixos/tests/zfs: add zfsUnstable test for systemd-stage 1Raito Bezarius1-0/+7
2022-12-28nixos/tests/zfs: Test requestEncryptionCredentials as a list.Will Fancher1-2/+22
2022-12-28nixos/tests/zfs: Represent real world usage betterWill Fancher1-63/+91
It's better to utilize the boot process and systemd mechanisms to test these zfs features, rather than manually simulating the same behavior with testScript.
2022-09-16nixos: Only use compatible kernels for ZFS testsaszlig1-1/+3
Right now, the latest kernel is version 5.19, for which there is no compatible upstream release for ZFS. However, our NixOS VM test always uses linuxPackages_latest and thus will fail with an evaluation error most of the time when a new mainline kernel is released. Since we expose a latestCompatibleLinuxPackages attribute for the ZFS packages, we already know what's the latest kernel version that is supported so let's use that instead of linuxPackages_latest. Signed-off-by: aszlig <aszlig@nix.build>
2022-04-07services.zfs.expandOnBoot: Test that it worksGraham Christensen1-0/+50
2022-03-28treewide: machine -> nodes.machineRobert Hensing1-1/+1
2021-06-18Update nixos/tests/zfs.nixJörg Thalheim1-2/+7
Co-authored-by: jnetod <49963580+jnetod@users.noreply.github.com>
2021-06-11nixos/zfs: add tests for sambaJörg Thalheim1-1/+19
2021-02-14nixosTests.*: update to use virtualisation.fileSystemsMaciej Krüger1-1/+1
2021-01-14Merge pull request #108940 from Atemu/zfs-test-with-stable-linuxPackagesKevin Cox1-1/+1
tests/zfs: test stable with stable linuxPackages
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2021-01-10tests/zfs: test stable with stable linuxPackagesAtemu1-1/+1
Only unstable is supposed to be compatible with linuxPackages_latest
2020-11-11nixos/tests/zfs: Test boot.zfs.forceImportAllSarah Brofeldt1-1/+34
2020-08-16nixos/zfs: enable encryption test for stable zfsSergey Lukjanov1-12/+11
2020-02-07nixosTests.zfs: RefactorJacek Galowicz1-43/+32
2019-11-04nixos/zfs: convert test to pythonJulian Stecklina1-11/+9
2018-11-11tests: refactor to carry the package set as an argumentLéo Gaspard1-2/+5
This way, the package set will be possible to pass without re-importing all the time
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth1-1/+1
2017-11-14Add basic ZFS testsadisbladis1-0/+85