linuxkit/test/cases/000_build/060_input_tar/000_build
Avi Deitcher 14c29db5c2
Containerd v2.0.3 (#4112)
* containerd to semver v2.0.3

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* containerd v2.0.3 plus commits to fix blkdiscard

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* update containerd-dev dependencies

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* updated pkg/init and pkg/containerd deps

Signed-off-by: Avi Deitcher <avi@deitcher.net>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-03-06 17:12:07 +02:00
..
README.md
test1.yml Containerd v2.0.3 (#4112) 2025-03-06 17:12:07 +02:00
test2.yml Containerd v2.0.3 (#4112) 2025-03-06 17:12:07 +02:00
test.sh restructure logging 2024-10-01 12:50:43 +03:00

testing --input-tar

This test works by building two tar files, and checking logs. This only works because we use verbose logs.

The two files - test1.yml and test2.yml are identical, except for some changed lines.

The test script - test.sh - builds an image from test1.yml, then uses its output as --input-tar for building from test2.yml. It then checks the output logs to make sure that expected sections are copied over, and unexpected ones are not.

Note: If you make any changes to either test file, mark here and in test.sh so we know what has changed.

Changes:

  • added one entry in init
  • changed the command in onboot[1]
  • removed services[1], which causes services[2] to become services[1], and thus should not be copied either, as order may matter.