2020-09-25 04:45:31 +00:00
|
|
|
import ../make-test-python.nix ({ pkgs, ...} : {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "test-hocker-fetchdocker";
|
|
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
|
|
maintainers = [ ixmatus ];
|
2020-09-25 04:45:31 +00:00
|
|
|
broken = true; # tries to download from registry-1.docker.io - how did this ever work?
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
machine = import ./machine.nix;
|
|
|
|
|
|
|
|
testScript = ''
|
2020-09-25 04:45:31 +00:00
|
|
|
start_all()
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
machine.wait_for_unit("sockets.target")
|
|
|
|
machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
})
|