Commit graph

7050 commits

Author SHA1 Message Date
Adam Stephens 1fff6a9031
nixos/incus: init module and tests 2023-11-02 19:54:02 -04:00
K900 7bc18b63da
Merge pull request #227633 from ElvishJerricco/systemd-stage-1-fix-initrd-commands
Systemd stage 1 assert initrd commands are empty
2023-10-30 20:03:44 +03:00
Bobby Rong 7378978469
Merge pull request #264260 from bobby285271/upd/xfce
nixosTests.xfce: Check if any coredumps are found
2023-10-30 22:16:39 +08:00
Bobby Rong 204ee86575
nixosTests.xfce: Check if any coredumps are found
Adds a regression test for https://gitlab.xfce.org/xfce/xfconf/-/issues/35.
2023-10-30 21:15:22 +08:00
Will Fancher cca22054c0 systemd-stage-1: Add assertions for unsupported options. 2023-10-30 12:15:58 +01:00
Michele Guerini Rocco 800965ce8c
Merge pull request #245855 from rnhmjoj/pr-sslh
nixos/sslh: update and refactor for RFC42
2023-10-29 23:19:38 +01:00
Ryan Lahfa a905c3a544
Merge pull request #262854 from ElvishJerricco/systemd-stage-1-bcachefs-decryption
systemd-stage-1: bcachefs decryption
2023-10-29 22:24:38 +01:00
rnhmjoj 3728338d40
nixos/sslh: refactor for RFC42 2023-10-29 18:13:37 +01:00
Ryan Lahfa 92fdbd284c
Merge pull request #262839 from RaitoBezarius/qemu-vm/timeout 2023-10-29 17:21:10 +01:00
K900 220241421f
Merge pull request #263744 from K900/stateversion-docs
treewide: rewrite stateVersion docs (again), clean up some stateVersion usages (again)
2023-10-29 16:25:48 +03:00
Aaron Andersen 3b848391b6
Merge pull request #227442 from christoph-heiss/openssh/allowusers
openssh: add {Allow,Deny}{Users,Groups} settings
2023-10-29 08:20:22 -04:00
Ryan Lahfa 72bd71a44a
Merge pull request #263977 from JulienMalka/fix-netdata-test 2023-10-29 12:48:31 +01:00
Raito Bezarius c90219633c nixos/tests/nixos-test-driver: test timeout failures
We test that the test framework timeouts are working as expected.
2023-10-29 12:45:00 +01:00
Robert Hensing 8b385c91c3
Merge pull request #263462 from nikstur/rebuildable-system
Rebuildable system & appliance
2023-10-29 08:02:35 +01:00
Ryan Lahfa de47b2e8a5
Merge pull request #263033 from ElvishJerricco/systemd-stage-1-filesystems-encrypted
systemd-stage-1: Enable more encrypted installer tests
2023-10-28 20:38:14 +02:00
Julien Malka a000d9fff6 tests/netdata: fix test after upgrade to 1.43.0 2023-10-28 14:43:19 +00:00
Linus Heckemann 8670794565
Merge pull request #263203 from nikstur/replace-activation
Replace simple activationScripts
2023-10-28 10:17:15 +02:00
Peder Bergebakken Sundt dc42e2603b
Merge pull request #263335 from anthonyroussel/nixos-goss
nixos/goss: init
2023-10-28 06:36:43 +02:00
Peder Bergebakken Sundt fb1c60b65a
Merge pull request #262224 from chayleaf/tsja
postgresqlPackages.tsja: init at 0.5.0
2023-10-27 19:53:14 +02:00
Jacek Galowicz 04c4853380
Merge pull request #262975 from tfc/bittorrent-test-fix
bittorrent NixOS Test: Un-Uncomment seeder takedown
2023-10-27 18:49:26 +01:00
Martin Weinelt 2e09b8e5af
Merge pull request #260246 from christoph-heiss/new/floorp
floorp: init at 11.5.0
2023-10-27 12:36:43 +02:00
K900 5323b93e9d nixos/tests: remove unnecessary stateVersion assignments 2023-10-27 12:56:13 +03:00
Anthony Roussel 1efdbc2feb
nixosTests.goss: init 2023-10-27 08:02:01 +02:00
Peder Bergebakken Sundt e8ff5952f6
Merge pull request #258558 from hmenke/c2FmZQ
c2FmZQ: init at 0.4.8
2023-10-26 20:33:51 +02:00
chayleaf 47646a34ba
postgresqlPackages.tsja: init at 0.5.0 2023-10-27 01:09:48 +07:00
Peder Bergebakken Sundt adcaf3962d
Merge pull request #212087 from robryk/resticpaths
nixos/backups/restic: handle cases when both dynamicFileFrom and paths are set
2023-10-26 19:35:22 +02:00
nikstur b3c1d8c9ae nixos: add system.switch.enable flag
This flag allows the user to optionally exclude
switch-to-confguration.pl from toplevel.

