mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
Merge pull request #96076 from flokli/port-test-hocker-fetchdocker
nixosTests.hocker-fetchdocker
This commit is contained in:
commit
45dd255d61
@ -1,15 +1,16 @@
|
|||||||
import ../make-test.nix ({ pkgs, ...} : {
|
import ../make-test-python.nix ({ pkgs, ...} : {
|
||||||
name = "test-hocker-fetchdocker";
|
name = "test-hocker-fetchdocker";
|
||||||
meta = with pkgs.stdenv.lib.maintainers; {
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
maintainers = [ ixmatus ];
|
maintainers = [ ixmatus ];
|
||||||
|
broken = true; # tries to download from registry-1.docker.io - how did this ever work?
|
||||||
};
|
};
|
||||||
|
|
||||||
machine = import ./machine.nix;
|
machine = import ./machine.nix;
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
start_all()
|
||||||
|
|
||||||
$machine->waitForUnit("sockets.target");
|
machine.wait_for_unit("sockets.target")
|
||||||
$machine->waitUntilSucceeds("docker run registry-1.docker.io/v2/library/hello-world:latest");
|
machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user