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