mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
aa55b14beb
This test tries to download from the official docker registry. I don't know how this could ever work, but let's mark it as broken for now.
16 lines
478 B
Nix
16 lines
478 B
Nix
import ../make-test-python.nix ({ pkgs, ...} : {
|
|
name = "test-hocker-fetchdocker";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ ixmatus ];
|
|
broken = true; # tries to download from registry-1.docker.io - how did this ever work?
|
|
};
|
|
|
|
machine = import ./machine.nix;
|
|
|
|
testScript = ''
|
|
start_all()
|
|
|
|
machine.wait_for_unit("sockets.target")
|
|
machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
|
|
'';
|
|
})
|