kiwi-el8/test/unit/container
Marcus Schäfer 28982ccb02
Fixed handling of container archive compression
In kiwi we support handling of the container archive compression
via a runtime configuration setting of the following form, eg
in /etc/kiwi.yml

```yaml
container:
  # Specify compression for container images
  # Possible values are true, false, xz or none.
  - compress: true
```

However, this setting was only taken into account in the kiwi
bundler. Meaning if the user calls 'kiwi result bundle ...'
after the container image has been created the result bundler
will take the compression setting into account. From my perspective
this behavior is misleading and also prevents users from
creating compressed container archives without a subsequent
result bundler call. Therefore this commit moves the place to
handle the compression setting into the container classes.
The bundler code for containers will no longer operate on it
and just takes what it gets, which can be either compressed
or not. The default setting was "No compression" and this
was not changed. This Fixes #2217
2022-12-13 23:13:08 +01:00
..
setup Stop copying /dev files statically into the OCI container 2022-10-22 08:09:46 +02:00
__init__.py Re-structure unit tests folders 2019-10-21 14:00:05 +02:00
appx_test.py Fixed handling of container archive compression 2022-12-13 23:13:08 +01:00
init_test.py Refactor container factory classes 2020-12-15 20:19:10 +01:00
oci_test.py Fixed handling of container archive compression 2022-12-13 23:13:08 +01:00