This is interesting for appliance images where you don't want to re-build
the system. This flag is called `rebuildable` because the standard
interface to do this is `nixos-rebuild` which will not work anymore with
this change.
2023-10-26 17:47:35 +02:00
Henri Menke 6a874bbdbc
nixos/c2fmzq-server: add test
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-10-26 17:27:53 +02:00
Lassulus 95a366309a
Merge pull request #262731 from Lassulus/tmpfiles
nixos/systemd-tmpfiles: add settings option
2023-10-26 09:29:46 +01:00
nikstur d345b385fe nixos/tests/stunnel: replace activationScript
Replace with a separate systemd service.
2023-10-26 01:44:21 +02:00
nikstur 339a866b7c nixos/tests/systemd-timesyncd: replace activationScript via tmpfiles 2023-10-26 01:44:21 +02:00
nikstur da274a11d7 nixos/tests/grafana: replace activationScript with tmpfiles 2023-10-26 01:44:21 +02:00
nikstur 0b294fe2e8 nixos/tests/opensearch: replace activationScript via tmpfiles 2023-10-26 01:44:21 +02:00
nikstur cb08d3dd72 nixos/nix-channel: replace activationScript via tmpfiles 2023-10-25 23:43:58 +02:00
Martin Weinelt 2bb79db3e2
Merge pull request #263315 from chayleaf/kea
kea: use separate runtime directories for each service
2023-10-25 22:29:31 +02:00
chayleaf 413011ddf4 kea: use separate runtime directories for each service
Kea may clean the runtime directory when starting (or maybe systemd does
it). I ran into this issue when restarting Kea after changing its
configuration, so I think the fact it normally doesn't clean it is a
race condition (it's cleaned on service start, and normally all Kea
services start at roughly the same time).
2023-10-26 02:51:43 +07:00
Nick Cao f5680882ec
Merge pull request #263240 from NickCao/stratis
stratisd: 3.5.9 -> 3.6.0, stratis-cli: 3.5.3 -> 3.6.0
2023-10-25 09:38:16 -04:00
Stig a99cbd99e1
Merge pull request #255715 from TomaSajt/lanraragi
lanraragi: init at 0.8.90
2023-10-25 10:54:27 +02:00
TomaSajt 8e18ff0c24
nixos/lanraragi: init 2023-10-25 01:14:59 +02:00
nikstur 59e3726755 nixos/activation: replace var activationScript via tmpfiles 2023-10-25 00:48:37 +02:00
Nick Cao 19f440889f
nixosTests.stratis.encryption: fix after stratis update 2023-10-24 18:47:39 -04:00
Janik e46b352ac4
Merge pull request #231065 from yu-re-ka/fnm-advanced-module
nixos/fastnetmon-advanced: init
2023-10-24 21:43:26 +02:00
Emily 702853c61a
Merge pull request #263046 from emilylange/nixos-forgejo
nixosTests.forgejo: test backup/dump service; nixos/forgejo: pass {env}`GIT_PROTOCOL` via ssh to forgejo; nixosTests.forgejo: test git wire protocol version
2023-10-24 19:40:20 +02:00
Robert Hensing 3fbda64514
Merge pull request #263131 from Ma27/sshd-test-networkd
nixos/tests/openssh: use dashes for hostnames
2023-10-24 17:53:15 +02:00
Maximilian Bosch b16ac6e7bb
nixos/tests/openssh: use dashes for hostnames
Otherwise the tests will fail with `networking.useNetworkd = true;`
because `systemd-resolved` ignores invalid hostnames in `/etc/hosts`
(which is where all hosts from the `nodes`-attribute set end up) and
subsequently e.g. `ssh server_lazy` will fail because the name cannot be
resolved.

In d6e84a4574 the test-framework was
changed to replace all dashes with underscores of hostnames in the
python code to have readable hostnames that are valid. I.e.

    nodes.foo-bar = {}

represents a host with a valid hostname and it can be referenced in the
`testScript` with `foo_bar`.

Applying this here fixes the test for both scripted networking and
networkd.
2023-10-24 14:24:10 +02:00
misuzu e0d3bcbb53 nixos/tests/installer: add bpool for grub files in zfsroot test 2023-10-24 13:43:21 +02:00
misuzu b8a547d38b nixos/tests/installer: add postInstallCommands to makeInstallerTest 2023-10-24 13:43:21 +02:00
Jacek Galowicz 1005fa006e nixos/tests/bittorrent: Uncomment Seeder Takedown 2023-10-24 07:24:27 +01:00
emilylange 98ebe7b877
nixosTests.forgejo: test git wire protocol version
Co-Authored-By: networkException <git@nwex.de>
2023-10-24 03:32:03 +02:00
emilylange 6431fec2c4
nixosTests.forgejo: test backup/dump service
This should allow us to catch issues regarding that in the future.

nixos/gitea had an issue with the dump service recently, which didn't
affect us, fortunately.
But to be fair, it only affected non-default-y setups.
Not something we are able to catch in the current, rather simple, config
of our test.
Still, I see a lot of value adding this new subtest to our test suite.

Anyhow, this patch also exposes the resulting tarball as test (build)
output, which is a nice addition IMHO, as it allows some sort of
external sanity-check, if needed, without running the test interactive.
2023-10-24 02:32:56 +02:00