pungi/tests
Lubomír Sedlář ac66c3d7f3 createiso: Allow reusing old images
This patch allows Pungi to reuse ISO image created in previous compose
if a list of assumptions proves to hold:

 * If image is bootable, buildinstall phase must have been reused too.
 * Compose configuration must have not changed (except for a few
   whitelisted options).
 * Volume ID of the ISO much not have changed.
 * No RPM on the ISO must have changed.

The ISO also contains other files. Changes in extra files and product ID
certificates should be visible in configuration (the SHA will differ).
Similarly any repodata configuration would be reflected in
configuration.

JIRA: RHELCMP-5969
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-11-02 07:08:00 +00:00
..
data Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
fixtures Supersede ModuleStream loading with ModuleIndex 2021-08-12 16:32:38 +02:00
Dockerfile-test Install missing deps in ci image 2021-08-17 12:01:51 +08:00
Dockerfile-test-py2 Install missing deps in ci image 2021-08-17 12:01:51 +08:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Make getting old compose config reusable 2021-09-09 10:38:34 +02:00
test_arch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_arguments.py Format tests with black 2020-02-05 17:29:15 +08:00
test_buildinstall.py Updated the deprecated ks argument name (to the current inst.ks) 2021-04-21 21:04:01 +03:00
test_checks.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_compose.py Store extended traceback for gather errors 2021-02-17 11:11:26 +01:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config.py Format code 2021-03-02 18:31:45 +08:00
test_config_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_validate_script.py Fix formatting issues 2020-02-07 16:16:20 +08:00
test_createiso_phase.py createiso: Allow reusing old images 2021-11-02 07:08:00 +00:00
test_createiso_script.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py Fix tests for createrepo 2021-08-30 13:48:29 +02:00
test_extra_files_phase.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_extra_isos_phase.py Format code 2021-03-02 18:31:45 +08:00
test_fus_wrapper.py Format code 2021-03-02 18:31:45 +08:00
test_gather.py Format code 2021-03-02 18:31:45 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py hybrid: Optimize getting lookaside packages 2021-04-15 11:02:04 +02:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py Make getting old compose config reusable 2021-09-09 10:38:34 +02:00
test_gather_source_module.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_image_container_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_imagebuildphase.py image_build: Allow reusing old image_build results 2021-10-20 14:07:02 +08:00
test_imagechecksumphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_initphase.py Stop copying .git directory with module defaults 2021-01-14 10:36:38 +08:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py Remove default runroot channel 2021-10-25 15:56:24 +02:00
test_linker.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_liveimagesphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_livemediaphase.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_metadata.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_notifier.py notification: Add compose_path into the messages 2020-06-09 06:40:26 +00:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py Add missing mock to osbs tests 2021-10-21 13:34:37 +02:00
test_osbuild_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_ostree_installer_phase.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_phase.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_script.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_patch_iso.py tests: Fix mock usage for Python 2 2020-09-25 12:41:05 +02:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_pkgset_common.py Allow test calls in any order 2020-07-08 08:26:59 +02: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 pkgset: Fix meaning of retries 2021-02-23 16:01:41 +01:00
test_pkgset_source_koji.py Supersede ModuleStream loading with ModuleIndex 2021-08-12 16:32:38 +02:00
test_repoclosure_phase.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_repoclosure_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_runroot.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
test_scm.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_test_phase.py Format code 2021-03-02 18:31:45 +08:00
test_unified_isos.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_util.py util: Strip file:// from local urls 2021-05-06 12:37:55 +02:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00