<div dir="ltr">You can run it anywhere you want, it's just a checkout of the kolla-build binary. <div><br></div><div>I did in /opt </div><span class="gmail-im" style="color:rgb(80,0,80)"><div><br></div><div>$ git clone <a href="https://opendev.org/openstack/kolla" target="_blank">https://opendev.org/openstack/kolla</a> -b stable/zed</div><div><br></div></span><div>$ cd /opt/kolla/tools</div><div><br></div><div>$ ./build.py --registry <a href="http://10.10.1.100:4000/" target="_blank">10.10.1.100:4000</a> -b ubuntu -t source --tag zed-1 --template-override template-overrides.j2 horizon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 12:46 PM wodel youchi <<a href="mailto:wodel.youchi@gmail.com">wodel.youchi@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="auto">Hi,<div dir="auto"><br></div><div dir="auto">Thanks for all these details.</div><div dir="auto">I am using a virtual environment for kolla-build in my home directory, where should I execute the git command in the root path of my home dir or inside the venv?</div><div dir="auto">And if in the venv, where?<br><div dir="auto"><br></div><div dir="auto">Regards.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023, 17:07 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">This is what you should do. someone correct me if I'm wrong. <div><br></div><div>## If you looking for stable release then use following, otherwise you can checkout specific tag also like 14.x.x </div><div>$ git clone <a href="https://opendev.org/openstack/kolla" rel="noreferrer" target="_blank">https://opendev.org/openstack/kolla</a> -b stable/zed</div><div><br></div><div>## Example to build multiple images or specific. </div><div>$ kolla-build --registry <a href="http://10.10.1.100:4000" rel="noreferrer" target="_blank">10.10.1.100:4000</a> -b ubuntu -t source -T 16 --tag zed fluentd kolla-toolbox cron chrony memcached mariadb rabbitmq dnsmasq keepalived haproxy</div><div><br></div><div>## If you want to customize image do following, Create template-overrides.j2 file and add following (In my example its horizon)</div><div><br></div><font face="monospace">{% extends parent_template %}<br><br># Horizon<br>{% block horizon_ubuntu_source_setup %}<br>RUN apt update -y<br>RUN apt install -y net-tools vim<br>RUN touch /root/foobar.txt<br>{% endblock %}</font><div><br></div><div>## Run to build a custom horizon image. </div><div>$ kolla-build --registry <a href="http://10.10.1.100:4000" rel="noreferrer" target="_blank">10.10.1.100:4000</a> -b ubuntu -t source --tag zed-1 --template-override template-overrides.j2 horizon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 8:59 AM wodel youchi <<a href="mailto:wodel.youchi@gmail.com" rel="noreferrer" target="_blank">wodel.youchi@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"><div>Thanks,</div><div><br></div><div>How can I be sure to be building containers for the right branch? should I use <b>--openstack-release yoga</b> with the command?<br></div><div><br></div><div>Regards.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 16 mai 2023 à 11:16, Maksim Malchuk <<a href="mailto:maksim.malchuk@gmail.com" rel="noreferrer" target="_blank">maksim.malchuk@gmail.com</a>> a écrit :<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 Wodel,<div><br></div><div>In your case don't use kolla<14 version. Use the same version or newer version to build containers.</div><div>Use the official documentation: <a href="https://docs.openstack.org/kolla/latest/admin/image-building.html" rel="noreferrer" target="_blank">https://docs.openstack.org/kolla/latest/admin/image-building.html</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 11:52 AM wodel youchi <<a href="mailto:wodel.youchi@gmail.com" rel="noreferrer" target="_blank">wodel.youchi@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="auto">Hi,<div dir="auto"><br></div><div dir="auto">Could you help me understand the process of building kolla containers from source?</div><div dir="auto"><br></div><div dir="auto">I am not a developer but I want to be to build containers rapidly especially when there is an urgent patch.</div><div dir="auto"><br></div><div dir="auto">I am using Yoga branch which is the 14th version, do I need to use the same version of kolla-build to build containers or it matters not?</div><div dir="auto"><br></div><div dir="auto"><br><div dir="auto"><br></div><div dir="auto">Regards.</div></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>
</blockquote></div>
</blockquote></div>