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";
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with pkgs.lib.maintainers; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nodes.machine = import ./machine.nix;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
})
|