nixosTests.docker-registry: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-02 14:57:40 +02:00
parent 852f3beab8
commit cc69d51afb
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 61 additions and 64 deletions

View file

@ -371,7 +371,7 @@ in
doas = runTest ./doas.nix;
docker = runTestOn [ "aarch64-linux" "x86_64-linux" ] ./docker.nix;
docker-rootless = runTestOn [ "aarch64-linux" "x86_64-linux" ] ./docker-rootless.nix;
docker-registry = handleTest ./docker-registry.nix { };
docker-registry = runTest ./docker-registry.nix;
docker-tools = handleTestOn [ "x86_64-linux" ] ./docker-tools.nix { };
docker-tools-nix-shell = runTest ./docker-tools-nix-shell.nix;
docker-tools-cross = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./docker-tools-cross.nix { };

View file

@ -1,8 +1,6 @@
# This test runs docker-registry and check if it works
import ./make-test-python.nix (
{ pkgs, ... }:
{
{ pkgs, ... }:
{
name = "docker-registry";
meta = with pkgs.lib.maintainers; {
maintainers = [
@ -70,5 +68,4 @@ import ./make-test-python.nix (
"ls -l /var/lib/docker-registry/docker/registry/v2/blobs/sha256/*/*/data"
)
'';
}
)
}