about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2024-04-08 09:24:18 +0200
committerGitHub <noreply@github.com>2024-04-08 09:24:18 +0200
commitc740c98fc17401d49fbd9bae474d0919f212ea0a (patch)
treee61d5c61c54db2aee3fb3fb076401422d0b7a29b /nixos/tests
parent00f9ac91e9420fbddd2c0a8c51be2a216c47cfd8 (diff)
parentf4871a62d2dcf5e580dcd565a10ebb1ff14b3c9b (diff)
Merge pull request #292760 from PigeonF/dockertools-build-layered-compressor
dockerTools: Fix changing compression method for `buildLayeredImage`
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/docker-tools.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix
index 7d91076600f97..c8a227eb2cf7b 100644
--- a/nixos/tests/docker-tools.nix
+++ b/nixos/tests/docker-tools.nix
@@ -178,6 +178,14 @@ in {
             "docker load --input='${examples.bashUncompressed}'",
             "docker rmi ${examples.bashUncompressed.imageName}",
         )
+        docker.succeed(
+            "docker load --input='${examples.bashLayeredUncompressed}'",
+            "docker rmi ${examples.bashLayeredUncompressed.imageName}",
+        )
+        docker.succeed(
+            "docker load --input='${examples.bashLayeredZstdCompressed}'",
+            "docker rmi ${examples.bashLayeredZstdCompressed.imageName}",
+        )
 
     with subtest(
         "Check if the nix store is correctly initialized by listing "