Commit Graph

9507 Commits

Author SHA1 Message Date
Weijia Wang
267d58a0e2
[Backport release-24.11] nixos/incus: add incus-user service and socket (#356398) 2024-11-24 11:28:39 +01:00
Weijia Wang
2fe68b83ee
[Backport release-24.11] wordpress: 6.6.2 -> 6.7 (#358428) 2024-11-24 11:03:50 +01:00
Adam Stephens
bcbd89f9c8 incus: add tpm to container test
(cherry picked from commit ed24c80ef6)
2024-11-23 22:47:13 +00:00
Adam Stephens
727cd0502b incus: fix tpm support
(cherry picked from commit 0e12722d4b)
2024-11-23 22:47:13 +00:00
Nico Felbinger
fa192bdc12 nixos/suricata: add module to modules-list
(cherry picked from commit f2de541dfd)
2024-11-23 21:32:44 +01:00
Viorel-Cătălin Răpițeanu
32ad7cbcec wordpress: 6.6.2 -> 6.7
Update the package to the latest version.

(cherry picked from commit 5705ab5bc5)
2024-11-23 13:20:20 +00:00
Kerstin
38f6e197be
[Backport release-24.11] canaille: init at 0.0.56, add module (#358353) 2024-11-23 11:29:33 +01:00
Kerstin Humm
9a5238a2ff nixos/open-web-calendar: init module
(cherry picked from commit 897954b8ae)
2024-11-23 09:04:17 +00:00
Kerstin Humm
02e290b42e nixos/canaille: init module
Co-Authored-By: Janik <80165193+Janik-Haag@users.noreply.github.com>
(cherry picked from commit ff2f00d425)
2024-11-23 09:03:40 +00:00
Jared Baur
d08c1b677f nixos/activation: Add pre-switch checks
Add an option for shell script fragments that are ran before switching
to a new NixOS system configuration (pre installation of bootloader or
system activation). Also add a new subcommand for
switch-to-configuration called "check" that will cause the program to
always exit after checks are ran.

(cherry picked from commit 6e192c4489)
2024-11-23 01:33:43 +00:00
Maximilian Bosch
0bd7e8585f nixos/tests/postgresql: test plv8 hardening on non-JIT variants only
PostgreSQL with JIT support enabled doesn't work with plv8. Hence, we'd
get an evaluation failure for each
`nixosTests.postgresql.postgresql.postgresql_jit_X`.

This should be restructured in the future (less VM tests for custom
extensions, but a single VM test for this case to cover). For now, we
should get this fix out and this is a good-enough approach.

(cherry picked from commit 68d9643388)
2024-11-16 21:30:02 +00:00
Martin Weinelt
830116313f nixosTests.postgresql: test hardening gets relaxed
The plv8 plugin requires access to pkey syscalls. The execution will
crash hard when it is not allowed by the syscall filter.

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
(cherry picked from commit e198536d26)
2024-11-16 21:30:02 +00:00
Martin Weinelt
7d07116532 nixos/postgresql: rename extraPlugins to extensions
This is the upstream lingo, and it makes everything slightly less
confusing.

(cherry picked from commit 223a6c6ed0)
2024-11-16 21:30:02 +00:00
Adam Stephens
cc8e17e1fb nixos/tests/incus: test incus-user
(cherry picked from commit 0214dd4ef2)
2024-11-16 08:21:45 +00:00
Maximilian Bosch
022c3e8ad0 postgresql_12: remove
This will be EOL at the end of November, so there's little reason to
keep it in 24.11[1]. As discussed, we'd like to keep it for as long as
possible to make sure there's a state in nixpkgs that has the latest
minor of postgresql_12 available with the most recent CVEs fixed for
people who cannot upgrade[2].

This aspect has been made explicit in the manual now for the next .11
release.

During the discussions it has been brought up that if people just do
`services.postgresql.enable = true;` and let the code decide the
postgresql version based on `system.stateVersion`, there's a chance that
such EOL dates will be missed. To make this harder, a warning will now
be raised when using the stateVersion-condition and the oldest still
available major is selected.

Additionally regrouped the postgresql things in the release notes to
make sure these are all shown consecutively. Otherwise it's a little
hard to keep track of all the changes made to postgresql in 24.11.

[1] https://endoflife.date/postgresql
[2] https://github.com/NixOS/nixpkgs/pull/353158#issuecomment-2453056692

(cherry picked from commit 0b3eef7441)
2024-11-15 11:07:42 +00:00
Weijia Wang
9c631cfd4a
nixos/nixosTests.kerberos: add test suite for LDAP backend (#337719) 2024-11-14 17:26:05 +01:00
Pol Dellaiera
cf69fc271d
nixos/glances: init (#303320) 2024-11-14 05:47:04 +01:00
Yorick
97dfe7efe4
maintainers: Remove mkaito (#355650) 2024-11-13 19:57:30 +01:00
Maximilian Bosch
0524f3b302
Merge: nixosTests.postgresql: run tests with JIT as well (#355502) 2024-11-13 16:13:01 +01:00
Nessdoor
005ec27097 nixos/nixosTests.kerberos: add test suite for LDAP backend 2024-11-13 14:42:06 +01:00
Christian Höppner
8feba149a0
mkaito: Remove 2024-11-13 12:03:00 +00:00
Claes Hallström
d174bf438b nixos/glances: init module 2024-11-13 00:06:47 +01:00
Wolfgang Walther
9486472352
nixosTests.postgresql: run tests with JIT as well
This was intended for quite some time already, but ever since enableJIT
was changed to be the source of truth of JIT-iness for the PostgreSQL
module, this hasn't worked for the tests anymore.
2024-11-12 21:04:41 +01:00
Maximilian Bosch
dbd8326b7f
Merge: wordpress: drop unmaintained release (#355291) 2024-11-12 19:20:25 +01:00
Weijia Wang
40d6aaaeb1 wordpress: drop unmaintained release 2024-11-11 23:26:22 +01:00
Cosima Neidahl
e1b70fb061
nixos/lomiri: Better support stand-alone greeter usage (#352425) 2024-11-11 20:00:29 +01:00
Weijia Wang
99ad7da9e3
nixosTests.frr: fix node.router.config warning (#354710) 2024-11-11 00:54:13 +01:00
Maximilian Bosch
9a333460f5
Merge: postgresql: improve passthru.tests (#352966) 2024-11-10 15:34:04 +01:00
Sefa Eyeoglu
e9c53bdf9a
nixos/localsend: add package option & allow udp port (#333485) 2024-11-10 12:47:30 +01:00
Robert Schütz
06be8564e5
immich: 1.119.1 -> 1.120.1 (#354083) 2024-11-09 14:53:47 -08:00
Robert Schütz
ee1cffa25c immich: 1.119.1 -> 1.120.1
Changelog: https://github.com/immich-app/immich/releases/tag/v1.120.0
           https://github.com/immich-app/immich/releases/tag/v1.120.1
2024-11-09 14:44:21 -08:00
Wolfgang Walther
45cef36e39
nixosTests.postgresql: run nixfmt
Because with as many changes as in here anybody working on those test
files will have merge conflicts anyway.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
128244b598
nixosTests.postgresql: use a common pattern throughout all tests
Avoiding "with", using the same names and basic structure in each test.

Consistency is key!
2024-11-09 18:24:52 +01:00
Wolfgang Walther
9035573855
nixosTests.postgresql: move all postgresql related nixosTests into one folder
This makes it possible to run all those tests at once by building
nixosTests.postgresql and allow a simple entry to ci/OWNERS for all
tests.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
db2d6a00ab
postgresqlPackages.anonymizer: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
23c19a255f
postgresqlPackages.timescaledb: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
6d7da20a90
postgresqlPackages.tsja: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
a5c41ae80a
postgresqlPackages.pgvecto-rs: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
0af934adf7
postgresqlPackages.pgjwt: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
ecffab1fda
postgresqlPackages.postgis: move nixosTests.postgis into package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
aded718a98
postgresqlPackages.apache_datasketches: move nixosTests.apache_datasketches into package
There is no need to fire up a whole VM just to run a two line test of
creating the extension. We can use postgresqlTestExtension for that.
This has the advantage that it runs with postgresqlTestHook, so without
a VM, making it more portable.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
139c546676
postgresql: add passthru.tests.postgresql-tls-client-cert
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
f6c2de9262
postgresql: add passthru.tests.postgresql
Restructuring the nixosTests.postgresql test a little bit to allow
calling it with the specific versioned package from generic.nix.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
319d82d5c2
nixosTests.postgresql-wal2json: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
65ef7381c8
nixosTests.postgresql-jit: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:50 +01:00
Wolfgang Walther
a1ae4377e0
nixosTests.postgresql-wal-receiver: avoid manual imports
Manually importing postgresql packages from the /pkgs/ folder or
manually importing the test from /nixos/tests/ in generic.nix is not
only ugly, but also forbidden should we ever move to pkgs/by-name.

We can achieve almost the same with a slightly different setup. We allow
overriding the postgresql package for the test via passthru.override, to
make sure that each postgresql_xx.tests.postgresql-wal-receiver is
properly teted with the right version.
2024-11-09 18:24:50 +01:00
Wolfgang Walther
d3feaaebea
nixosTests.pgjwt: fix test
This seems to have broken years ago, because "CREATE EXTENSION
pgcrypto;" etc. were added to the upstream file about 6 years ago.
2024-11-09 18:23:58 +01:00
Noa Aarts
1cc81439e7
nixosTests.frr: fix warning, use nodes.router instead of nodes.router.config 2024-11-09 09:28:11 +01:00
Noa Aarts
f93219dfa0
nixosTests.frr: format using nixfmt 2024-11-09 09:27:24 +01:00
K900
58626b7634
nixos/tests/acme: explicitly start the targets we wait for (#354629) 2024-11-09 09:58:58 +03:00