Commit Graph

9477 Commits

Author SHA1 Message Date
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
K900
58626b7634
nixos/tests/acme: explicitly start the targets we wait for (#354629) 2024-11-09 09:58:58 +03:00
K900
c8fd06c3b2 nixos/tests/acme: wait for server to run before starting the target
This is really an ordering issue in the ACME module itself,
but while we think of how to fix it, this should at least unflake
the tests.
2024-11-09 09:40:38 +03:00
Weijia Wang
da5252dd31
nixosTests.retroarch: fix test by changing window title (#354067) 2024-11-09 01:03:07 +01:00
Peder Bergebakken Sundt
dcc6e1558c
nixos/keepassxc: fix test (#353938) 2024-11-09 00:10:04 +01:00
K900
ee6df93fe2 nixos/tests/acme: explicitly start the targets we wait for
This should address the other source of flakiness in the test.
2024-11-09 01:57:35 +03:00
K900
0453fe2395
{apache,caddy,nginx}: not "before" ACME certs using DNS validation (#336412) 2024-11-08 18:50:28 +03:00
ThinkChaos
b432e86caf
nixos/acme: remove unused binding in tests 2024-11-07 20:19:12 -05:00
Emily
3a6d4d006a
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc (#354197) 2024-11-07 18:16:05 +00:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Fabián Heredia Montiel
2f31bf4c47 linux/hardened/patches/6.11: init at v6.11.6-hardened1 2024-11-06 18:15:54 -06:00
Noa Aarts
5d0cd804a5
nixosTests.retroarch: fix test by changing expected window title 2024-11-06 20:09:10 +01:00
Noa Aarts
dd4d691d9b
nixosTests.retroarch: format using nixfmt 2024-11-06 20:08:39 +01:00
Ramses
d06e176158
nixos/swapspace: init module (#348588) 2024-11-06 16:52:09 +01:00
Sandro
90a1d755a5
nixos/tests/redmine: Limit platforms to supported ones (#348178) 2024-11-06 10:01:27 +01:00
amesgen
0e25167336
nixos/keepassxc: stop using deprecated cli option
Addresses

    The -k option will be deprecated. Please use the --set-key-file option
    instead.

This isn't causing any problems _yet_, but it seems easy enough to fix it now
already.
2024-11-06 01:59:56 +01:00
amesgen
c712874d4a
nixos/keepassxc: adapt to new UI details
There now is a "Refresh Hardware Keys" icon since 2.7.7, which we have to skip.
I also needed to add more explicit handling of the intermediate file dialog to
get the test to pass.
2024-11-06 01:59:56 +01:00
amesgen
852523aa47
nixos/keepassxc: work around OCR issues
Since https://github.com/NixOS/nixpkgs/pull/288208, the OCR got worse and can't
seem to be able to read the text from title bars 😭. Setting the background
color to white fixes the problem.

https://ice-wm.org/manual/icewm-11.html
https://ice-wm.org/man/icewm-prefoverride
2024-11-06 01:59:28 +01:00
Sandro
5634c21398
nixos/tests/prometheus-exporters: add exportarr-sonarr test (#285119) 2024-11-06 00:13:17 +01:00
nikstur
0c02b3076c
nixos/etc-overlay: clean up temporary directories (#339802) 2024-11-05 17:13:27 +01:00
Yorick
12eedc8e88
nixos/victoriametrics: harden systemd unit, add more options. (#350737) 2024-11-05 13:36:19 +01:00
Emily
ff7d68490a
nixos/activation-script: Make installBootLoader default a script (#353543) 2024-11-05 00:21:19 +00:00
Weijia Wang
acf3de8d62
nixos/guix: add declarative substituters option (#353518) 2024-11-04 20:43:41 +01:00
emilylange
9a4e945ceb
nixos/tests/forgejo: fix after git v2.47 bump
git v2.47.0 made changes to trace2's nesting.

trace2.eventNesting (GIT_TRACE2_EVENT_NESTING) defaults to 2, but the
nested region we are after gained a level and is now at level 3 instead
of 2.

eventNesting describes the maximum nesting level to be logged.
So to make it log the negotated-version in connect.c again, we increase
the default by one, from 2 to 3.
2024-11-04 17:34:54 +01:00
Simon Hauser
c4edf93988
Cleanup helsinki maintainer (#353611)
* maintainers: update email conni2461

* maintainers: add helsinki-jo

* tree-wide: cleanup maintainership of helsinki-systems
2024-11-04 12:59:26 +01:00
7c6f434c
2bd5a51a15
timidity: add enableVorbis option (#201828) 2024-11-04 10:24:39 +00:00
Will Fancher
f92ec1bc93 nixos/tests/switchTest: Add test for dbus reloading 2024-11-04 04:12:52 -05:00
Will Fancher
a7cda6835f nixos/tests/switchTest: Remove spurious dbus reload checks
Previously, the base system had grub in `systemPackages` but the
specialisations did not. This is because of a few factors:

- Grub was enabled in the nixos config
- Specialisations set `grub.device = "nodev"` (see: system/activation/no-clone.nix)
- Grub is added to `systemPackages` depending on whether `devices == ["nodev"]`

This meant that switching between the base system and a specialisation
always changed `system-path.drv`, which is a reload trigger for
dbus. With grub disabled in this test, this no longer happens.
2024-11-04 04:12:52 -05:00
Will Fancher
40b7674b98 nixos/tests/switchTest: Test no boot loader 2024-11-04 03:33:26 -05:00
Christian Kögler
563a48ffd8
nixos/tests/prometheus-exporters/varnish: make state directory explicit (#353418) 2024-11-04 07:10:21 +01:00
Aleksana
0a3743227d
varnish74: drop (#352492) 2024-11-04 10:15:01 +08:00