Commit Graph

8477 Commits

Author SHA1 Message Date
rnhmjoj
818afd9d6d
nixos/tests/libreswan: use runTest 2024-06-21 08:32:42 +02:00
Sandro Jäckel
743d9f835d
maintainers: remove one year inactive maintainer kiwi 2024-06-21 01:38:39 -04:00
K900
20b7b4f619
Merge pull request #320228 from K900/opengl-cleanups
treewide: big opengl cleanups
2024-06-20 12:37:59 +03:00
Raito Bezarius
32a8884ba4 nixos/tests/netdata: use recommended python packages
To maximize the testing surface.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-06-19 22:30:05 +02:00
Sirio Balmelli
6c10cfba34
tests/odoo: fix broken test
Odoo does not initialize the database by default,
it must be explicitly initialized for the test as written to succeed.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:23 +00:00
Sirio Balmelli
a972071a31
odoo: 16.0.20231024 -> 17.0.20240507
Preserve 'odoo16' on the same pattern as existing 'odoo15'

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:20 +00:00
Victor Engmark
d70be9d211
nixosTests.tandoor-recipes-script-name: init
Verify that all `href` attributes emitted as part of the entrypoint page
after logging in are reachable.

Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
2024-06-20 00:06:38 +12:00
Artturin
7324a175cf
Merge pull request #320673 from rvl/snapper-systemd-fix
nixos/snapper: Don't create broken snapper-boot.service
2024-06-19 14:59:00 +03:00
Maximilian Bosch
45d2b8b536
nixos/nextcloud: deprecated dbtableprefix
Closes #320381

Installation with a custom dbtableprefix is not allowed anymore for a
while[1] and we shouldn't advertise it as such.

The option is deprecated for now since I'm not sure if there are some
weird corner-cases where removing the option directly would break
existing installations from before <20 with a custom dbtableprefix. The
migration-path for such a case is as follows:

* Check if /var/lib/nextcloud/config/config.php has the correct
  dbtableprefix set and if not, take care of it.
* Remove `dbtableprefix` from the NixOS configuration. It's effectively
  state anyways.

After a bit of time to switch (perhaps after the next release
branchoff), the option can be removed.

