2020-08-23 10:15:09 +01:00
|
|
|
import ../make-test-python.nix ({ pkgs, ...} : {
|
2017-12-02 03:06:16 +00:00
|
|
|
name = "test-hocker-fetchdocker";
|
|
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
|
|
maintainers = [ ixmatus ];
|
2020-08-23 10:15:41 +01:00
|
|
|
broken = true; # tries to download from registry-1.docker.io - how did this ever work?
|
2017-12-02 03:06:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
machine = import ./machine.nix;
|
|
|
|
|
|
|
|
testScript = ''
|
2020-08-23 10:15:09 +01:00
|
|
|
start_all()
|
2017-12-02 03:06:16 +00:00
|
|
|
|
2020-08-23 10:15:09 +01:00
|
|
|
machine.wait_for_unit("sockets.target")
|
|
|
|
machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
|
2017-12-02 03:06:16 +00:00
|
|
|
'';
|
|
|
|
})
|