2020-08-23 11:15:09 +02:00
|
|
|
import ../make-test-python.nix ({ pkgs, ...} : {
|
2017-12-02 04:06:16 +01:00
|
|
|
name = "test-hocker-fetchdocker";
|
|
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
|
|
maintainers = [ ixmatus ];
|
2020-08-23 11:15:41 +02:00
|
|
|
broken = true; # tries to download from registry-1.docker.io - how did this ever work?
|
2017-12-02 04:06:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
machine = import ./machine.nix;
|
|
|
|
|
|
|
|
testScript = ''
|
2020-08-23 11:15:09 +02:00
|
|
|
start_all()
|
2017-12-02 04:06:16 +01:00
|
|
|
|
2020-08-23 11:15:09 +02: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 04:06:16 +01:00
|
|
|
'';
|
|
|
|
})
|