[kolla] How to patch images during build

Maksim Malchuk maksim.malchuk at gmail.com
Wed May 17 18:02:02 UTC 2023


Yes, you can do that, but note bene mitaka not supported.

On Wed, May 17, 2023 at 9:01 PM Satish Patel <satish.txt at gmail.com> wrote:

> Thank Maksim,
>
> Like the following example? For reference, can I pass commit hash?
>
> *[keystone-base]*
>
> type = git
>
> location = https://opendev.org/openstack/keystone
>
> reference = stable/mitaka
>
> On Wed, May 17, 2023 at 1:43 PM Maksim Malchuk <maksim.malchuk at gmail.com>
> wrote:
>
>> Hi Satish,
>>
>> The correct way to apply bugfix is build the image from the git source.
>> Commit bugfix changes to the git, and build from the bugfix branch for
>> example.
>>
>> On Wed, May 17, 2023 at 7:30 PM Satish Patel <satish.txt at gmail.com>
>> wrote:
>>
>>> Folks,
>>>
>>> I'm using kolla-build to build all images and push them to the local
>>> repo. So far all good but let's say If in future for some reason I want to
>>> patch some bug and rebuild the image in that case how do i patch kolla
>>> images?
>>>
>>> I am reading at [1] and didn't see any example to patch Image for any
>>> bug.
>>>
>>> Should I be downloading tarball and patch it and then use type=local to
>>> build the image from local source or add patch to Dockerfile? What people
>>> use for best practice for this kind of thing?
>>>
>>> [1] https://docs.openstack.org/kolla/latest/admin/image-building.html
>>>
>>
>>
>> --
>> Regards,
>> Maksim Malchuk
>>
>>

-- 
Regards,
Maksim Malchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230517/4178f51a/attachment-0001.htm>


More information about the openstack-discuss mailing list