[kolla] skipping base if already exist

Radosław Piliszek radoslaw.piliszek at gmail.com
Mon Oct 4 07:18:53 UTC 2021


On Mon, 4 Oct 2021 at 07:24, Sam Morrison <sorrison at gmail.com> wrote:
>
> Hi,
>
> We’ve started to use kolla to build container images and trying to figure out if I’m doing it wrong it it’s just not how kolla works.
>
> What I’m trying to do it not rebuild the base and openstack-base images when we build an image for a project.
>
> Example.
>
> We build a horizon image and it builds and pushes up to our registry the following
>
> kolla/ubuntu-source-base
> kolla/ubuntu-source-openstack-base
> kolla/ubuntu-source-horizon
>
>
> Now I can rebuild this without having to again build the base images with
>
> —skip parents
>
>
> But now I want to build a barbican image and I can’t use skip-parents as the barbican image also requires barbican-base. Which means I need to go and rebuild the ubuntu base and Openstack base images again.
>
> Is there a way to essentially skip parents but only if they don’t exist in the registry already? Or make skip-parents only mean skip base and Openstack-base?

You might then be interested in --skip-existing

-yoctozepto

>
> Thanks in advance,
> Sam
>
>



More information about the openstack-discuss mailing list