RFE: Skip building images that have already been built
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Wishlist
|
Martin André |
Bug Description
kolla-build has a parameter 'skip_parents' that will effectively skip all parent layers, regardless if they have been built or not, and only build the specified image.
However, if the parent layers have not been built prior, the build for the specified image will fail because it is missing it's parent layers.
The behavior I'd like to achieve is to get kolla-build to skip containers (parent layers) *only* if they have already been built.
This is in the context of a use case where I specify a list of "end" images to build, ex:
- aodh-api
- aodh-evaluator:
- aodh-listener
- aodh-notifier
But I don't want kolla-build to try to rebuild binary-
This would end up being a parameter, something like "skip_existing" which would build the images if they have not been built yet but otherwise skip the build.
Adding this importance to the wishlist, as this is not affecting any exiting functionality, it can be consider as a an enhancement.