Images should include signed bits, so we need to block the compose until
the commit is signed.
Related: https://pagure.io/pungi/issue/650
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 968f8fdf5222696c2b075a0325c844032ba8d427)
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
The nightly scripts try to send an announcement about compose starting.
As this happens before Pungi even started, the compose ID is not known
and can not be included in the message. The message about starting rsync
sent later will contain the ID correctly.
Without the json defined there is a traceback in the cron output, but
the errors are not logged anywhere else (but don't actually block
anything in the compose process).
Relates: https://pagure.io/pungi/issue/698
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
Fedora Atomic WG has decided to move from the "docker" namespace to
the "container" namespace for the sake of making it more generic in
order to target all OCI Compliant container runtimes instead of
a specific implementation. This update changes what is necessary for
to the base image metadata as well as add a transitional second call
to handle both the docker and container namespace for block_retired.
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
Need to have an extra call to the block_retired.py releng script in
order to also handle the docker namespace of "packages" from pkgdb
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This will copy source packages as well when splitting the compose. All
stuff going to /pub/fedora will have sources.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
aarch64 and i386 to fedora-secondary
armhfp and x86_64 to alt for Cloud and Labs
everything else to /pub/fedora
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This requires compose-utils >= 0.1.7.
Currently only primary architectures are composed based on this config.
Once other arches are added, they can be filtered with `--arch` option.
To debug what will happen when the command is run, add `--dry-run`. It
will print the exact rsync commands that would be used. Appending `--
--dry-run` at the end of the command will pass the option to rsync and
give different debugging information.
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
the rm -rf is needed to clean up the directories -delete gives us
find: cannot delete '/mnt/koji/compose/rawhide/Fedora-Rawhide-20160512.n.0/compose': Directory not empty
find: cannot delete '/mnt/koji/compose/rawhide/Fedora-Rawhide-20160512.n.0/logs': Directory not empty
Revert "Use -delete instead of -exec rm it's quicker because it doesn't fork for every file"
This reverts commit 1b80cae9318a3505ecc675d0d6514600f73ee3e4.
Signed-off-by: Dennis Gilmore <dennis@ausil.us>