<div dir="ltr">That was example, I took from here - <a href="https://docs.openstack.org/kolla/latest/admin/image-building.html">https://docs.openstack.org/kolla/latest/admin/image-building.html</a><div><br></div><div><br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 2:02 PM Maksim Malchuk <<a href="mailto:maksim.malchuk@gmail.com">maksim.malchuk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yes, you can do that, but note bene mitaka not supported.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 9:01 PM Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank Maksim,<div><br></div><div>Like the following example? For reference, can I pass commit hash? </div><div><br></div><div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue""><b>[keystone-base]</b></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">type = git</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">location = <a href="https://opendev.org/openstack/keystone" target="_blank">https://opendev.org/openstack/keystone</a></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue"">reference = stable/mitaka</p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 1:43 PM Maksim Malchuk <<a href="mailto:maksim.malchuk@gmail.com" target="_blank">maksim.malchuk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Satish,<div><br></div><div>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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 17, 2023 at 7:30 PM Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Folks,<br><div><br></div><div>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? </div><div><br></div><div>I am reading at [1] and didn't see any example to patch Image for any bug. </div><div><br></div><div>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? </div><div><br></div><div>[1] <a href="https://docs.openstack.org/kolla/latest/admin/image-building.html" target="_blank">https://docs.openstack.org/kolla/latest/admin/image-building.html</a> </div></div>
</blockquote></div><br clear="all"><div><br></div><span>-- </span><br><div dir="ltr"><div dir="ltr"><div style="font-family:arial;font-size:small">Regards,<br></div><div style="font-family:arial;font-size:small">Maksim Malchuk</div><div style="font-family:arial;font-size:small"><br></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div><span>-- </span><br><div dir="ltr"><div dir="ltr"><div style="font-family:arial;font-size:small">Regards,<br></div><div style="font-family:arial;font-size:small">Maksim Malchuk</div><div style="font-family:arial;font-size:small"><br></div></div></div>
</blockquote></div>