pungi/tests
Jan Kaluza 5395af416c Allow reusing old buildinstall phase results.
New `buildinstall.metadata` file is created once the buildinstall
phase is done. This file contains:

- list of lorax command line arguments.
- list of RPMs installed in the buildinstall buildroot.
- list of RPMs installed in the resulting boot.iso.

This file is checked in the next compose run to find out if
the result of buildinstall phase from the previous compose
can be reused. Following is checked:

- lorax commandline arguments are the same (except of expected
  differences).
- The NVRAs of RPMs in the runroot_tag are the same as the ones
  installed in the old buildinstall buildroot.
- The NVRAs of RPMs installed in the boot.iso are the same as
  the ones in package sets in the current compose.

By its implementation, this reuse strategy is used only if
pungi_buildinstall Koji plugin is used.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>

Add tests for buildinstall reuse and buildinstall_allow_reuse option.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-04-17 11:37:13 +00:00
..
data Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
fixtures gather: Resolve dependencies of debug packages 2019-10-03 10:46:21 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Allow reusing old buildinstall phase results. 2020-04-17 11:37:13 +00: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 Allow reusing old buildinstall phase results. 2020-04-17 11:37:13 +00:00
test_checks.py Fix formatting issues 2020-02-07 16:16:20 +08:00
test_compose.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Fix flake8 complaints - E501 2020-02-07 14:36:46 +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 Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Add Compose.old_compose_path and use it when searching for files in old compose. 2020-03-09 12:47:23 +01:00
test_extra_files_phase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_extra_isos_phase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_fus_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather.py gather: Make additional_packages accept debuginfo packages 2020-02-12 16:38:08 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py Allow reusing old buildinstall phase results. 2020-04-17 11:37:13 +00: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_imagebuildphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_imagechecksumphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_initphase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_lorax_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_installer_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08: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 Reuse arch pkgset repos 2020-03-31 13:32:12 +08:00
test_pkgset_pkgsets.py pkgset: Reuse pkgset repos 2020-03-13 17:29:53 +08:00
test_pkgset_source_koji.py pkgset: Reuse pkgset repos 2020-03-13 17:29:53 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_scm.py Get non-rpm build to pungi's extra_files with inheritance 2020-03-20 13:19:57 +08:00
test_test_phase.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_unified_isos.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_util.py Do not skip symlinks when searching for old compose. 2020-03-06 09:03:10 +00:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00