Commit Graph

812 Commits

Author SHA1 Message Date
Jörg Thalheim
0eb913fe20
Merge pull request #342 from nix-community/platform-fixes
disable shellcheck for x86_32 and riscv64 in one place
2023-09-02 18:41:03 +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
9de99e174c run nix-fmt 2023-09-02 18:08:41 +02:00
Jörg Thalheim
78856a26b6 mergify: switch to buildbot 2023-09-02 14:18:17 +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
dd5cdd852c module: add tests.extraChecks 2023-09-02 10:14:48 +00:00
Valentin Gagarin
487a978e34 capitalise NixOS 2023-09-01 09:53:02 +00:00
lassulus
d53cd437d3 module: fix legacy aliases 2023-08-31 10:00:56 +00:00
github-actions[bot]
00169fe4a6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f0451844bbdf545f696f029d1448de4906c7f753' (2023-08-12)
  → 'github:NixOS/nixpkgs/cddebdb60de376c1bdb7a4e6ee3d98355453fe56' (2023-08-27)
2023-08-28 02:19:48 +00: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
Florian Engel
3eb703b7bc Rename keyFile to passwordFile and dedeprecate 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
github-actions[bot]
90b09f486a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4e6868b1aa3766ab1de169922bb3826143941973' (2023-08-08)
  → 'github:NixOS/nixpkgs/f0451844bbdf545f696f029d1448de4906c7f753' (2023-08-12)
2023-08-14 02:07:12 +00:00
Jörg Thalheim
358b87fd44 make tests risv64 compatible 2023-08-13 18:30:15 +00:00
Jörg Thalheim
3ba5bb2de6 disable haskell-based builds on riscv64
fixes https://github.com/nix-community/disko/issues/321
2023-08-13 17:41:12 +00:00
Jörg Thalheim
241c878d4b drop deprecated boot.initrd.services.swraid.enable option 2023-08-11 08:45:46 +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
ktrinh-anduril
ceabbec315
Added missing dependency to destroyScript (#318)
* Added bash to destroScript dep

* Added jq directly as dep for destroyScript
2023-08-10 22:29:40 +02:00
lassulus
32e7d56c08 make-disk-image: get nixos-install from the instantiated system 2023-08-10 15:08:59 +02:00
Jörg Thalheim
3f47719a51
Merge pull request #317 from nix-community/joerg-ci
add missing tests
2023-08-10 13:47:20 +01:00
Jörg Thalheim
a1d04e00bd add missing tests 2023-08-10 14:46:44 +02: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
github-actions[bot]
e4af31d97b flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6fd9edc94426a3c050ad589c8f033b5ca55454c7' (2023-07-12)
  → 'github:NixOS/nixpkgs/4e6868b1aa3766ab1de169922bb3826143941973' (2023-08-08)
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
5a9bfa9fa6 fix example in README 2023-08-07 15:57:14 +00:00
lassulus
8ae297f5e9 tests: add make-disk-image-impure 2023-08-07 15:57:14 +00:00
lassulus
ab5f8eea75 make-disk-image: add impure variant 2023-08-07 15:57:14 +00:00
Jörg Thalheim
493b347d8f disko: drop binPrefix when building destroyScript
This seems to cause eval errors and I also don't know where this is supposed to come from
2023-08-06 16:28:59 +00:00
a-kenji
4015740375 fix: typos 2023-07-30 17:43:54 +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
5e253d949f makeDiskImage: add extraPostVM arg 2023-07-28 12:43:42 +00:00
lassulus
8edfd2295c fixup! types disk: add imageSize for makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus
578ad4ef34 types disk: add imageSize for makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus
a8834f94f3 lib: add makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus
5c5279567f types mdadm: enable swraid 2023-07-28 12:43:42 +00:00
lassulus
0e40d07f86 lib/tests: cleanup 2023-07-28 12:43:42 +00:00
lassulus
0d2ae00b00 testLib.makeDiskoTest: remove base & minimal profile 2023-07-28 12:43:42 +00:00
lassulus
aa433abf67 remove legacy ci.nix 2023-07-28 14:29:03 +02: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
rogarb
140edd2d01 fix(btrfs): automatic setting of fileSystems
Subvolumes without a mountpoint shouldn't be declared as fileSystems.
2023-07-27 08:55:04 +00:00
rogarb
818207b99b fix(btrfs): add warning for subvolume mounts 2023-07-27 08:55:04 +00:00
rogarb
ada1a01892 docs/upgrade-guide.md: BTRFS subvolume changes
The upgrade guide is updated to reflect the changes introduced in commit
7f3b98f.
2023-07-27 08:55:04 +00:00
rogarb
f44564a744 fix(btrfs): update BTRFS example
This takes into account the fix from commit 7f3b98f.
2023-07-27 08:55:04 +00:00