Commit graph

410372 commits

Author SHA1 Message Date
Robert Hensing
618f82406f nixos/tests/installer: Fix docbook dependency 2022-09-24 17:38:10 +01:00
Robert Hensing
52bfa318e8 nixos/testing: Support mypy through regular mechanisms
Rebase / forward port of 2c8bbf33fd
2022-09-24 17:38:10 +01:00
Robert Hensing
9303a3c73b nixos/tests/installed-tests: Fix maintainers 2022-09-24 17:38:10 +01:00
Robert Hensing
583a4f0275 nixos/tests/cri-o: Fix maintainers 2022-09-24 17:38:10 +01:00
Robert Hensing
e260018f9c nixos/tests: Add names 2022-09-24 17:38:09 +01:00
Robert Hensing
0af6e6b0e5 nixos/testing/meta.nix: Add options, some optional 2022-09-24 17:38:09 +01:00
Robert Hensing
f01fec4099 nixos/testing/network.nix: Fix specialisations onlyShorthand 2022-09-24 17:38:09 +01:00
Robert Hensing
e77913a680 nixos/all-tests.nix: Invoke tests based on make-test-python.nix 2022-09-24 17:38:09 +01:00
Robert Hensing
9886db059a nixos/testing: Embrace callTest
My conception of its input was wrong. It is quite a useful construct,
even if its name is a bit weird.
2022-09-24 17:38:09 +01:00
Robert Hensing
5297d584bc nixos/lib/eval-config: Document the use of baseModules 2022-09-24 17:38:09 +01:00
Robert Hensing
57ac9dd3ae nixos/lib/build-vms.nix: Remove
It has been replaced by the modular test framework in nixos/lib/testing.

If you are looking for a way to produce a VM-test-like configuration
outside of the test framework, use the nixos/lib/testing/nixos-test-base.nix
NixOS module, possibly in combination with { _module.args.nodes = .....; }.
2022-09-24 17:38:09 +01:00
Robert Hensing
24d1d74e4e nixos/testing: Extract nixos-test-base.nix NixOS module 2022-09-24 17:38:09 +01:00
Robert Hensing
38fb09e427 testing-python.nix: Replace makeTest implementation 2022-09-24 17:38:08 +01:00
Robert Hensing
537f456373 nixos/doc/running-nixos-tests: Simplify running instructions with nixosTests 2022-09-24 17:38:08 +01:00
Robert Hensing
6e2f753989 nixos/doc/running-nixos-tests-interactively: Describe interactive option 2022-09-24 17:38:08 +01:00
Robert Hensing
b0c781cc41 nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
Robert Hensing
5727fd3e6f nixosTests.agate: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing
15dcbc2514 nixosTests.aesmd: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing
edf8be37af nixosTests.adguardhome: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing
b7ffe44469 nixosTests.acme: Use module system based runner 2022-09-21 10:55:12 +01:00
Robert Hensing
9e4277b970 nixos/testing/network.nix: Fix for specialisations and specialArgs.name
Before this, it relied on being able to `imports` from the `name`
module argument, which wasn't really necessary and required a
potentially quite breaking change. We can revert that now.
2022-09-21 10:55:12 +01:00
Robert Hensing
0691b450b1 nixosTests._3proxy: Use module system based runner 2022-09-21 10:55:11 +01:00
Robert Hensing
a958a4aa00 nixos/testing: Add pkgs parameter
This parameter is for packages to use in VMs, unlike hostPkgs.
2022-09-21 10:55:11 +01:00
Robert Hensing
124b0c4abc nixos/testing/network.nix: Avoid deprecated .config 2022-09-21 10:55:11 +01:00
Robert Hensing
3c09cb2363 nixos/all-tests.nix: Improve runTest for release.nix
... and add runTestOn.
2022-09-21 10:55:11 +01:00
Robert Hensing
b3de22483c nixos/testing-python.nix: Add evalTest
This is a decomposition of the testing-python.nix and build-vms.nix
files into modules.

By refactoring the glue, we accomplish the following:

 - NixOS tests can now use `imports` and other module system features.
    - Network-wide test setup can now be reusable; example:
       - A setup with all VMs configured to use a DNS server
       - Split long, slow tests into multiple tests that import a
         common module that has most of the setup.
    - Type checking for the test arguments
    - (TBD) "generated" options reference docs
 - Aspects that had to be wired through all the glue are now in their
   own files.
    - Chief example: interactive.nix.
    - Also: network.nix

In rewriting this, I've generally stuck as close as possible to the
existing code; copying pieces of logic and rewiring them, without
changing the logic itself.

