about summary refs log tree commit diff
path: root/nixos/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-06-07Merge pull request #125573 from Flakebi/prometheus-script-exporterLuke Granger-Brown1-0/+18
prometheus-script-exporter: init at 1.2.0
2021-06-06nixos/prometheus: add script exporterFlakebi1-0/+18
2021-06-06Merge pull request #125770 from Mewp/acme-fix-testsLuke Granger-Brown1-3/+0
nixos/acme: Remove an incorrect assertion from tests
2021-06-06Merge pull request #125683 from talyz/test-driver-pipefailRobert Hensing15-83/+83
nixos/test-driver: Run commands with pipefail set
2021-06-06nixos/prometheus: add process exporterFlakebi1-0/+19
2021-06-06rss2email test: fix name (#125863)Léo Gaspard1-1/+1
2021-06-05nixos/sourcehut: init (#113244)tomberek1-0/+29
* nixos/sourcehut: init * sourcehut: default nginx setup * sourcehut: documentation * sourcehut: re-structure settings * sourcehut: tests * nixos/sourcehut: adopt StateDirectory * Apply suggestions from code review Co-authored-by: Aaron Andersen <aaron@fosslib.net> Co-authored-by: Thibaut Marty <github@thibautmarty.fr> Co-authored-by: malte-v <34393802+malte-v@users.noreply.github.com> * nixos/sourcehut: PR suggestions * nixos/sourcehut: malte-v patch * nixos/sourcehut: add base virtualhost * nixos/sourcehut: remove superfluous key * nixos/sourcehut: use default from cfg * nixos/sourcehut: use originBase for logs * nixos/sourcehut: use toPythonApplication in systemPackages * nixos/sourcehut: directly use ExecStart * nixos/sourcehut: update docs Co-authored-by: Aaron Andersen <aaron@fosslib.net> Co-authored-by: Thibaut Marty <github@thibautmarty.fr> Co-authored-by: malte-v <34393802+malte-v@users.noreply.github.com>
2021-06-05Merge pull request #125699 from talyz/fix-mysql-aliasKim Lindberger6-8/+8
treewide: Fix mysql alias deprecation breakage
2021-06-05nixosTests.*: Don't use the `-q` flag with grep when used with curltalyz11-74/+74
The `-q` flag makes grep close the pipe early, which curl doesn't handle gracefully, but exits with an error like "(23) Failed writing body".
2021-06-05nixosTests.nginx*: nginxUnstable -> nginxMainlinetalyz2-3/+3
Stop using the old `nginxUnstable` alias, which is invalid in tests since 3edde6562e19698da69a499881e0a2e4f5a497a2.
2021-06-05nixos/test-driver: Run commands with error handlingtalyz2-6/+6
Bash's standard behavior of not propagating non-zero exit codes through a pipeline is unexpected and almost universally unwanted. Default to setting `pipefail` for the command being run; it can still be turned off by prefixing the pipeline with `set +o pipefail` if needed. Also, set `errexit` and `nonunset` options to make the first command of consecutive commands separated by `;` fail, and disallow dereferencing unset variables respectively.
2021-06-05nixos/acme: Remove an incorrect assertion from testsMewp1-3/+0
Commit 3a2e0c36e79cecaf196cbea23e75e74710140ea4 has removed `--reuse-key` from default renew options, yet the tests still expected keys not to change. This assertion is now removed, as they are supposed to change on each renew/change.
2021-06-05Merge pull request #97692 from ryneeverett/lockkernelmodules-lxdMaciej Krüger1-0/+4
2021-06-04treewide: Fix mysql alias deprecation breakagetalyz6-8/+8
62733b37b4a866cabafe1fc8bb7415240126eb0b broke evaluation in all places `pkgs.mysql` was used. Fix this by changing all occurrences to `pkgs.mariadb`.
2021-06-04unit: Add php80 and use it as defaultElis Hirwing1-28/+18
2021-06-04php: Drop PHP 7.3 supportElis Hirwing1-1/+0
PHP 7.3 won't be supported by upstream for the entire life cycle of the 21.11 release. Also drop the pcre' alias since it isn't needed anymore since we don't need different pcre versions anymore.
2021-06-03Merge pull request #125532 from petabyteboy/feature/snapcast-0-25Martin Weinelt1-2/+2
2021-06-03nixos/tests/snapcast: minor polish to make the tests more expressiveMartin Weinelt1-2/+2
2021-06-03make-test-python: disallow aliasesFrederik Rietdijk1-1/+1
When importing Nixpkgs within Nixpkgs, we should not consider aliases to ensure we don't rely on them internally. There are probably more places that need to be converted.
2021-06-02plausible: minor polishingMaximilian Bosch1-1/+1
2021-06-02plausible: init at 1.3.0Maximilian Bosch2-0/+47
2021-06-02Merge pull request #124589 from hercules-ci/containers-dnsnameRobert Hensing2-0/+43
nixos/podman-dnsname: init
2021-05-31Merge pull request #123426 from mattchrist/brscan5Maciej Krüger1-0/+42
2021-05-31nixos/podman-dnsname: initRobert Hensing2-0/+43
2021-05-30podman: Add iproute2, fixing docker network rmRobert Hensing1-0/+1
2021-05-30nixos/podman-network-socket-ghostunnel: initRobert Hensing2-0/+151
2021-05-30nixos/podman: Add dockerSocket.enableRobert Hensing1-2/+35
2021-05-28nixos/discourse: Assert deployed PostgreSQL versiontalyz1-0/+2
Assert that the PostgreSQL version being deployed is the one used upstream. Allow the user to override this assertion, since it's not always possible or preferable to use the recommended one.
2021-05-28Merge pull request #124494 from hercules-ci/dockerTools-omit-storeRobert Hensing1-0/+14
dockerTools: Allow omitting all store paths
2021-05-27nixos/tests/{sway,cage,cagebreak}: Fix the tests on aarch64-linuxMichael Weiss4-11/+9
Since the update to wlroots 0.13 (e03dde82a74) the default VGA card isn't supported anymore and we needed to switch to virtio (qxl didn't work either). However, as it turned out "-vga virtio" (28b8cff301f) broke the test on AArch64. Luckily there's a third option that works on all three supported platforms: virtio-gpu-pci According to [0] "This device lacks VGA compatibility mode but is otherwise identical to the virtio vga device. UEFI firmware can handle this, and if your guests has drivers too you can use this instead of virtio-vga. This will reduce the attack surface (no complex VGA emulation support) and reduce the memory footprint by 8 MB (no pci memory bar for VGA compatibility). This device can be placed in a PCI Express slot." So in the end this seems like the ideal choice :) See also [1]. [0]: https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/#virtio-gpu-pci [1]: https://patches.openembedded.org/patch/164351/
2021-05-27nixos/tests/{sway,cagebreak}: Disable on aarch64-linuxMichael Weiss1-2/+2
The tests timeout on AArch64 (e.g. [0] and [1]), likely because the QEMU option "-vga virtio" isn't supported there (unfortunately I currently lack access to an AArch64 system with NixOS to investigate). This also affects the test for Cage but that one is already limited to x86_64-linux. [0]: https://hydra.nixos.org/build/144148809 [1]: https://hydra.nixos.org/build/144103034
2021-05-26dockerTools: Allow omitting all store pathsRobert Hensing1-0/+14
Adds includeStorePaths, allowing the omission of the store paths. You generally want to leave it on, but tooling may disable this to insert the store paths more efficiently via other means, such as bind mounting the host store.
2021-05-23Merge pull request #123926 from pschyska/masterMichael Raskin1-7/+30
nixos/atop: Add defaultText to types.package options, Fix timing-related test failures.
2021-05-23fix brscan5 config generationMatt Christ1-5/+13
before this, the config utility was unable to locate the models folder update tests to use a compatible model
2021-05-23nixos/tests/botamusique: initMartin Weinelt2-0/+48
2021-05-22Merge pull request #104420 from danielfullmer/syncoid-perm-fixSandro1-15/+23
2021-05-22nixos/atop: Wait for conditionsPaul Schyska1-7/+30
I had intermittent test failures due to timing issues. This patch seems to have fixed them.
2021-05-21Merge pull request #123828 from Lassulus/solanum2Martin Weinelt2-0/+90
nixos/solanum: init
2021-05-21nixos/solanum: initlassulus2-0/+90
2021-05-21brscan5: init at 1.2.6-0Matt Christ1-0/+34
2021-05-21keycloak.tests: Test HTTPS supporttalyz1-1/+14
2021-05-21nixos/keycloak: keycloak.database* -> keycloak.database.*talyz1-3/+6
Move all database options to their own group / attribute. This makes the configuration clearer and brings it in line with most other modern modules.
2021-05-20Merge pull request #123744 from hercules-ci/init-ghostunnelJonas Chevalier2-0/+105
ghostunnel: init
2021-05-20nixos/ghostunnel: initRobert Hensing2-0/+105
2021-05-20Merge pull request #123598 from pschyska/masterChristoph Hrdinka1-0/+9
nixos/nsd: make nsd-checkconf work when configuration contains keys (#118140)
2021-05-19clickhouse: 20.11.4.13-stable -> 21.3.11.5-ltsMaximilian Bosch1-0/+1
Failing Hydra build: https://hydra.nixos.org/build/143269865 ZHF #122042
2021-05-19opensmtpd-filter-rspamd: init at 0.1.7 (#122823)Sebastian Neubauer2-0/+143
2021-05-19nixos/nsd: make nsd-checkconf work when configuration contains keysPaul Schyska1-0/+9
2021-05-19Merge pull request #123609 from berbiche/cagebreak-use-waylands-utils-in-testMichael Weiss1-2/+2
nixos/tests/cagebreak: use wayland-info instead of wallutils
2021-05-19Merge pull request #123254 from rnhmjoj/ipsecMichele Guerini Rocco2-0/+135
libreswan: 3.2 -> 4.4