Currently, mini-mirror honors per-source configuration files for the
creation of mirrors and publishing; however, some options exposed by
Aptly have a different impact depending on the operation. This commit
removes the per-source configuration file option from the publishing
process and defaults to the aptly config file supplied for all sources
in order to circumvent this issue.
Current mini-mirror images are build using a single Aptly config file
provided at build time. In some cases, it may be desirable to provide an
Aptly configuration file for each source to change the behavior of a
single mirror. This commit introduces support for providing an Aptly
configuration file for each individual source. The config file should be
named aptly.conf and placed in the root source path.
Now that openstack-infra has new roles to build/upload/promote
artifacts from gating, we are making use of them as much as we can.
Mini-mirror was also changed:
- It was wrongly affiliated to SUSE, so that Copyright line was removed.
- The docker file was incorrectly named, and was therefore renamed for
The LOCI jobs were not updated, and will be part of another commit.
mini-mirror: Add support for multi-dist publishing
Currently, mini-mirror combines all source distributions into a single
distribution and component when publishing. This commit changes the
publishing behavior of mini-mirror to separate distributions and
components for all published mirrors.