kiwi-el8/test/unit
David Cassany 8f1048f840
Refactor OCI images packing
This commit refactors the OCI images support:

  * added import_container_image and export_container_image methods
    to oci_tools classes. 'umoci' and 'buildah' consume different
    formats thus the inital skopeo call to import a container is tool
    dependent.

  * use oci-archive transport for packing the OCI images, this causes
    docker and oci operations to just diverge on transport type.

  * add_tag method no longer needed in oci_tools/base, skopeo is used
    for that matter.

  * container/docker.py class is no longer needed. The difference
    between docker and OCI images is just on packing format which is just
    a parameter in skopeo. It does not deserve a dedicated class

  * system/root_import/docker.py class no longer needed. The difference
    between OCI and Docker class was just the transport type for the
    skopeo call. It does not deserve a dedicated class
2019-03-11 13:54:42 +01:00
..
__init__.py KIWI - appliance builder next generation 2015-12-05 16:17:10 +01:00
.coveragerc Fixed coverage report setup 2018-02-04 18:46:09 +01:00
archive_cpio_test.py Cleanup code to make flake8 happy 2018-10-25 15:52:17 +02:00
archive_tar_test.py Sort filesystem listings 2019-02-11 10:41:55 +01:00
boot_image_base_test.py Update boot description search path 2018-02-13 12:27:15 +01:00
boot_image_builtin_kiwi_test.py Cleanup code to make flake8 happy 2018-10-25 15:52:17 +02:00
boot_image_dracut_test.py Distinguish install and image dracut config 2018-10-30 14:53:42 +01:00
boot_image_test.py Fixed custom_args argument assignment in BootImage 2018-07-13 15:47:21 +02:00
bootloader_config_base_test.py Fix location of grub unicode font 2019-02-13 18:34:40 +01:00
bootloader_config_grub2_test.py Fix location of grub unicode font 2019-02-13 18:34:40 +01:00
bootloader_config_isolinux_test.py Allow to switch off install image boot timeout 2019-01-17 10:09:40 +01:00
bootloader_config_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
bootloader_config_zipl_test.py Update failsafe kernel option list 2017-12-05 14:52:56 +01:00
bootloader_install_base_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
bootloader_install_grub2_test.py Support alternative EFI and grub modules paths 2019-01-28 16:27:48 +01:00
bootloader_install_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
bootloader_install_zipl_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
bootloader_template_grub2_test.py Adding mediacheck menu entry for liveCDs 2017-07-27 15:43:21 +02:00
bootloader_template_isolinux_test.py Adding mediacheck menu entry for liveCDs 2017-07-27 15:43:21 +02:00
bootloader_template_zipl_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
builder_archive_test.py Export *.verified also for images based on apt-get 2017-08-02 17:30:35 +02:00
builder_container_test.py Added support for system wide config file 2018-08-08 18:13:00 +02:00
builder_disk_test.py Added support for system wide config file 2018-08-08 18:13:00 +02:00
builder_filesystem_test.py Fix rsync call for filesystem images 2018-11-09 08:48:13 +01:00
builder_install_test.py Distinguish install and image dracut config 2018-10-30 14:53:42 +01:00
builder_live_test.py Make sure profile env is included in live images 2018-06-04 11:18:13 +02:00
builder_pxe_test.py Cleanup code to make flake8 happy 2018-10-25 15:52:17 +02:00
builder_test.py Implement custom argument handling for xz_options 2017-06-20 09:24:56 +02:00
cli_test.py Add '--add-container-label' flag 2018-07-06 14:11:00 +02:00
command_process_test.py Add API for package manager returncode validation 2019-02-06 17:13:56 +01:00
command_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
container_image_oci_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
container_image_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
container_setup_base_test.py Make sure toplevel target dir keeps permissions 2017-12-04 17:17:35 +01:00
container_setup_docker_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
container_setup_oci_test.py Add support for OCI images 2017-04-19 16:44:33 +02:00
container_setup_test.py Add support for OCI images 2017-04-19 16:44:33 +02:00
defaults_test.py Support alternative EFI and grub modules paths 2019-01-28 16:27:48 +01:00
filesystem_base_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_btrfs_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_clicfs_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_ext2_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_ext3_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_ext4_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_fat16_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_fat32_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_isofs_test.py Cleanup hybrid call and use of iso tool options 2018-03-22 17:25:53 +01:00
filesystem_setup_test.py Some improvements on size calculation 2018-04-23 15:45:38 +02:00
filesystem_squashfs_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
filesystem_xfs_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
firmware_test.py Add efiparttable type attribute 2018-03-22 18:36:53 +01:00
help_test.py Fixup unit test for help command 2017-07-06 10:34:35 +02:00
iso_tools_base_test.py Cleanup hybrid call and use of iso tool options 2018-03-22 17:25:53 +01:00
iso_tools_cdrtools_test.py Fixed iso tools unit test 2019-02-28 11:11:58 +01:00
iso_tools_iso_test.py Complete test coverage on iso tools testing 2019-03-06 17:44:45 +01:00
iso_tools_test.py Allow to configure iso tool category 2018-03-22 11:18:54 +01:00
iso_tools_xorriso_test.py Added unit test for syslinux lookup paths 2018-11-15 09:40:46 +01:00
kiwi_compat_test.py More comfort in calling with compat arguments 2017-07-14 16:18:53 +02:00
logger_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
mount_manager_test.py Make use of the quiet flag of mountpoint command 2018-10-05 11:08:02 +02:00
oci_tools_base_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
oci_tools_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
oci_tools_umoci_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
package_manager_apt_test.py Handle location of the rpm DB on the macro level 2019-02-06 11:55:42 +01:00
package_manager_base_test.py Add API for package manager returncode validation 2019-02-06 17:13:56 +01:00
package_manager_dnf_test.py Handle location of the rpm DB on the macro level 2019-02-06 11:55:42 +01:00
package_manager_test.py Rework package manager selection to use DNF when YUM is requested 2019-02-28 15:09:21 -05:00
package_manager_zypper_test.py Fix handling of zypper return codes 2019-02-13 17:08:19 +01:00
partitioner_base_test.py Resize partition table after image resize 2018-03-06 11:24:25 +01:00
partitioner_dasd_test.py Rearrange variable start_sector attribute to be a Partitioner attribute 2018-03-14 14:38:22 +01:00
partitioner_gpt_test.py Rearrange variable start_sector attribute to be a Partitioner attribute 2018-03-14 14:38:22 +01:00
partitioner_msdos_test.py Rearrange variable start_sector attribute to be a Partitioner attribute 2018-03-14 14:38:22 +01:00
partitioner_test.py Add warning message for dasd 2018-03-14 16:34:39 +01:00
path_test.py Add restrictions to Path.remove_hierarchy 2018-02-12 15:56:49 +01:00
privileges_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
repository_apt_test.py Handle location of the rpm DB on the macro level 2019-02-06 11:55:42 +01:00
repository_base_test.py Handle location of the rpm DB on the macro level 2019-02-06 11:55:42 +01:00
repository_dnf_test.py Update generated configuration file for DNF 2019-03-07 20:55:20 -05:00
repository_template_apt_test.py Handle rpm-check-signatures flag for each package manager 2017-05-15 19:38:53 +02:00
repository_test.py Rework package manager selection to use DNF when YUM is requested 2019-02-28 15:09:21 -05:00
repository_zypper_test.py Follow up fix for zypper compat link 2019-03-06 16:25:01 +01:00
runtime_checker_test.py Check for multiple allsize volumes setup 2019-03-07 11:28:30 +01:00
runtime_config_test.py Changed default value for bundler compression 2019-01-31 10:28:53 +01:00
shell_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
solver_repository_base_test.py Add support for repository credentials 2017-03-02 15:35:53 +01:00
solver_repository_rpm_dir_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
solver_repository_rpm_md_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
solver_repository_suse_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
solver_repository_test.py Add support for repository credentials 2017-03-02 15:35:53 +01:00
solver_sat_test.py Apply code quality checks for unit tests too 2017-03-07 15:50:40 +01:00
storage_device_provider_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
storage_disk_test.py Rearrange variable start_sector attribute to be a Partitioner attribute 2018-03-14 14:38:22 +01:00
storage_loop_device_test.py Fixed losetup call due to move in option names 2019-02-21 15:49:11 +01:00
storage_luks_device_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
storage_mapped_device_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
storage_raid_device_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
storage_setup_test.py Fix disk size calculation for VMX 2018-12-18 14:56:54 +01:00
storage_subformat_base_test.py Change bundling of image formats 2018-11-06 12:16:36 +01:00
storage_subformat_gce_test.py Change bundling of image formats 2018-11-06 12:16:36 +01:00
storage_subformat_ova_test.py Fixup creation of vmware settings file 2018-04-10 19:50:59 +02:00
storage_subformat_qcow2_test.py Added handling of formatoptions attribute 2017-08-11 15:46:40 +02:00
storage_subformat_template_vagrant_config_test.py Refactor vagrant storage subformat 2019-02-21 15:48:05 +01:00
storage_subformat_template_virtualbox_ovf_test.py Add support to build vagrant boxes with the Virtualbox provider 2019-03-05 15:33:18 +01:00
storage_subformat_template_vmware_settings_test.py Fixup creation of vmware settings file 2018-04-10 19:50:59 +02:00
storage_subformat_test.py Add support to build vagrant boxes with the Virtualbox provider 2019-03-05 15:33:18 +01:00
storage_subformat_vagrant_base_test.py Update vagrant libvirt unit test 2019-02-22 16:01:16 +01:00
storage_subformat_vagrant_libvirt_test.py Update vagrant libvirt unit test 2019-02-22 16:01:16 +01:00
storage_subformat_vagrant_virtualbox_test.py Add support to build vagrant boxes with the Virtualbox provider 2019-03-05 15:33:18 +01:00
storage_subformat_vdi_test.py Added handling of formatoptions attribute 2017-08-11 15:46:40 +02:00
storage_subformat_vhd_test.py Added handling of formatoptions attribute 2017-08-11 15:46:40 +02:00
storage_subformat_vhdfixed_test.py Use /dev/zero to really write a zero byte 2018-04-26 10:52:17 +02:00
storage_subformat_vhdx_test.py Added disk format="vhdx" support 2017-09-12 15:30:49 +02:00
storage_subformat_vmdk_test.py Change bundling of image formats 2018-11-06 12:16:36 +01:00
system_identifier_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
system_kernel_test.py Don't trust the vmlinux symlink to be present 2018-12-10 12:34:53 +01:00
system_prepare_test.py Added new preferences subsection 2019-02-08 16:56:56 +01:00
system_profile_test.py Cleanup example_dot_profile_config.xml 2019-03-07 14:02:55 +01:00
system_result_test.py Post build constraint validation refactored 2017-11-21 10:20:34 +01:00
system_root_bind_test.py Warn on Modifications to intermediate config files 2018-10-26 15:17:59 +02:00
system_root_import_base_test.py Added support for system wide config file 2018-08-08 18:13:00 +02:00
system_root_import_oci_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
system_root_import_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
system_root_init_test.py Do not create static dev nodes in root init 2018-05-28 10:27:49 +02:00
system_setup_test.py Extend the .packages file by the license field 2019-02-08 15:58:29 +01:00
system_size_test.py Fix space calculation for lvm volumes 2017-08-09 22:36:34 +02:00
system_uri_test.py Refactor OCI images packing 2019-03-11 13:54:42 +01:00
tasks_base_test.py Make sure CliTask instance reads the config file 2017-06-19 18:00:56 +02:00
tasks_image_info_test.py Allow use of more fine grain ignore repos options 2017-07-14 11:55:32 +02:00
tasks_image_resize_test.py Resize partition table after image resize 2018-03-06 11:24:25 +01:00
tasks_result_bundle_test.py Write sha256sum --check compatible shasum format 2019-02-27 17:33:53 +01:00
tasks_result_list_test.py Convert user input to absolute paths 2017-03-24 17:24:13 +01:00
tasks_system_build_test.py Check for multiple allsize volumes setup 2019-03-07 11:28:30 +01:00
tasks_system_create_test.py Activate reading of runtime config in tasks 2017-06-19 09:45:00 +02:00
tasks_system_prepare_test.py Check for multiple allsize volumes setup 2019-03-07 11:28:30 +01:00
tasks_system_update_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
test_helper.py Improve coding style to make flake8 happy 2017-10-23 14:39:36 +02:00
users_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
utils_block_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
utils_checksum_test.py Fixed checksum file creation 2017-03-21 17:41:31 +01:00
utils_codec_test.py Add Codec utils for bytes literals decoding 2018-10-08 15:48:51 +02:00
utils_command_capabilities_test.py Extend has_option_in_help to also check error data 2018-03-02 10:04:13 +01:00
utils_compress_test.py Return file name after archive or compression call 2018-05-15 10:36:57 +02:00
utils_output_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
utils_rpm_database_test.py Care for update alternatives on rpmdb move 2019-03-06 12:09:15 +01:00
utils_rpm_test.py Handle location of the rpm DB on the macro level 2019-02-06 11:55:42 +01:00
utils_size_test.py Add test for the utils class StringToSize 2018-04-24 15:33:18 +02:00
utils_sync_test.py Fixed use of stat result in os.chmod 2017-12-06 15:59:14 +01:00
utils_sysconfig_test.py Fix use of SysConfig objects 2019-01-07 10:48:09 +01:00
volume_manager_base_test.py Fix space calculation for lvm volumes 2017-08-09 22:36:34 +02:00
volume_manager_btrfs_test.py Create parent qgroup when snapper is present 2018-09-26 16:42:13 +02:00
volume_manager_lvm_test.py Fixes LVM based image creation in OBS 2018-10-02 06:11:49 -04:00
volume_manager_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
xml_description_test.py Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
xml_state_test.py Add support to build vagrant boxes with the Virtualbox provider 2019-03-05 15:33:18 +01:00