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";
|
2021-01-10 19:08:30 +00:00
|
|
|
meta = with pkgs.lib.maintainers; {
|
2017-12-02 03:06:16 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2022-03-20 23:15:30 +00:00
|
|
|
nodes.machine = import ./machine.nix;
|
2017-12-02 03:06:16 +00:00
|
|
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
})
|