[1] https://github.com/nextcloud/server/issues/24836
2024-06-19 11:43:33 +02:00
Pol Dellaiera
da9d79d6bc
nixos/searx: reformat tests with nixfmt-rfc-style 2024-06-19 07:06:43 +02:00
Pol Dellaiera
931b1bb0f1
nixos/searx: switch from handleTest to runTests 2024-06-19 07:06:43 +02:00
Martin Weinelt
ce935af53c
Merge pull request #317530 from thiagokokada/add-flood-service
nixos/flood: init
2024-06-19 01:23:41 +02:00
Maximilian Bosch
3734012f61
Merge pull request #319048 from Ma27/nc-objectstore-and-cleanup
nixos/nextcloud: add objectstore test, refactor testing structure
2024-06-18 14:40:55 +00:00
Thiago Kenji Okada
1cfd74809b nixos/flood: init 2024-06-18 08:47:29 -03:00
h7x4
4c7c3ceb12
nixosTests.wstunnel: init
Co-authored-by: r-vdp <ramses@well-founded.dev>
2024-06-18 11:07:06 +03:00
Rodney Lorrimar
52ef91d339
nixos/snapper: Don't create broken snapper-boot.service 2024-06-18 10:31:50 +08:00
Jonathan Davies
412cce1388 apacheKafka: Drop 3.5 series 2024-06-17 09:15:54 +02:00
Jonathan Davies
4e5d904350 apacheKafka: init 3.7.0. make default 2024-06-17 09:14:13 +02:00
Sarah Brofeldt
27a384a0ab apacheKafka: drop 3.4 and older
General cleanup -- following the logic that NixOS 23.11 contains Kafka
3.5, so there is a sensible upgrade path for everyone as long as we keep
that around until after the next release.
2024-06-17 09:01:28 +02:00
Sarah Brofeldt
1f45118e73 apacheKafka: init version 3.6.1, make default 2024-06-17 09:01:28 +02:00
Jonathan Davies
87bded6713
nixos/quickwit: Added ingest/query test by Thomas Cheronneau 2024-06-16 23:18:41 +01:00
Jonathan Davies
d7581094f9
nixos/quickwit: Created subtest for verifying UI installation 2024-06-16 23:18:40 +01:00
Sandro
f88f5fec3e
Merge pull request #318933 from mweinelt/vaultharden
nixos/vaultwarden: update state directory name, harden systemd unit
2024-06-16 13:31:10 +02:00
K900
98cef4c273 treewide: big opengl cleanup
- rename hardware.opengl to hardware.graphics
- remove hardware.opengl.driSupport, which does nothing
- remove hardware.opengl.setLdLibraryPath, which should never be done
- rename hardware.opengl.driSupport32Bit to hardware.graphics.enable32Bit
- lost of small docs / formatting cleanups
2024-06-16 14:11:33 +03:00
Pol Dellaiera
22279cafcc
Merge pull request #317138 from l0b0/ydotool-group
nixos/ydotool: Make group configurable
2024-06-16 10:18:26 +02:00
Tim Waterhouse
72406a54e7
nixos/vaultwarden: backup all rsa_keys
The official documentation mentions rsa_key* as what should be backed up (https://github.com/dani-garcia/vaultwarden/wiki/Backing-up-your-vault#the-rsa_key-files). My particular install has rsa_key.pem and rsa_key.pub.pem so the existing command fails when trying to copy rsa_key.der. This change better aligns with the official documentation.
2024-06-15 20:49:59 -07:00
Martin Weinelt
be53df7236
nixos/vaultwarden: harden systemd unit
Drops the capability to bind to privileged ports.
2024-06-16 01:33:12 +02:00
Sandro
aa6f59e07e
Merge pull request #292857 from SuperSandro2000/vaultwarden-backup-test
nixos/vaultwarden: add test for backup script
2024-06-15 23:47:10 +02:00
Pol Dellaiera
7938d40a60
Merge pull request #316239 from arjan-s/qtile-sessions
qtile: install proper session .desktop files for both xorg and wayland
2024-06-15 19:57:54 +02:00
Savyasachee Jha
b9e13e3528 nixos/tests/firefly-iii: Use postgres 16 2024-06-15 19:01:08 +05:30
Franz Pletz
609604413b
Merge pull request #319080 from Luflosi/update/kubo
kubo: 0.28.0 -> 0.29.0
2024-06-14 17:38:51 +02:00
h7x4
d8ddf6fb6d
Merge pull request #287611 from h7x4/nixos-module-fixup-kerberos-server
nixos/kerberos_server: use krb format generator, plus misc cleanup
2024-06-14 17:04:55 +02:00
Victor Engmark
408406c2ff
nixos/ydotool: Make group configurable
Allows users to refer to `config.programs.ydotool.group` rather than
hard-coding "ydotool".

Allows users to override the group name for whatever reason.

This closes #317013.

Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-06-14 10:07:28 +12:00
Victor Engmark
9b6eb83332
nixosTests.ydotool: Split up tests
Allows the tests to run in parallel.

Co-authored-by: Zitrone <nix@dev.quantenzitrone.eu>
2024-06-14 10:04:58 +12:00
nikstur
2d15501141
Merge pull request #314579 from ivan770/etc-direct-symlinks
nixos/etc: support direct symlinks with etc overlay
2024-06-13 17:01:35 +02:00
Florian Klink
eabd9c36d9
Merge pull request #318604 from jmbaur/pref64-networkd
nixos/systemd-networkd: add PREF64 related options
2024-06-12 22:09:54 +03:00
misuzu
4df3c4c17b nixos/clevis: add support for parent encrypted zfs datasets 2024-06-12 21:21:50 +03:00
Pol Dellaiera
7d270d53b9
Merge pull request #303429 from timhae/aria2-module
Aria2 module settings
2024-06-12 19:23:44 +02:00
Maximilian Bosch
0b31ada92b
nixos/nextcloud: refactor tests
The tests had very much duplication and some if it was even wrong! For
instance, `withRcloneEnv` in the MySQL test didn't have the `"$@"` at
the bottom to execute commands passed to it. Because of that, the MySQL
testcase never checked whether files can be uploaded.

Since tests are just another module-system I decided to abstract away
common things by using it:

* Define a base module with
  * an empty `client` node and a `nextcloud` node with defaults
    shared among all tests.
  * rclone scripts that are used by all tests.
  * a `testScript` checking upload/download. Additional checks can be
    added via `test-helpers.extraTests`.

* Make common information such as admin user & password shared via
  options.

Also, changed the following things:

* The `name` of the final derivation also includes the Nextcloud major
  it was tested against.

* Improved the objecstore test by making sure the file was actually
  uploaded into the bucket.
2024-06-12 10:55:26 +02:00
Sandro
b4cb66799a
nixos/tests/vaultwarden: check for attachments, too 2024-06-12 10:46:30 +02:00
OTABI Tomoya
1f278a2082
Merge pull request #318384 from NyCodeGHG/nixos/renovate
nixos/renovate: init
2024-06-12 10:05:27 +09:00
Marie Ramlow
dd8e2c72ad nixosTests.renovate: init vm test 2024-06-11 18:57:09 +02:00
Luflosi
4f8d158986
kubo: 0.28.0 -> 0.29.0
https://github.com/ipfs/kubo/releases/tag/v0.29.0

The FUSE mount functionality is no longer completely broken, so reenable the NixOS test.
2024-06-11 15:47:09 +02:00
h7x4
d952db86c9
nixos/vaultwarden: add test for backup script, fix flaky sqlite test 2024-06-11 13:10:44 +02:00
Maximilian Bosch
6ecafb1c38
nixos/nextcloud: fix objectstore/s3 test
* Make sure `withRcloneEnv` actually invokes the command it gets as
  `argv`. Until no, nothing was uploaded. This mistake was copied from
  the MySQL test that appears to have the same issue (will be addressed
  in the next commit).

* Test upload/download through with rclone once to see if Nextcloud
  interaction with S3 works fine.

* Make sure we actually have something in the bucket (until now with an
  `ls` and no real check, will do some larger cleanups and make this
  better in the next commit).

* Use actual AWS-style access keys.
2024-06-11 12:37:42 +02:00
Tom Fitzhenry
725777250b nixos/shadow: introduce security.shadow.enable
Allow users to disable the shadow authentication suite.

My primary motivation is to reduce the attack surface via setuid
binaries, which shadow understandably introduces many. I realised,
however, that I don't use any of these.

The test demonstrates login working without needing the shadow suite.
2024-06-11 19:28:32 +10:00
Jared Baur
d4d5fd718d
nixos/clatd: make client fetch PLAT prefix dynamically
We can expose the PLAT prefix to the client via DNS64 so clatd is able
to determine the prefix dynamically. We can also test that some
systemd-networkd PREF64 settings work as expected when exposed on the
router.
2024-06-11 00:41:10 -07:00
Sandro
4a77c223c9
Merge pull request #269460 from tie/pghero
pghero: init at 3.4.1
2024-06-11 01:00:56 +02:00
Florian Klink
d2d2467118
Merge pull request #318306 from flokli/grafana-alloy-module
grafana-alloy: add NixOS module
2024-06-10 19:36:36 +03:00
Arjan Schrijver
50643d3a98 qtile: use proper session .desktop files 2024-06-10 14:34:23 +02:00
Jonas Heinrich
de1f4538e8
nixos/tests/nextcloud: Add test for object store 2024-06-10 13:52:55 +02:00
Florian Klink
1fa96ce4df grafana-alloy, nixos/alloy: add hbjydev to maintainers 2024-06-10 13:40:45 +03:00
Florian Klink
c12da48755 nixosTests.alloy: init VM test
This adds a VM test, starting up Grafana Alloy and ensuring it comes
up healthy.
2024-06-10 13:35:33 +03:00
Christian Kögler
3844793c02
Merge pull request #318449 from ck3d/nixos-test-machinectl-cgroup2
nixos/tests/machinectl: add workaround for nix-build
2024-06-10 07:43:49 +02:00
Christian Kögler
181e82f4b2 nixos/tests/machinectl: add workaround for nix-build 2024-06-10 07:42:21 +02:00
1sixth
f862ae2e31
nixos/tests/mpv: adapt to the new mpv wrapper 2024-06-10 09:34:50 +08:00
Francesco Gazzetta
4085796c8c nixosTests.ladybird: use programs.ladybird option 2024-06-09 08:18:31 +00:00
h7x4
195d155a1c
nixos/kerberos_server: use krb format generator, plus misc cleanup
- Introduce more possible options by using the krb format generator.
- Enforce package choice is using a correct package.
- Use meta attribute to decide implementation, allows for overriding the
  package.
- Make necessary changes to the format, to allow for multiple ACL files in
  heimdal.
- Add systemd target and slice for both implementations.
- Move state to `/var/lib`
- Add documentation
2024-06-08 23:29:53 +02:00
Florian Klink
6a3a382d5b nixos/mycelium: add mycelium binary to systemPackages
It's now possible to invoke `mycelium {routes,peers} list`.
2024-06-08 15:01:32 +03:00
Tom Fitzhenry
9e4e5d96f1 tests/openssh: use upstream's algorithms in "no openssl" example
When I initially wrote this test, I wasn't aware that services.openssh
could opt into using OpenSSH's default algorithms by just setting the
relevant settings to null.

That's a better approach since:
* it's a simpler setting for this test to have to worry about
* it introduces test coverage for the null case
* the null case should be demonstrated as an example for those that
  want to compile without OpenSSL
2024-06-08 15:03:08 +10:00
Martin Weinelt
121ba21838
Merge pull request #286999 from SuperSandro2000/acme-check-account-hash
tests/acme: check consistent account hash
2024-06-07 23:57:20 +02:00
OPNA2608
6477cb49a5 nixos/lomiri: Add file manager 2024-06-07 11:37:53 +02:00
OPNA2608
4a495ec755 tests/lomiri-filemanager-app: init 2024-06-07 11:37:49 +02:00
ajs124
2bcef047dc
Merge pull request #317087 from baloo/baloo/nixosTest.lvm2/stage1-xfs
nixosTests.lvm2: stage1 tests use xfs
2024-06-06 20:58:45 +02:00
ajs124
84cb7f5eb5
Merge pull request #317084 from baloo/baloo/kvdo/kernel-5.17
kvdo: build is broken on kernel < 5.17
2024-06-06 19:42:32 +02:00
Sandro
345330c768
Merge pull request #291552 from SuperSandro2000/bash-completion-package-option 2024-06-06 15:22:21 +02:00
Sandro Jäckel
1c60f0a9a0 nixos/bash-completion: move options to programs.bash.completion, add package option, drop with lib
This allows to easily test bash-completion updates without triggering a mass rebuild locally.
2024-06-06 02:51:06 +02:00
Jonathan Davies
c31c69206f
nixos/vector: Added syslog→Quickwit testcase 2024-06-06 00:49:39 +01:00
Jonathan Davies
237353040e
nixos/quickwit: Added testcase 2024-06-06 00:49:38 +01:00
Adam C. Stephens
af4ac075a3
Merge pull request #312523 from emilylange/nixos-forgejo-secrets
nixos/forgejo: refactor secrets, add `cfg.secrets`, forgejo: build `environment-to-ini`, nixos/tests/forgejo: test `cfg.secrets` using /metrics endpoint
2024-06-05 10:01:37 -04:00
Florian Klink
40066ba0d8
Merge pull request #316168 from dawidd6/systemd-user-generators
nixos/systemd: link user-generators
2024-06-05 09:59:29 +02:00
emilylange
fd58d2299b
nixos/tests/forgejo: test cfg.secrets using /metrics endpoint
Heavily inspired by b59e5a34e7 (gitea).
2024-06-05 00:46:00 +02:00
Pol Dellaiera
6b6d4aeb35
Merge pull request #316248 from shivaraj-bh/open-webui
open-webui: init at 0.2.4
2024-06-04 15:47:03 +02:00
shivaraj-bh
f66cb82fef nixos/open-webui: init 2024-06-04 16:46:19 +05:30
Jörg Thalheim
7c503a8a9d
Merge pull request #315927 from Artturin/movetestsnix1
nixosTests.nix-misc: split from nixosTests.misc
2024-06-04 10:18:25 +02:00
Arthur Gautier
70fcd3ebf6 nixosTests.lvm2: stage1 tests use xfs 2024-06-03 20:50:39 -07:00
Arthur Gautier
265f31677e kvdo: build is broken on kernel < 5.17
complete_and_exit has been renamed to kthread_complete_and_exit
2024-06-03 20:48:47 -07:00
Jonathan Davies
2c6830c47e
nixos/prometheus: Move config reload test to subtest 2024-06-03 20:33:28 +01:00
Jonathan Davies
0c99c5f8b7
nixos/prometheus: Added Alertmanager test case 2024-06-03 20:33:28 +01:00
Jonathan Davies
38495e1ec0
nixos/prometheus: Added federation test case 2024-06-03 20:33:24 +01:00
Jonathan Davies
87cb2d582e
nixos/prometheus: Added pushgateway test case 2024-06-03 20:33:23 +01:00
Jonathan Davies
61e7915267
nixos/prometheus: Added remote-write test case 2024-06-03 20:33:22 +01:00
Jonathan Davies
d6296eceaf
nixos/prometheus: Added simple two Prometheus server testcase 2024-06-03 20:33:21 +01:00
Jonathan Davies
d276f0573b
nixos/prometheus: Renamed existing Prometheus test to Thanos. 2024-06-03 20:33:13 +01:00
Doron Behar
459335513a
Merge pull request #315555 from doronbehar/pkg/musescore
musescore: 4.3.0 -> 4.3.1
2024-06-03 21:20:15 +03:00
Doron Behar
138ad7b73a nixos.tests.musescore: fix and improve
- Use the print dialog to create a sample score.
- Copy also the sample score from the vm to $out of the test.
- Create a bit more screenshots
- Only use machine.wait_for_window, never machine.wait_for_text which
  requires OCR which is slow.
- Set XDG_RUNTIME_DIR so it won't dump core.
2024-06-03 03:16:47 +03:00
Sandro
fa7656236f
Merge pull request #299995 from tie/centrifugo-tests-fix-shards 2024-06-02 23:09:48 +02:00
Peder Bergebakken Sundt
080af6461e
Merge pull request #314294 from james-atkins/mealie-update
mealie: 1.2.0 -> 1.7.0
2024-05-31 20:41:37 +02:00
Azat Bahawi
4a9b788bf5
Merge pull request #315749 from Sigmanificient/qtile-vm-fix
nixos/tests/qtile: run only on linux
2024-05-31 18:31:08 +03:00
Dawid Dziurla
0133e21626
nixos/tests/podman: add test for rootless quadlet 2024-05-31 16:02:15 +02:00
Thomas Gerbet
4e2290525d
Merge pull request #314618 from gaykitty/stargazer-1.2.1
stargazer: 1.1.0 -> 1.2.1
2024-05-31 12:57:03 +02:00
Tom Fitzhenry
f1c7c63c69 Remove tomfitzhenry@ from some maintainership
I don't use these programs anymore, sadly.
2024-05-31 10:47:29 +10:00
Maximilian Bosch
83db4d8162
Merge pull request #315307 from Ma27/kernel-generic-test
nixos/tests/kernel-generic: add linux_rt_6_6
2024-05-30 17:30:03 +00:00
Artturin
e60c483eb9 nixosTests.misc: Remove nix tests
Moved to `nixosTests.nix-misc`
2024-05-30 19:11:27 +03:00
Artturin
53a2215917 nixosTests.misc: Revert nix changes
nix tests now moved to `nixosTests.nix-misc`

Revert "nixos/tests/misc: support old and new path-info output structure"

This reverts commit 903f315fe5.

Revert "nixos/tests/misc: call the tester `test` to be `callTest`-ed"

This reverts commit b35ccb7fda.

Revert "nixos/tests/misc: rework and take ownership"

This reverts commit 81854ca604.
2024-05-30 19:11:27 +03:00
Artturin
e124b02edd nixosTests.nix-misc: Split from nixosTests.misc
Bit weird to have nix tests in misc

Add `artturin` to maintainers
2024-05-30 19:11:27 +03:00
Jörg Thalheim
5da922e0d7
Merge pull request #315857 from mweinelt/misc-test-pathinfo-variants
nixos/tests/misc: support old and new path-info output structure
2024-05-30 16:05:06 +02:00
Martin Weinelt
903f315fe5
nixos/tests/misc: support old and new path-info output structure 2024-05-30 13:02:44 +02:00
Martin Weinelt
884a0835ef
nixos/tests/networkd: make client reliable in dhcpserver-static-leases test
Migrate the client to a native networkd configuration and reduce
unrelated log spam.
2024-05-30 12:29:36 +02:00
Francesco Gazzetta
ce3303220a domination: 1.2.9 -> 1.3.0 2024-05-30 07:28:44 +00:00