tumbi-assembler/tests
Lubomír Sedlář 3ed09991c1 Resolve container tags to digests
When the compose is configured to include any container image, it just
followed the provided URL. This is not particularly reproducible. If the
image spec contains a tag, it may point to different images at different
time.

This commit adds a step to validating the configuration that will query
the registry and replace the tag with a digest.

This makes it more reproducible, and also fixes a problem where changing
container image would not stop ISO reuse. There's still a chance of
non-container file changing and not forcing the reuse, but that is not
very common.

JIRA: RHELCMP-14381
JIRA: RHELCMP-14465
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2025-03-31 15:00:40 +02:00
..
data Fix test data generation script 2025-02-27 14:30:19 +01:00
fixtures Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
Dockerfile-test Install dnf4 into test image 2024-11-07 13:25:44 +01:00
helpers.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
Jenkinsfile Remove pungi/gather.py and associated code 2024-11-19 14:23:15 +01:00
test_arch.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_arguments.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_buildinstall.py buildinstall: Add support for rootfs-type lorax option 2025-01-28 13:32:45 +01:00
test_checks.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_compose.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Drop unittest2 2024-11-22 13:54:46 +01:00
test_config.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_config_utils.py Drop unittest2 2024-11-22 13:54:46 +01:00
test_config_validate_script.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_createiso_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_createiso_script.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_createrepo_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_createrepophase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_extra_files_phase.py Download extra files from container registry 2025-01-10 16:34:34 +01:00
test_extra_isos_phase.py extra_isos: Mention all extra files in the manifest 2025-02-24 15:05:37 +01:00
test_fus_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_gather.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_gather_method_deps.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_gather_method_hybrid.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_gather_method_nodeps.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_gather_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_gather_source_module.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_graph.py Drop unittest2 2024-11-22 13:54:46 +01:00
test_image_container_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_imagebuildphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_imagechecksumphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_initphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_iso_wrapper.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_kiwibuildphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_koji_wrapper.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_linker.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_livemediaphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_lorax_wrapper.py buildinstall: Add support for rootfs-type lorax option 2025-01-28 13:32:45 +01:00
test_media_split.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_metadata.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_module_util.py Drop unittest2 2024-11-22 13:54:46 +01:00
test_notifier.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_osbs_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_osbuild_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_ostree_installer_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_ostree_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_ostree_script.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_ostree_utils.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_patch_iso.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_phase_base.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_pkgset_common.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_pkgset_phase.py Move test for unsigned packages with pkgset_koji_scratch_tasks to PkgsetPhase class. 2020-06-11 12:05:47 +00:00
test_pkgset_pkgsets.py Add basic telemetry support 2025-03-17 10:58:40 +01:00
test_pkgset_source_koji.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_repoclosure_phase.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_repoclosure_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_runroot.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_scm.py Download extra files from container registry 2025-01-10 16:34:34 +01:00
test_test_phase.py Make black happy 2025-02-13 13:22:24 +01:00
test_unified_isos.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_util.py Resolve container tags to digests 2025-03-31 15:00:40 +02:00
test_variant_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00