mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
nixosTests.docker-tools: Fix syntax
This may be unnecessary, but I'm not waiting for the tests again.
This commit is contained in:
parent
454d2307ae
commit
cf7b358d69
@ -420,18 +420,18 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
)
|
||||
|
||||
with subtest("Ensure correct architecture is present in manifests."):
|
||||
docker.succeed(
|
||||
"docker load --input='${examples.build-image-with-architecture}'",
|
||||
"docker inspect build-image-with-architecture "
|
||||
+ "| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'",
|
||||
"docker rmi build-image-with-architecture",
|
||||
)
|
||||
docker.succeed(
|
||||
"${examples.layered-image-with-architecture} | docker load",
|
||||
"docker inspect layered-image-with-architecture "
|
||||
+ "| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'",
|
||||
"docker rmi layered-image-with-architecture",
|
||||
)
|
||||
docker.succeed("""
|
||||
docker load --input='${examples.build-image-with-architecture}'
|
||||
docker inspect build-image-with-architecture \
|
||||
| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'
|
||||
docker rmi build-image-with-architecture
|
||||
""")
|
||||
docker.succeed("""
|
||||
${examples.layered-image-with-architecture} | docker load
|
||||
docker inspect layered-image-with-architecture \
|
||||
| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'
|
||||
docker rmi layered-image-with-architecture
|
||||
""")
|
||||
|
||||
with subtest("etc"):
|
||||
docker.succeed("${examples.etc} | docker load")
|
||||
|
Loading…
Reference in New Issue
Block a user