Commit graph

7079 commits

Author SHA1 Message Date
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
Maciej Krüger 1ecbbb6e3f
Merge pull request #260595 from adamcstephens/lxc/squashfs
lxc-container: add squashfs image support and release output
2023-10-24 02:06:36 +02:00
Will Fancher 99a47a5e35 systemd-stage-1: Enable more encrypted installer tests 2023-10-23 17:40:34 -04:00
Martin Weinelt 6bed1ae794
nixos/tests: fix nixos-rebuild-specialisations test definition 2023-10-23 23:32:37 +02:00
Yureka f13a5196fc nixos/tests/fastnetmon-advanced: init 2023-10-23 22:51:19 +02:00
Lorenz Leutgeb cc6c2d32f2
rosenpass: refactor, add module and test (#254813) 2023-10-23 19:29:30 +02:00
Thiago Kenji Okada 7359dcf561
Merge pull request #262852 from lucasew/20231022-byname
treewide: housekeeping of packages maintained by lucasew
2023-10-23 15:48:21 +01:00
Robert Hensing 4bf1366455
Merge pull request #262724 from thiagokokada/fix-install-bootloader
nixos-rebuild: fix --install-bootloader flag with systemd-run
2023-10-23 15:24:42 +02:00
Maximilian Bosch 3ad1ebe9ff
Merge pull request #258047 from mweinelt/knot-exporter
prometheus-knot-exporter: 2021-08-21 -> 3.3.1; python310Packages.libknot: init at 3.3.1
2023-10-23 15:01:06 +02:00
Thiago Kenji Okada 65cb8b4e01 nixos/tests: make nixos-rebuild tests x86_64-linux only
Depends on GRUB2/BIOS.
2023-10-23 12:39:41 +01:00
Thiago Kenji Okada ccebc89954 nixos/tests: add nixos-rebuild-install-bootloader 2023-10-23 12:39:40 +01:00
Maximilian Bosch 715afeb48b
nixos/tests/prometheus-exporters/knot: update for new exporter version
The knot_server_zone_count metric does not exist anymore, and the next
best thing to watch for is the zone serial, that we define ourselves.

The serial is a number and displayed in the scientific notation, i.e.

    >>> machine.succeed('curl localhost:9433/metrics|grep 019 >&2')
    [...]
    knot # knot_zone_serial{zone="test."} 2.019031301e+09
2023-10-23 13:19:52 +02:00
Ryan Lahfa b9337215cd
Merge pull request #229035 from NixOS/qemu-vm/tpm
qemu-vm: support TPM usecases
2023-10-23 10:10:27 +01:00
Christoph Heiss 8b6acac9de
floorp: init at 11.5.0
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-10-23 10:22:11 +02:00
K900 a52abd4ccb
Merge pull request #262623 from K900/continued-firefox-cleanups
firefox: start killing all the per-extension options
2023-10-23 10:25:37 +03:00
Artturin d3234553aa nixosTests.nginx-sandbox: remove broken test and move the sandboxing test to the openresty test
nginx lua needs resty

the enableSandbox option of nginx was removed in 535896671b

the test fails with

```
vm-test-run-nginx-sandbox> machine # [   47.753580] nginx[1142]: nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
vm-test-run-nginx-sandbox> machine # [   47.756064] nginx[1142]: nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:
vm-test-run-nginx-sandbox> machine # [   57.911766] systemd[1]: Failed to start Nginx Web Server.
```
2023-10-23 06:09:45 +03:00
lucasew 4ec81766c2 cockpit: 287 -> 303
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-10-22 22:39:22 -03:00
Will Fancher 0425c4de6d systemd-stage-1: bcachefs decryption 2023-10-22 20:07:55 -04:00
DavHau cae154a67e nixos/systemd-tmpfiles: add settings option 2023-10-23 00:34:23 +02:00
Martin Weinelt 8c5947252d
Merge pull request #262776 from pennae/mosquitto-skip-bind-test
nixos/mosquitto: remove the bind_interface test
2023-10-22 19:28:24 +02:00
pennae 33ba318db6 nixos/mosquitto: remove the bind_interface test
bind_interface is the mosquitto way of trying to bind to all addresses
on an interface, but it is unreliable (trying to bind to link-local v6
addresses *sometimes* but not always) and just prone to failure in
general for reasons we have yet to discover.

since this kind of automatic behavior isn't particularly necessary in a
declarative system we may as well skip it.
2023-10-22 19:12:26 +02:00
K900 e6f5980d87 nixos/tests/firefox: use the module
This should exercise the module a bit in the test, and also removes an awkward override.
2023-10-22 17:13:50 +03:00
Raito Bezarius 83b131bb55 nixos/tests: adopt newest TPM support in test infra 2023-10-22 16:01:37 +02:00
Lin Jian c132df63df
Merge pull request #250792 from ckiee/init-rkvm
{,nixos/}rkvm: init
2023-10-22 17:11:12 +08:00
github-actions[bot] 1cf369a0dd
Merge master into staging-next 2023-10-22 00:02:31 +00:00
Peder Bergebakken Sundt d2af1eb6ff
Merge pull request #256449 from illustris/hadoop
hadoop: 3.3.5 -> 3.3.6, build container executor from source
2023-10-22 01:40:19 +02:00
Ryan Lahfa 96107a2d2a
Merge pull request #261047 from adamcstephens/zfs/2.2.0
zfs/zfsUnstable: 2.1.13/2.2.0-rc5 -> 2.2.0
2023-10-21 22:38:05 +01:00
Rishi Desai 52effd56af nixos/fanout: add test 2023-10-21 17:31:14 -03:00
Janik abca224ce4
Merge pull request #242467 from dadada/dev/dadada/init-nixos-soft-serve
nixos/soft-serve: init
2023-10-21 21:58:47 +02:00
Alyssa Ross 83b8726e5f
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/velbus-aio/default.nix
2023-10-21 17:24:16 +00:00
Ryan Lahfa e6ade691a5
Merge pull request #259347 from ElvishJerricco/systemd-stage-1-zfs-sysusr-dependency
systemd 254: ZFS /usr fix with systemd-stage-1
2023-10-21 18:04:13 +01:00
Ryan Lahfa c5442c247f
Merge pull request #257262 from dongcarl/2023-09-nginx-fixes
nixos/nginx: Allow empty port for listen directive (for unix socket)
2023-10-21 17:26:57 +01:00
Adam Stephens 1a81fe0cc8
zfs: 2.1.13 -> 2.2.0 2023-10-21 12:16:31 -04:00
dadada 77f7b5a3e5
nixos/soft-serve: init
This adds a NixOS module for Soft Serve, a tasty, self-hostable Git
server for the command line. The module has a test that checks some
basic things like creating users, creating a repo and cloning it.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-10-21 17:51:42 +02:00
github-actions[bot] cfc75eec46
Merge master into staging-next 2023-10-20 18:00:54 +00:00
Pol Dellaiera fdecb1dabf
Merge pull request #244941 from h7x4/reduce-options-in-hedgedoc-module
nixos/hedgedoc: refactor to reduce option count
2023-10-20 16:07:16 +02:00
github-actions[bot] d7e9da1742
Merge master into staging-next 2023-10-20 12:01:24 +00:00
Arian van Putten 0257e9f13a
Merge pull request #261449 from arianvp/growpart-online
nixos/grow-partition: Resize partition online instead of in initrd
2023-10-20 09:25:31 +00:00
Arian van Putten b756441de2 nixos/grow-partition: add nixos test 2023-10-20 08:58:10 +00:00
Artturin 3342d1a9a9 Merge branch 'master' into staging-next 2023-10-20 09:29:36 +03:00
Martin Weinelt d042a29613
Merge pull request #253764 from linj-fork/fix-ping-wrapper
nixos/network-interfaces: stop wrapping ping with cap_net_raw
2023-10-20 00:57:55 +02:00
github-actions[bot] 0bcaa2f556
Merge master into staging-next 2023-10-19 18:00:54 +00:00
Thiago Kenji Okada 383389d086
Merge pull request #254582 from oluceps/dae-fix-overr
nixos/dae: fix override existed config issue
2023-10-19 18:34:30 +01:00
Bjørn Forsman cc7791cfd9 nixos/lighttpd: add reload support
Allow reloading the webserver, which is useful when e.g there are new
certificates available that we want lighttpd to use, but don't want to
completely shut down the server.
2023-10-19 19:23:04 +02:00
Thiago Kenji Okada b348656665
Merge pull request #259053 from flyingcircusio/percona-server-8.0
percona-server_8_0: init at 8.0.34
2023-10-19 18:17:59 +01:00
Christoph Heiss 4714845327
nixos/tests/openssh: add test for AllowUsers
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-10-19 18:30:52 +02:00
Weijia Wang ef6f366a95
Merge pull request #261744 from anthonyroussel/updates/sssd
sssd: 2.9.1 -> 2.9.2
2023-10-19 14:20:11 +02:00
github-actions[bot] 0f33269212
Merge master into staging-next 2023-10-19 06:01:20 +00:00
Fabián Heredia Montiel 27cb30e0ad
Merge pull request #260415 from helsinki-systems/drop/linux_4_14
linux_4_14: remove
2023-10-18 20:09:49 -06:00
github-actions[bot] 4b9cf6ff6e
Merge master into staging-next 2023-10-19 00:02:21 +00:00
Maximilian Bosch 2ee12a93de treewide: remove myself (ma27) from a few packages
It's time again, I guess :>

Main motivation is to stop being pinged about software that I maintained
for work now that I'm about to switch jobs. There's no point in pinging
me to review/test updates or to debug issues in e.g. the Atlassian stack
or on mailman since I use neither personally.

But there's also a bunch of other stuff that I stopped using personally. While
at it I realized that I'm still maintainer of a few tests & modules related to
packages I stopped maintaining in the past already.
2023-10-18 15:47:20 -03:00
github-actions[bot] de8dd334ab
Merge master into staging-next 2023-10-18 18:01:05 +00:00
Florian Klink 45e438fd89 nixosTests.garage: fix 2023-10-18 19:20:03 +02:00
Raito Bezarius be85addb7f garage_0_9: init at 0.9.0
https://git.deuxfleurs.fr/Deuxfleurs/garage/releases/tag/v0.9.0
2023-10-18 19:20:03 +02:00
Anthony Roussel 20319223ee
nixosTests.sssd: add aarch64-linux platform 2023-10-18 18:26:57 +02:00
h7x4 2295751a5a
nixos/rkvm: add nixos test 2023-10-18 06:21:40 +03:00
github-actions[bot] 8c62479810
Merge master into staging-next 2023-10-17 00:02:14 +00:00
Bjørn Forsman f561e395bd nixos/tests/deconz: init 2023-10-16 20:49:41 +02:00
github-actions[bot] 3a75845d38
Merge master into staging-next 2023-10-16 18:01:26 +00:00
Silvan Mosberger e0b3b074fb
Merge pull request #255547 from Majiir/pam-modular-rules
nixos/pam: assemble rules from modular configuration
2023-10-16 19:41:00 +02:00
Arian van Putten dd3deac858
Merge pull request #261452 from nikstur/systemd-repart-gpt-header
nixos/systemd-repart: remove superfluous gpt manipulation
2023-10-16 18:05:55 +01:00
nikstur e8b4e945dd nixos/systemd-repart: remove superfluous gpt manipulation 2023-10-16 19:03:57 +02:00
github-actions[bot] cb4734193d
Merge master into staging-next 2023-10-16 12:01:25 +00:00
Jennifer Graul d4b59bcdb0 nixos/librenms: add nixos test 2023-10-16 13:28:22 +02:00
Jean-François Roche fb3723fe52
nixos/tang: create module for tang server (#247037)
This commit adds a module for the tang server and the related nixos test.
2023-10-16 13:10:15 +02:00
Alyssa Ross 579ae9b989
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/cirq-core/default.nix
2023-10-16 08:49:23 +00:00
Julien Malka 8cff7c9e69 tests/ferretdb: init 2023-10-16 10:15:30 +02:00
zowoq 4ef9100595 nixosTests.buildbot: fix impure evaluation 2023-10-16 15:40:45 +10:00
Martin Weinelt 94c8c31bee
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/numba/default.nix
2023-10-15 22:31:34 +02:00
Maximilian Bosch 083a10949a
Merge pull request #258695 from Majiir/fix-networkd-defaultgateway
nixos/network-interfaces-systemd: support and require defaultGateway.interface
2023-10-15 16:42:01 +02:00
Lassulus a3dacf1dc8
Merge pull request #260306 from doronbehar/nixos/syncthing-many-devices 2023-10-15 10:24:40 +01:00
h7x4 6cd8da76f9
nixos/hedgedoc: refactor to reduce option count
- Remove lots of declared options that were not used outside of being
  included in settings. These should now be used through the freeform
  module.
- Deprecate `cfg.workDir`, in favor of using systemds `StateDirectory`
- Use sqlite as default database.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2023-10-15 08:45:43 +02:00
github-actions[bot] 1d9483230a
Merge master into staging-next 2023-10-15 00:02:33 +00:00