The utility for building of AlmaLinux distributions (repos, ISO images).
Go to file
Lubomír Sedlář 059449e140 koji-wrapper: Run koji runroot with fresh credentials cache
If the koji profile we are using is configured to use keytab, we should
run koji executable with a fresh credentials cache. Otherwise we risk a
race condition as multiple processes will trample over the same
directory in /tmp/krbcc_0.

This is currently only implemented for calling `koji runroot`. We might
need to do it for other commands as well (currently there is a sleep to
avoid the race condition for other commands).

Fixes: https://pagure.io/releng/issue/6715
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-04-25 15:45:00 +02:00
bin Explicitly remove all temporary files 2017-03-24 09:24:49 +01:00
contrib/yum-dnf-compare Add scripts to compare YUM and DNF gathering 2017-03-24 09:24:46 +01:00
doc osbs: Make git_branch required option 2017-04-24 10:05:25 +02:00
pungi koji-wrapper: Run koji runroot with fresh credentials cache 2017-04-25 15:45:00 +02:00
pungi_utils unified-iso: Use different type for debuginfo iso 2017-04-06 09:08:08 +02:00
share Add support for modular composes 2017-03-22 15:55:52 +01:00
tests koji-wrapper: Run koji runroot with fresh credentials cache 2017-04-25 15:45:00 +02:00
.gitignore Update makefile targets for testing 2016-02-23 13:03:11 +01:00
AUTHORS extra-files: Write a metadata file enumerating extra files 2016-09-07 13:02:48 +02:00
COPYING Remove FSF address from comments 2016-09-23 10:26:43 +02:00
GPL Update GPL to latest version from https://www.gnu.org/licenses/gpl-2.0.txt 2015-06-25 07:50:03 -04:00
MANIFEST.in Make MANIFEST.in stricter 2017-03-03 14:01:50 +08:00
Makefile Extract only first version from specfile 2017-03-06 09:08:13 +01:00
README.md Add README 2016-03-08 16:38:40 +01:00
RELEASE-NOTES Rename product_* to release_*. 2015-07-09 06:58:30 -04:00
TODO Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00
git-changelog Allow running scripts with any python in PATH 2015-11-27 08:38:47 +01:00
pungi.spec comps-wrapper: Port to libcomps 2017-04-13 11:45:23 +02:00
setup.py 4.1.14 release 2017-03-27 18:04:26 +02:00
tox.ini Update tox.ini 2017-01-11 14:37:41 +01:00

README.md

Pungi

Pungi is a distribution compose tool.

Composes are release snapshots that contain release deliverables such as:

  • installation trees
    • RPMs
    • repodata
    • comps
  • (bootable) ISOs
  • kickstart trees
    • anaconda images
    • images for PXE boot

Tool overview

Pungi consists of multiple separate executables backed by a common library.

The main entry-point is the pungi-koji script. It loads the compose configuration and kicks off the process. Composing itself is done in phases. Each phase is responsible for generating some artifacts on disk and updating the compose object that is threaded through all the phases.

Pungi itself does not actually do that much. Most of the actual work is delegated to separate executables. Pungi just makes sure that all the commands are invoked in the appropriate order and with correct arguments. It also moves the artifacts to correct locations.