0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-20 17:10:46 +03:00
Commit graph

10626 commits

Author SHA1 Message Date
Pol Dellaiera
2de4451f5d
nixosTests.mailcatcher: migrate to runTest (#394488) 2025-03-30 09:33:28 +02:00
Pol Dellaiera
9da5a97dab
nixosTests.traefik: migrate to runTestOn (#394433) 2025-03-30 09:32:54 +02:00
Pol Dellaiera
ac10315637
nixosTests.node-red: migrate to runTest (#394465) 2025-03-30 09:32:02 +02:00
Pol Dellaiera
1cd60ef65d
nixosTests.davis: migrate to runTest (#394468) 2025-03-30 09:31:07 +02:00
Piotr Kwiecinski
7a830b19d7
nixosTests.nginx-redirectcode: migrate to runTest 2025-03-30 03:31:10 +02:00
Piotr Kwiecinski
c0d90aca81
nixosTests.nginx-pubhtml: migrate to runTest
Part of #386873
2025-03-30 03:25:08 +02:00
Piotr Kwiecinski
cfb69d81fa
nixosTests.proxyprotocol: migrate to runTest
Part of #386873
2025-03-30 03:22:00 +02:00
Piotr Kwiecinski
28cd6cadd2
nixosTests.nifi: migrate to runTestOn
Part of #386873
2025-03-30 03:14:28 +02:00
Piotr Kwiecinski
1004fff704
nixosTests.mailcatcher: migrate to runTest
Part of #386873
2025-03-30 01:25:41 +01:00
Piotr Kwiecinski
48e6184ddf
nixosTests.dolibarr: migrate to runTest
Part of #386873
2025-03-30 01:05:50 +01:00
Piotr Kwiecinski
2789e7a7b3
nixosTests.davis: migrate to runTest
Part of #386873
2025-03-30 00:29:17 +01:00
Piotr Kwiecinski
04456442cc
nixosTests.node-red: migrate to runTest
Part of #386873
2025-03-30 00:22:55 +01:00
Gaétan Lepage
c9947f03d1
nixosTests.nginx{auth,etag,etag-compression,globalredirect,mime,modsecurity,moreheaders}: migrate to runTest (#394455) 2025-03-30 00:15:33 +01:00
a-kenji
0c50eb0012 nixos/tests/syncthing-many-devices: Fix name 2025-03-29 16:06:31 -07:00
Piotr Kwiecinski
1e0be03fb6
nixosTests.nginx-moreheaders: migrate to runTest
Part of #386873
2025-03-29 23:58:44 +01:00
Piotr Kwiecinski
9a3d7473c4
nixosTests.nginx-modsecurity: migrate to runTest
Part of #386873
2025-03-29 23:52:25 +01:00
Piotr Kwiecinski
af2b019d25
nixosTests.nginx-mime: migrate to runTest
Part of #386873
2025-03-29 23:51:25 +01:00
Piotr Kwiecinski
69df9598cb
nixosTests.nginx-globalredirect: migrate to runTest
Part of #386873
2025-03-29 23:50:31 +01:00
Piotr Kwiecinski
8638fa379f
nixosTests.nginx-etag-compression: migrate to runTest
Part of #386873
2025-03-29 23:49:32 +01:00
Piotr Kwiecinski
a186de0fa1
nixosTests.nginx-etag: migrate to runTest
Part of #386873
2025-03-29 23:48:17 +01:00
Piotr Kwiecinski
fa5141395f
nixosTests.nginx-auth: migrate to runTest
Part of #386873
2025-03-29 23:47:25 +01:00
Piotr Kwiecinski
389f2fb908
nixosTests.nginx: migrate to runTest
Part of #386873
2025-03-29 23:45:36 +01:00
Piotr Kwiecinski
5ae8e39ef7
nixosTests.wiki-js: migrate to runTest
Part of #386873
2025-03-29 23:10:35 +01:00
Piotr Kwiecinski
728e8e2b58
nixosTests.traefik: migrate to runTestOn
Part of #386873
2025-03-29 22:17:53 +01:00
Daniel Xu
f1c4d339a5 nixos/wordpress: Use https by default for caddy
Previously, `http://` scheme was hard coded into the caddy config if
`webserver = "caddy"` was chosen. This is fine for local testing, but is
problematic if you want your nixos host to be public facing.

In the public facing case, you generally want to be using TLS. But since
the wordpress module generates the caddyfile rule, the user's nixos
config cannot easily change it to also allow https.

An alternative would be to reverse proxy an https rule to the generated
http rule, but that's somewhat questionable as there's not an internal
http endpoint to proxy to. It might be possible but I couldn't figure
it out.

So simplify by omitting the scheme. This causes caddy to use https by
default and 301 redirect any http requests to the https endpoint. Caddy
will just do the right thing if it's being hosted on a local/internal
hostname (self sign certificates).

This should be backwards compatible with previous default if users are
using reasonable browsers/tools.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
2025-03-29 15:10:35 -06:00
Gaétan Lepage
01a1541c5b
nixosTests.icingaweb2: migrate to runTest (#394430) 2025-03-29 22:08:36 +01:00
Gaétan Lepage
74ac6644f4
nixosTests.monica: migrate to runTest (#394427) 2025-03-29 22:05:03 +01:00
Piotr Kwiecinski
e6dd7d6641
nixosTests.icingaweb2: migrate to runTest
Part of #386873
2025-03-29 21:58:45 +01:00
Pol Dellaiera
f76a822fae
nixosTests.wordpress: migrate to runTest (#394349) 2025-03-29 21:55:05 +01:00
Piotr Kwiecinski
e90d9be0a3
nixosTests.monica: migrate to runTest
Part of #386873
2025-03-29 21:47:47 +01:00
Piotr Kwiecinski
4f57c255ac
nixosTests.unit-php: migrate to runTest
Part of #386873
2025-03-29 17:29:12 +01:00
Piotr Kwiecinski
b7d2e507e0
nixosTests.wordpress: migrate to runTest
Part of #386873
2025-03-29 16:14:24 +01:00
Jonas Heinrich
5164b0c65c
nixosTests.dokuwiki: migrate to runTest (#394001) 2025-03-29 09:47:19 +01:00
Ryan Hendrickson
800863744b
nixos/geoclue2: add options for static source (#392257) 2025-03-28 21:10:22 -04:00
Raito Bezarius
0d079338b2
nixos/tests/installer: introduce lix-simple variant
An installer tests exacerbates the distribution packaging but in the
case of NixOS: the Nix package manager implementation.

As part of our classical release management process, the Lix team tests
whether a NixOS system installs just fine with Lix or not.

To avoid bloating the CI needlessly and keeping it simple, we only
introduce it on the simple variant and give a general way to pipe a Nix
implementation inside of an installer test.

Change-Id: I781da14475867dc2d946b740bad10af5de79ec5a
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2025-03-28 15:46:08 -07:00
Izel Nakri
a27582f5fe nixosTests/bitbox-bridge: init
only run these tests on linux
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-29 00:49:47 +05:30
isabel
c673e7ade9 nixosTests.wakapi: migrate to runTest 2025-03-29 00:47:44 +05:30
Aleksana
fae9d587a8
various: remove davidtwco as package maintainer (#392726) 2025-03-28 22:47:38 +08:00
Piotr Kwiecinski
71d746b1fd
nixosTests.emacs-daemon: migrate to runTest
Part of NixOS#386873
2025-03-28 14:40:52 +01:00
e1mo
924b4f9c64
nixosTests.dokuwiki: migrate to runTest
Part of #386873
2025-03-28 14:11:44 +01:00
โทสฺตัล
54710e9cc1 nixos/h2o: disable OCSP stapling in tests
The ACME certs are faked for testing & no need to contact a certificate
authority.
2025-03-27 22:37:05 +07:00
Weijia Wang
31d08304ea
nixos/h2o: wait for open ports in tests, use runTest (#391834) 2025-03-27 12:31:49 +01:00
Sarah Brofeldt
7d4bcd6068
apacheKafka: init at 4.0.0 (#392450) 2025-03-27 07:13:41 +01:00
Aleksana
b4ded625bd
nixos/environment: make {sessionV,v}ariables items nullable (#354186) 2025-03-27 10:10:31 +08:00
Neyts Zupan
6aaeae81ae Take systemd configuration from upstream package instead of definiting
them in the nixos module.
2025-03-26 18:23:59 +00:00
Maximilian Bosch
0806a36357
Merge: nixos/nextcloud: fix eval of tests (#393063) 2025-03-26 17:06:12 +01:00
Maximilian Bosch
ad175bca29
nixos/nextcloud: fix eval of tests
Currently failing with

    error: cannot coerce a set to a string: { __functionArgs = «thunk»; __functor = «thunk»; }

This comes from the `extraTests` option I added to the test modules to
compose certain tests a little nicer. It's of type

    either (functionTo ...) str

and it seems like the `functionTo` part now returns a functor (i.e. an
attr-set that can be invoked as function). This is caught by
`lib.isFunction`, but `builtins.isFunction` returns `false`.

Hence, switching to the former fixes this.
2025-03-26 16:49:54 +01:00
Jonas Heinrich
5325034183
froide-govplan: init at 0-unstable-2025-01-27 (#349750) 2025-03-26 14:27:02 +01:00
MakiseKurisu
f6128c6050
nixos/tests/incus: add AppArmor test 2025-03-26 21:01:23 +08:00
MakiseKurisu
f4fd5a51b5
nixos/tests/incus: fix zfs test configuration 2025-03-26 21:01:15 +08:00