lix/tests/nixos
DavHau 813c113b9e initialize test suite for git fetchers
solves #9388

This utilizes nixos vm tests to allow:
- writing tests for fetchTree and fetchGit involving actual networking.
- writing small independent test cases by automating local and remote repository setup per test case.

This adds:
  - a gitea module setting up a gitea server
  - a setup module that simplifies writing test cases by automating the repo setup.
  - a simple git http test case

Other improvements:
For all nixos tests, add capability of overriding the nix version to test against.
This should make it easier to prevent regressions. If a new test is added it can simply be ran against any older nix version without having to backport the test.
For example, for running the container tests against nix 2.12.0:
`nix build "$(nix eval --raw .#hydraJobs.tests.containers --impure --apply 't: (t.forNix "2.12.0").drvPath')^*" -L`
2024-01-11 14:44:00 +07:00
..
containers Re-enable systemd-nspawn test 2023-09-20 09:09:01 -07:00
fetch-git initialize test suite for git fetchers 2024-01-11 14:44:00 +07:00
authorization.nix Allow to sign path as unprivileged user 2023-06-27 18:31:31 +02:00
default.nix initialize test suite for git fetchers 2024-01-11 14:44:00 +07:00
github-flakes.nix Fix warnings when running checks 2023-12-18 10:20:52 -08:00
nix-copy-closure.nix Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
nix-copy.nix Fix warnings when running checks 2023-12-18 10:20:52 -08:00
nss-preload.nix Fix warnings when running checks 2023-12-18 10:20:52 -08:00
remote-builds-ssh-ng.nix Fix warnings when running checks 2023-12-18 10:20:52 -08:00
remote-builds.nix Fix warnings when running checks 2023-12-18 10:20:52 -08:00
setuid.nix Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
sourcehut-flakes.nix Fix warnings when running checks 2023-12-18 10:20:52 -08:00
tarball-flakes.nix Use "touch -h" 2023-09-19 17:21:07 +02:00