Commit graph

37 commits

Author SHA1 Message Date
Sizhe Zhao
f34483be5e
nixosTests: handleTest -> runTest, batch 1
Reference: https://github.com/NixOS/nixpkgs/issues/386873
2025-05-26 20:40:17 +08:00
Piotr Kwiecinski
efee1fc5cc
nixosTests.static-web-server: migrate to runTest
Part of #386873
2025-04-16 14:36:52 +02:00
โทสฺตัล
7554581474 nixos/h2o: enable HTTP/3 via QUIC 2025-04-02 15:11:53 +07:00
โทสฺตัล
454411d33e nixos/h2o: reduce variable name noise 2025-04-02 15:11:52 +07:00
Florian Klink
d85d1f3b4e
nixos/h2o: disable OCSP stapling in tests (#393760) 2025-04-02 09:07:05 +01:00
Piotr Kwiecinski
4f57c255ac
nixosTests.unit-php: migrate to runTest
Part of #386873
2025-03-29 17:29:12 +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
โทสฺตัล
1905cd89f8 nixos/h2o: move to runTest 2025-03-22 00:10:19 +07:00
โทสฺตัล
b828ba3247 nixos/h2o: wait for open ports in tests
Hydra can sometimes timeout here. It’s a better practice anyhow.
2025-03-21 22:25:36 +07:00
โทสฺตัล
b3f93d7292 nixos/h2o: TLS recommendations
From Mozilla’s ssl-config-generator project
2025-02-26 12:26:12 +07:00
โทสฺตัล
d62e8c41bf nixos/h2o: remove unneeded print statement 2025-02-24 15:06:33 +07:00
โทสฺตัล
2c1a09f1fe nixos/h2o: init module
Co-Authored-By: adisbladis <adis@blad.is>
2025-02-18 17:06:15 +07:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Stig Palmquist
67ecdcbb97
unit: add nixos tests for perl 2024-09-08 19:51:21 +02:00
gaykitty
be1336d8b8 nixos/stargazer: harden systemd service 2024-08-17 18:32:48 -04:00
gaykitty
77430d388d nixos/stargazer: add allowCgiUser to make cgi-user option work
Previously the cgi-user option in stargazer was broken in this module
because stargazer didn't have CAP_SETUID and CAP_SETGID. cgi-user tells
stargazer to run cgi processes as a different user. I added an option
allowCgiUser that give stargazer these capabilities when enabled. I made
this an option because access to those syscalls greatly increases the
damage a RCE bug in stargazer could do. So they should only be enabled
if needed.
2024-08-17 18:32:48 -04:00
gaykitty
43b1df204b stargazer: 1.1.0 -> 1.2.1 2024-05-25 10:38:39 -04:00
Peder Bergebakken Sundt
a8880f1647 nixos/ttyd: add entrypoint option 2024-02-05 17:38:00 +01:00
Peder Bergebakken Sundt
4c70703931 nixos/ttyd: add writable option
Co-authored-by: Carsten Rodin <19612711+carstoid@users.noreply.github.com>
2024-01-31 17:57:42 +01:00
Nick Cao
9969fb7ff4
Merge pull request #281904 from Stunkymonkey/ttyd-fix-leakage
ttyd: add test & use systemd LoadCredential
2024-01-21 14:48:40 -05:00
Felix Buehler
c34493d7c0 ttyd: add test & use systemd LoadCredential 2024-01-20 21:01:51 +01:00
gaykitty
40eccbfa87 stargazer: Implement full upstream test suite in nixosTests.stargazer 2024-01-19 17:14:06 -05:00
gaykitty
88273849a6 nixosTests.stargazer: switch to using gemget 2023-11-24 19:44:35 -05:00
Nikolay Korotkiy
6f46c37d92
nixosTests.agate: switch to using gemget 2023-08-16 01:26:54 +04:00
Mac Chaffee
61cb4170fd
nixos/static-web-server: create module which uses upstream systemd units
This commit creates a nixos module for static-web-server.
The module uses upstream systemd units to start static-web-server.
It also includes options for configuring static-web-server.
2023-07-01 12:51:13 -04:00
gaykitty
d4f3dd4f71 nixos/stargazer: fix route ordering 2023-04-30 13:05:34 -03:00
gaykitty
c251c021fe nixos/stargazer: init 2023-04-24 21:52:19 -03:00
Robert Hensing
5727fd3e6f nixosTests.agate: Use module based runner 2022-09-21 10:55:12 +01:00
Izorkin
2d7c97f439
unit: add php 8.1 2022-07-15 22:46:26 +03:00
Robert Hensing
aa0f27abb0 treewide: machine -> nodes.machine 2022-03-28 14:11:58 +02:00
06kellyjac
354b240782 nixos/agate: add nixos test 2022-02-07 16:03:58 +00:00
Elis Hirwing
c76bebc549
unit: Add php80 and use it as default 2021-06-04 09:27:07 +02:00
Izorkin
506646e48b
nixos/tests/unit-php: require one of users.users.name.{isSystemUser,isNormalUser} 2021-05-09 07:42:02 +03:00
Dominik Xaver Hörl
25bef2d8f9 treewide: simplify pkgs.stdenv.lib -> pkgs.lib
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 20:12:06 +01:00
Scott Worley
6e46a88dfb nixos/tests/unit-php: Use curl --fail 2020-10-25 11:01:31 +01:00
Elis Hirwing
a4bf2cc166
unit: Expose PHP expressions used so it can easily be accessed for configs 2020-05-30 18:52:41 +02:00
Izorkin
ca2145bdfc nixos/tests: add unit-php test 2020-05-06 13:21:59 +03:00