I've made two exceptions to this rule

 - Introduction of `extraDriverArgs` instead of hardcoded
   interactivity logic.

 - Incorporation of https://github.com/NixOS/nixpkgs/pull/144110
   in testScript.nix.

I might revert the latter and split it into a new commit.
2022-09-21 10:55:11 +01:00
Robert Hensing
1ffa30b055 lib/modules: Fix meta duplication in shorthand syntax 2022-09-21 10:55:11 +01:00
Robert Hensing
fce8b018f0 lib: Add lazyDerivation 2022-09-21 10:55:07 +01:00
Pavol Rusnak
0615155dab
Merge pull request #192100 from prusnak/elements-aarch64-darwin
elements: fix build on aarch64-darwin (apply changes from bitcoin)
2022-09-21 11:46:44 +02:00
Pavol Rusnak
cbcdc23b9d
elements: apply fixes from bitcoin package 2022-09-21 11:46:17 +02:00
Sandro
19aa0eb4de
Merge pull request #192083 from NixOS/wip/jtojnar/git2-threads 2022-09-21 11:35:25 +02:00
Sandro
a904ff1f66
Merge pull request #190885 from hexagonal-sun/sdrangel-update 2022-09-21 11:34:02 +02:00
Sandro
26ce434926
Merge pull request #192060 from wegank/prl-tools-update 2022-09-21 11:33:04 +02:00
Sandro
58c9141043
Merge pull request #192091 from r-ryantm/auto-update/docker-compose 2022-09-21 11:18:12 +02:00
Sandro
7dac364af1
Merge pull request #191874 from figsoda/cargo-ui 2022-09-21 11:12:50 +02:00
Fabian Affolter
ec726bb24c
Merge pull request #191737 from viraptor/servefile-fix-darwin
python310Packages.servefile: mark not broken on darwin
2022-09-21 11:09:34 +02:00
Fabian Affolter
289bfcc2d0
Merge pull request #191891 from firefly-cpp/overpy
python310Packages.overpy: init at 0.6
2022-09-21 11:07:43 +02:00
Vladimír Čunát
7c9d604e32
Merge #192202: thunderbird-91: 91.13.0 -> 91.13.1
https://www.thunderbird.net/en-US/thunderbird/91.13.1/releasenotes/
2022-09-21 10:44:39 +02:00
Fabian Affolter
c6475fc5db
Merge pull request #191950 from McSinyx/moderngl-context
python3Packages.moderngl: propagate build input glcontext
2022-09-21 10:43:51 +02:00
Jonas Heinrich
4e4387f55b
Merge pull request #192092 from r-ryantm/auto-update/ibus-libpinyin
ibus-engines.libpinyin: 1.13.0 -> 1.13.1
2022-09-21 10:08:59 +02:00
Jonas Heinrich
f5b7e8d8e9
Merge pull request #192098 from r-ryantm/auto-update/hitch
hitch: 1.7.2 -> 1.7.3
2022-09-21 10:02:02 +02:00
Jonas Heinrich
9b83d13c7e
Merge pull request #191894 from rhysmdnz/update-micropad
micropad: 3.30.6 -> 4.0.0
2022-09-21 09:58:58 +02:00
R. Ryantm
28830d30e6 thunderbird-91-unwrapped: 91.13.0 -> 91.13.1 2022-09-21 07:57:32 +00:00
Jonas Heinrich
5bcdb52d98
Merge pull request #192099 from WilliButz/update/wee-slack/v2.9.0
weechatScripts.wee-slack: 2.8.0 -> 2.9.0
2022-09-21 09:55:25 +02:00
Jonas Heinrich
e5a9c7fdb8
Merge pull request #192101 from wahjava/update-getmail6
getmail6: Fix FHS reference
2022-09-21 09:52:26 +02:00
Jonas Heinrich
ed1b801f8d
Merge pull request #192110 from rski/master
nixos/modules/sway: Remove unsupported flag in doc
2022-09-21 09:50:49 +02:00
Jonas Heinrich
5c00812848
Merge pull request #192112 from romildo/upd.kvantum
libsForQt5.qtstyleplugin-kvantum: 1.0.4 -> 1.0.5
2022-09-21 09:48:13 +02:00
Fabian Affolter
58971caf41
Merge pull request #191908 from r-ryantm/auto-update/python3.10-cftime
python310Packages.cftime: 1.6.1 -> 1.6.2
2022-09-21 09:47:00 +02:00
Fabian Affolter
98d31c3eb9
Merge pull request #191758 from fabaff/crackql
crackql: init at unstable-20220821
2022-09-21 09:44:57 +02:00
Jonas Heinrich
42534da20f
Merge pull request #192114 from techknowlogick/caddy-260
caddy: 2.5.2 -> 2.6.0
2022-09-21 09:43:52 +02:00