Commit graph

6476 commits

Author SHA1 Message Date
Naïm Favier b7098c1239
Merge pull request #239427 from ncfavier/syncthing-escaping
nixos/syncthing: fix escaping
2023-06-23 20:29:42 +02:00
Naïm Favier 9a9ded1675
nixos/syncthing: fix escaping 2023-06-23 20:19:51 +02:00
pennae 50a780ce5c
Merge pull request #237824 from drupol/add-guacamole-server-and-client
{guacamole-server,guacamole-client}: init at 1.5.2
2023-06-23 15:41:50 +02:00
Ryan Lahfa 230a3705fc
Merge pull request #234223 from alyssais/stage-1-bind-file 2023-06-22 21:47:30 +02:00
Guillaume Girol a3a23358fc
Merge pull request #237235 from alyssais/vmTools-deb
nixosTests.os-prober: fix
2023-06-22 19:14:11 +00:00
Sandro 996d7cabba
Merge pull request #225877 from jappeace/upgrade-keter-2.1
nixos/keter: 2.0 -> 2.1
2023-06-22 20:00:22 +02:00
Elis Hirwing da7b79c90e
Merge pull request #239049 from LeSuisse/php80-removal
php: drop PHP 8.0
2023-06-22 08:43:39 +02:00
Vladimír Čunát e603dc5f06
Merge #238997: nixosTests.sway: don't use ORC 2023-06-22 07:47:41 +02:00
Pol Dellaiera 6cc1b175d3
nixos/guacamole-server: init 2023-06-21 22:11:44 +02:00
Thomas Gerbet 84c0cb1471 php: drop PHP 8.0
Closes #224505
2023-06-21 22:09:16 +02:00
Pol Dellaiera a950888024
nixos/guacamole-client: init 2023-06-21 20:47:31 +02:00
Sandro 7e38f9e981
Merge pull request #236104 from Luflosi/apfs-test-module-based-runner
nixos/tests/apfs: clean up code
2023-06-21 19:19:36 +02:00
Patrick Hilhorst 5bd226bfd9
nixosTests.sway: don't timeout gpg-agent 2023-06-21 16:08:00 +02:00
Patrick Hilhorst ae4e5957d8
nixosTests.sway: don't use ORC 2023-06-21 14:58:10 +02:00
Domen Kožar b37c9b89a4
Merge pull request #221169 from bouk/bouk/mainpr
opentelemetry-collector: add NixOS module
2023-06-21 13:07:50 +01:00
Tyler Langlois 80dcb8f6bb nixos/opentelemetry-collector: add nixosTest
(cherry picked from commit a45a1a51e57eff974922b19d80b77ff0c23771f0)
Signed-off-by: Domen Kožar <domen@dev.si>
2023-06-21 13:07:16 +01:00
Jörg Thalheim bfc002e2f1
nix-ld: 1.2.1 -> 1.2.2 (#237962)
* nix-ld: 1.2.1 -> 1.2.2

Diff: https://github.com/mic92/nix-ld/compare/1.2.1...1.2.2

* Update pkgs/os-specific/linux/nix-ld/default.nix

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>

---------

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2023-06-20 20:23:27 +00:00
Alyssa Ross c2730b96dc public-inbox: add xapian to PATH
Some public-inbox programs run xapian-compact, so we need to make sure
it's in PATH.
2023-06-20 16:58:47 +00:00
Sandro 0b77630d18
Merge pull request #209068 from CRTified/adguard-dhcp 2023-06-20 13:37:34 +02:00
Alyssa Ross d48e365ff6
nixosTests.os-prober: add missing kbd extra dep 2023-06-20 10:20:37 +00:00
rnhmjoj 623d7d2124 nixos/tests/fakeroute: init 2023-06-20 01:12:04 +00:00
happysalada 97f556cac1 installer: remove unused with 2023-06-19 13:12:04 -04:00
happysalada 31342eea54 installer: remove reference to non existing doc option 2023-06-19 13:12:04 -04:00
Markus Kowalewski 42a6b41e33
nixos/snapper/test: fix, make compliant with new config scheme 2023-06-18 16:20:31 +02:00
Maximilian Bosch 30c0a2f738
Merge pull request #238250 from Ma27/nextcloud-declarative-test-fix
nixos/tests/nextcloud: fix more issues related to redis tests
2023-06-18 11:14:54 +02:00
Vladimír Čunát 6d80b598ef
Merge #237233: staging-next 2023-06-11 2023-06-17 18:53:26 +02:00
Ryan Lahfa 3d941b6be8
Merge pull request #236656 from nikstur/qemu-vm-persistent-block-device-names 2023-06-17 14:52:26 +02:00
Ryan Lahfa 7d9cd2a23e
Merge pull request #233035 from NixOS/kexec-test 2023-06-17 14:51:57 +02:00
Maximilian Bosch cac7282c17
nixos/tests/nextcloud: fix more issues related to redis tests
* Ensure that the redis cache is actually used in the "trivial" case
  (`with-postgresql-and-redis`)
* Test against all Nextcloud versions we've packaged
* Actually set a secret to make sure that the provided secret is
  properly read by Nextcloud.
* Add myself as maintainer to the secret-test to make sure that I don't
  miss any more changes like this that could break the functionality of
  that feature.
2023-06-17 14:04:44 +02:00
Vladimír Čunát 41d7e84dd8
Merge branch 'master' into staging-next
Trivial conflict:
 	nixos/doc/manual/release-notes/rl-2311.section.md
2023-06-17 07:46:50 +02:00
Maximilian Bosch 2f9c0ffde8
Merge pull request #237736 from Ma27/bump-nextcloud
nextcloud27: init
2023-06-16 19:51:28 +02:00
Raito Bezarius 627a8838fa nixosTests.kexec: do not use module argument config
It is deprecated now.
2023-06-16 19:43:40 +02:00
Raito Bezarius 7088e386ff nixosTests.kexec: reconnect properly after 2nd kexec
By some miracle, before, it was possible to reconnect to the `node1` without
doing any relevant dance.

But now we are direct booting (¿), it seems like we need to do the right things.

This introduces a `check_output` flag for `execute` because we do not want to steal the
messages from the backdoor service as we might execute the kexec too fast compared
to when we will reconnect.

Therefore, we will let the message in the pipe if needed.
2023-06-16 19:43:40 +02:00
Raito Bezarius 85c8cc7ce9 nixosTests.kexec: do not use bootloader
There's no reason to use a bootloader when testing kexec, this is a feature
that reboots *directly* in the kernel, if anything, we should just direct boot the
kernel and reboots in the kernel.

A bootloader test really makes sense to test "default" systemctl kexec behavior which is already broken
because systemctl kexec will read the ESP to determine what to kexec by default.
2023-06-16 19:43:40 +02:00
nikstur 0bdba6c99b nixos/qemu-vm: use persistent block device names
This change removes the bespoke logic around identifying block devices.
Instead of trying to find the right device by iterating over
`qemu.drives` and guessing the right partition number (e.g.
/dev/vda{1,2}), devices are now identified by persistent names provided
by udev in /dev/disk/by-*.

Before this change, the root device was formatted on demand in the
initrd. However, this makes it impossible to use filesystem identifiers
to identify devices. Now, the formatting step is performed before the VM
is started. Because some tests, however, rely on this behaviour, a
utility function to replace this behaviour in added in
/nixos/tests/common/auto-format-root-device.nix.

Devices that contain neither a partition table nor a filesystem are
identified by their hardware serial number which is injecetd via QEMU
(and is thus persistent and predictable). PCI paths are not a reliably
way to identify devices because their availability and numbering depends
on the QEMU machine type.

This change makes the module more robust against changes in QEMU and the
kernel (non-persistent device naming) and by decoupling abstractions
(i.e. rootDevice, bootPartition, and bootLoaderDevice) enables further
improvement down the line.
2023-06-16 19:36:03 +02:00
Nick Cao c72f24ec26
Merge pull request #237933 from pbek/feature/qownnotes-tests
qownnotes: add tests
2023-06-16 06:47:48 -06:00
Maximilian Bosch 3df3a89892
nixos/nextcloud: fix declarative cache configuration
It's supposed to be `memcache.distributed`, not an associative PHP array
named `memcache` with a key `distributed`.

This was probably never caught because the initial `grep -q` check in
the test was invalid: `redis-cli` prints nothing if no keys can be found
when not writing to a tty apparently.
2023-06-16 14:11:38 +02:00
Maximilian Bosch 5a2769d981
nextcloud27: init
Fixes #237560
2023-06-16 14:11:38 +02:00
Patrizio Bekerle fd800d851f
qownnotes: add tests 2023-06-16 08:20:32 +02:00
github-actions[bot] 839c033ffb
Merge master into staging-next 2023-06-16 00:02:18 +00:00
Jörg Thalheim 4f992e8da0
Merge pull request #237840 from lilyinstarlight/fix/systemd-initrd-vconsole-test
nixos/tests/systemd-initrd-vconsole: fix test and improve reliability
2023-06-15 19:41:08 +01:00
github-actions[bot] 036d56d643
Merge master into staging-next 2023-06-15 12:01:17 +00:00
Lily Foster 9fb9774d93
nixos/tests/systemd-initrd-vconsole: fix test and improve reliability 2023-06-15 06:48:05 -04:00
Carl Richard Theodor Schneider 59207cc930 nixos/adguardhome: Add allowDHCP option
This option conditionally adds the `CAP_NET_RAW` capability to the service,
which is mandatory for enabling the integrated DHCP server.
It also adds another test case to validate that the DHCP server successfully
provides IP addresses to clients.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-06-15 12:27:35 +02:00
Jörg Thalheim f3ae11b096 nixos/nix-ld: also test NIX_LD fallback 2023-06-15 09:47:25 +02:00
github-actions[bot] 0f19fc4c44
Merge master into staging-next 2023-06-14 18:01:25 +00:00
Jappie Klooster 3f2f5bea96 nixos/keter: 2.0 -> 2.1
keter 2.1 now can log to stderr instead of file rotation.
Which is faster and more reliable.
These changes support that.

Announcement:
https://discourse.haskell.org/t/keter-2-1-0-released/6134

fix test by disabling log rotation

run nixpkgs fmt

move comment right before L37

run nixpkgs format on test

Add overridable default configuration

depracate keterRoot and use root, same for package

split doc lines

use lib.getExe to get keter binary

put mkRenamedOptionModule on one line
2023-06-14 11:54:03 -04:00
Sandro 60d31a2a46
Merge pull request #207646 from Enzime/vsce/test-remote-ssh 2023-06-14 17:05:32 +02:00
0x4A6F 144ef637a6
nixosTests.coturn: wait_for_open_port 2023-06-13 23:21:37 +02:00
github-actions[bot] f29c608f98
Merge master into staging-next 2023-06-13 18:01:32 +00:00